Lines Matching defs:command
37 * Utility functions: issue a PNIC command, retrieve result. Use
48 static uint16_t pnic_command_quiet ( struct nic *nic, uint16_t command,
64 /* Write command */
65 outw ( command, nic->ioaddr + PNIC_REG_CMD );
73 "returned (expected %d, got %d)\n", command,
82 "(have %d, need %d)\n", command,
95 static uint16_t pnic_command ( struct nic *nic, uint16_t command,
100 uint16_t status = pnic_command_quiet ( nic, command,
105 printf ( "PNIC command %#hx (len %#hx) failed with status %#hx\n",
106 command, input_length, status );