/drivers/scsi/pcmcia/ |
H A D | nsp_debug.c | 12 * Show the command data of a command 88 static void print_commandk (unsigned char *command) argument 92 print_opcodek(command[0]); 94 if ((command[0] >> 5) == 6 || 95 (command[0] >> 5) == 7 ) { 98 s = COMMAND_SIZE(command[0]); 101 printk("%02x ", command[i]); 107 (((unsigned int)command[1] & 0x0f) << 16) | 108 ( (unsigned int)command[ [all...] |
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_intr.h | 21 int command, int interrupt); 22 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
|
H A D | s5p_mfc_intr.c | 5 * This file contains functions used to wait for command completion. 25 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) argument 30 (dev->int_cond && (dev->int_type == command 34 mfc_err("Interrupt (dev->int_type:%d, command:%d) timed out\n", 35 dev->int_type, command); 41 mfc_debug(1, "Finished waiting (dev->int_type:%d, command: %d)\n", 42 dev->int_type, command); 56 int command, int interrupt) 62 (ctx->int_cond && (ctx->int_type == command 67 (ctx->int_cond && (ctx->int_type == command 55 s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, int command, int interrupt) argument [all...] |
/drivers/net/appletalk/ |
H A D | ltpc.h | 19 unsigned char command; member in struct:lt_getresult 24 unsigned char command; member in struct:lt_mem 31 unsigned char command; member in struct:lt_setflags 37 unsigned char command; member in struct:lt_getflags 42 unsigned char command; member in struct:lt_init 48 unsigned char command; member in struct:lt_sendlap 56 unsigned char command; member in struct:lt_rcvlap
|
/drivers/scsi/ |
H A D | nsp32_debug.c | 10 * Show the command data of a command 86 static void print_commandk (unsigned char *command) argument 90 print_opcodek(command[0]); 92 if ((command[0] >> 5) == 6 || 93 (command[0] >> 5) == 7 ) { 96 s = COMMAND_SIZE(command[0]); 100 printk("%02x ", command[i]); 106 (((unsigned int)command[1] & 0x0f) << 16) | 107 ( (unsigned int)command[ [all...] |
/drivers/input/serio/ |
H A D | i8042-jazzio.h | 27 #define I8042_COMMAND_REG ((unsigned long)&jazz_kh->command) 28 #define I8042_STATUS_REG ((unsigned long)&jazz_kh->command) 38 return jazz_kh->command; 48 jazz_kh->command = val;
|
H A D | i8042-ip22io.h | 32 #define I8042_COMMAND_REG ((unsigned long)&sgioc->kbdmouse.command) 33 #define I8042_STATUS_REG ((unsigned long)&sgioc->kbdmouse.command) 43 return sgioc->kbdmouse.command; 53 sgioc->kbdmouse.command = val;
|
/drivers/misc/ibmasm/ |
H A D | dot_command.c | 66 * send the 4.3.5.10 dot command (driver VPD) to the service processor 70 struct command *command; local 76 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); 77 if (command == NULL) 80 header = (struct dot_command_header *)command->buffer; 87 vpd_command = command->buffer + sizeof(struct dot_command_header); 99 ibmasm_exec_command(sp, command); 100 ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); 102 if (command 112 unsigned char command[3]; member in struct:os_state_command [all...] |
H A D | command.c | 34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) 36 struct command *cmd; 41 cmd = kzalloc(sizeof(struct command), GFP_KERNEL); 61 dbg("command count: %d\n", atomic_read(&command_count)); 68 struct command *cmd = to_command(kref); 72 dbg("command count: %d\n", atomic_read(&command_count)); 77 static void enqueue_command(struct service_processor *sp, struct command *cmd) 82 static struct command *dequeue_command(struct service_processor *sp) 84 struct command *cmd; 92 cmd = list_entry(next, struct command, queue_nod [all...] |
H A D | lowlevel.c | 38 struct command *command = sp->current_command; local 44 command_size = get_dot_command_size(command->buffer); 50 memcpy_toio(&message->data, command->buffer, command_size);
|
H A D | ibmasm.h | 90 struct command { struct 99 #define to_command(c) container_of(c, struct command, kref) 102 static inline void command_put(struct command *cmd) 112 static inline void command_get(struct command *cmd) 155 struct command *current_command; 156 struct command *heartbeat; 167 /* command processing */ 168 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size); 169 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd); 170 void ibmasm_wait_for_response(struct command *cm [all...] |
/drivers/net/wireless/bcmdhd/ |
H A D | wl_android.c | 52 * Android private command strings, PLEASE define new private commands here 121 int wl_cfg80211_set_btcoex_dhcp(struct net_device *dev, char *command); 158 static int wl_android_get_link_speed(struct net_device *net, char *command, int total_len) argument 170 bytes_written = snprintf(command, total_len, "LinkSpeed %d", link_speed); 171 DHD_INFO(("%s: command result is %s\n", __FUNCTION__, command)); 175 static int wl_android_get_rssi(struct net_device *net, char *command, int total_len) argument 192 memcpy(command, ssid.SSID, ssid.SSID_len); 195 bytes_written += snprintf(&command[bytes_written], total_len, " rssi %d", rssi); 196 DHD_INFO(("%s: command resul 200 wl_android_set_suspendopt(struct net_device *dev, char *command, int total_len) argument 222 wl_android_set_suspendmode(struct net_device *dev, char *command, int total_len) argument 242 wl_android_get_band(struct net_device *dev, char *command, int total_len) argument 256 wl_android_set_pno_setup(struct net_device *dev, char *command, int total_len) argument 364 wl_android_get_p2p_dev_addr(struct net_device *ndev, char *command, int total_len) argument 449 wl_android_set_fwpath(struct net_device *net, char *command, int total_len) argument 469 char *command = NULL; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-stub.c | 55 char read_write, u8 command, int size, union i2c_smbus_data * data) 80 chip->pointer = command; 83 addr, command); 96 chip->words[command] &= 0xff00; 97 chip->words[command] |= data->byte; 100 addr, data->byte, command); 102 data->byte = chip->words[command] & 0xff; 105 addr, data->byte, command); 107 chip->pointer = command + 1; 114 chip->words[command] 54 stub_xfer(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument [all...] |
/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 88 uint8_t command[4]; member in struct:dataflash 160 uint8_t *command; local 176 x.tx_buf = command = priv->command; 193 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; 194 command[1] = (uint8_t)(pageaddr >> 16); 195 command[2] = (uint8_t)(pageaddr >> 8); 196 command[3] = 0; 200 command[0], command[ 246 uint8_t *command; local 315 uint8_t *command; local [all...] |
H A D | sst25l.c | 98 unsigned char command[2]; local 101 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI; 102 err = spi_write(flash->spi, command, 1); 106 command[0] = SST25L_CMD_EWSR; 107 err = spi_write(flash->spi, command, 1); 111 command[0] = SST25L_CMD_WRSR; 112 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1; 113 err = spi_write(flash->spi, command, 2); 149 unsigned char command[4]; local 156 command[ 220 unsigned char command[4]; local 262 unsigned char command[5]; local [all...] |
/drivers/cpufreq/ |
H A D | speedstep-smi.c | 27 /* speedstep system management interface port/command. 64 u32 command, result, magic, dummy; local 68 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); 71 pr_debug("trying to obtain ownership with command %x at port %x\n", 72 command, smi_port); 81 : "a" (command), "b" (function), "c" (0), "d" (smi_port), 102 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; local 111 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); 113 pr_debug("trying to determine frequencies with command %x at port %x\n", 114 command, smi_por 151 u32 result, state, edi, command, dummy; local 182 unsigned int result = 0, command, new_state, dummy; local [all...] |
/drivers/hid/ |
H A D | hid-roccat-arvo.h | 18 uint8_t command; /* ARVO_COMMAND_MODE_KEY */ member in struct:arvo_mode_key 31 uint8_t command; /* ARVO_COMMAND_KEY_MASK */ member in struct:arvo_key_mask 37 uint8_t command; /* ARVO_COMMAND_ACTUAL_PROFILE */ member in struct:arvo_actual_profile
|
H A D | hid-roccat-kovaplus.h | 18 uint8_t command; /* KOVAPLUS_COMMAND_CONTROL */ member in struct:kovaplus_control 39 uint8_t command; /* KOVAPLUS_COMMAND_ACTUAL_PROFILE */ member in struct:kovaplus_actual_profile 45 uint8_t command; /* KOVAPLUS_COMMAND_PROFILE_SETTINGS */ member in struct:kovaplus_profile_settings 57 uint8_t command; /* KOVAPLUS_COMMAND_PROFILE_BUTTONS */ member in struct:kovaplus_profile_buttons 64 uint8_t command; /* KOVAPLUS_COMMAND_INFO */ member in struct:kovaplus_info 72 uint8_t command; /* KOVAPLUS_COMMAND_A */ member in struct:kovaplus_a
|
H A D | hid-roccat-koneplus.h | 18 uint8_t command; /* KONEPLUS_COMMAND_TALK */ member in struct:koneplus_talk 28 uint8_t command; /* KONEPLUS_COMMAND_CONTROL */ member in struct:koneplus_control 50 uint8_t command; /* KONEPLUS_COMMAND_ACTUAL_PROFILE */ member in struct:koneplus_actual_profile 56 uint8_t command; /* KONEPLUS_COMMAND_PROFILE_SETTINGS */ member in struct:koneplus_profile_settings 78 uint8_t command; /* KONEPLUS_COMMAND_PROFILE_BUTTONS */ member in struct:koneplus_profile_buttons 86 uint8_t command; /* KONEPLUS_COMMAND_MACRO */ member in struct:koneplus_macro 95 uint8_t command; /* KONEPLUS_COMMAND_INFO */ member in struct:koneplus_info 102 uint8_t command; /* KONEPLUS_COMMAND_E */ member in struct:koneplus_e 108 uint8_t command; /* KONEPLUS_COMMAND_SENSOR */ member in struct:koneplus_sensor 114 uint8_t command; /* KONEPLUS_COMMAND_FIRMWARE_WRIT member in struct:koneplus_firmware_write 119 uint8_t command; /* KONEPLUS_COMMAND_FIRMWARE_WRITE_CONTROL */ member in struct:koneplus_firmware_write_control [all...] |
H A D | hid-roccat-pyra.h | 18 uint8_t command; /* PYRA_COMMAND_B */ member in struct:pyra_b 24 uint8_t command; /* PYRA_COMMAND_CONTROL */ member in struct:pyra_control 40 uint8_t command; /* PYRA_COMMAND_SETTINGS */ member in struct:pyra_settings 46 uint8_t command; /* PYRA_COMMAND_PROFILE_SETTINGS */ member in struct:pyra_profile_settings 61 uint8_t command; /* PYRA_COMMAND_PROFILE_BUTTONS */ member in struct:pyra_profile_buttons 69 uint8_t command; /* PYRA_COMMAND_INFO */ member in struct:pyra_info
|
/drivers/misc/eeprom/ |
H A D | eeprom_93cx6.c | 184 u16 command; local 194 command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; 195 eeprom_93cx6_write_bits(eeprom, command, 247 u16 command; local 249 /* start the command */ 252 /* create command to enable/disable */ 254 command = enable ? PCI_EEPROM_EWEN_OPCODE : PCI_EEPROM_EWDS_OPCODE; 255 command <<= (eeprom->width - 2); 257 eeprom_93cx6_write_bits(eeprom, command, 280 u16 command; local [all...] |
/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 110 #define USBAT_ATA_CMD 0x17 /* device command (W) */ 203 * Convenience function to produce an ATA read/write sectors command 294 * Some USBAT-specific commands can only be executed over a command transport 354 unsigned char *command = us->iobuf; local 356 command[0] = 0x40; 357 command[1] = USBAT_CMD_SET_FEAT; 363 command[2] = epp_control; 371 command[3] = external_trigger; 378 command[4] = test_pattern; 382 * in the read/write command 456 unsigned char *command = us->iobuf; local 490 unsigned char *command = us->iobuf; local 538 unsigned char *command = us->iobuf; local 690 unsigned char *command = us->iobuf; local 748 unsigned char *command = us->iobuf; local 790 unsigned char *command = us->iobuf; local 1063 unsigned char command[3] = { 0x01, 0xA0, 0xEC }; local 1125 unsigned char command[7]; local 1216 unsigned char command[7]; local [all...] |
H A D | sddr09.c | 300 /* send vendor interface command (0x41) */ 330 unsigned char *command, 332 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); 342 unsigned char *command = us->iobuf; 345 memset(command, 0, 6); 346 command[1] = LUNBITS; 348 result = sddr09_send_scsi_command(us, command, 6); 363 unsigned char *command = us->iobuf; local 366 memset(command, 0, 12); 367 command[ 329 sddr09_send_scsi_command(struct us_data *us, unsigned char *command, unsigned int command_len) argument 407 unsigned char *command = us->iobuf; local 538 unsigned char *command = us->iobuf; local 590 unsigned char *command = us->iobuf; local 726 unsigned char *command = us->iobuf; local 1086 unsigned char *command = us->iobuf; local [all...] |
/drivers/gpu/drm/vmwgfx/ |
H A D | svga_escape.h | 37 * Namespace IDs for the escape command 48 * minor command number, respectively. 50 * Major command number allocation: 82 uint32 command; member in struct:__anon786
|
/drivers/media/dvb/ttusb-dec/ |
H A D | ttusbdecfe.h | 29 int (*send_command)(struct dvb_frontend* fe, const u8 command,
|