/drivers/media/video/s5p-mfc/ |
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/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:__anon763
|
H A D | svga_overlay.h | 91 uint32 command; member in struct:__anon768
|
/drivers/misc/ibmasm/ |
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 | r_heartbeat.c | 33 /* the reverse heartbeat dot command */ 37 unsigned char command[3]; member in struct:__anon1729 45 .command = { 4, 3, 6 } 57 * Loop forever, sending a reverse heartbeat dot command to the service 63 struct command *cmd;
|
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...] |
/drivers/ide/ |
H A D | ide-pci-generic.c | 139 u16 command; local 140 pci_read_config_word(dev, PCI_COMMAND, &command); 141 if (!(command & PCI_COMMAND_IO)) {
|
/drivers/input/mouse/ |
H A D | touchkit_ps2.c | 73 int command; local 77 command = TOUCHKIT_SEND_PARMS(2, 3, TOUCHKIT_CMD); 79 if (ps2_command(&psmouse->ps2dev, param, command))
|
/drivers/media/rc/ |
H A D | ir-rc5-sz-decoder.c | 48 u8 toggle, command, system; local 110 command = (data->bits & 0x0003F) >> 0; 113 scancode = system << 6 | command;
|
H A D | ir-rc5-decoder.c | 130 u8 xdata, command, system; local 132 command = (data->bits & 0x00FC0) >> 6; 135 command += (data->bits & 0x01000) ? 0 : 0x40; 136 scancode = system << 16 | command << 8 | xdata; 143 u8 command, system; local 144 command = (data->bits & 0x0003F) >> 0; 147 command += (data->bits & 0x01000) ? 0 : 0x40; 148 scancode = system << 8 | command;
|
/drivers/media/video/au0828/ |
H A D | au0828-cards.c | 124 int au0828_tuner_callback(void *priv, int component, int command, int arg) argument 135 if (command == 0) { 145 "%s(): Unknown command.\n", __func__);
|
/drivers/staging/iio/adc/ |
H A D | ad7298_ring.c | 34 unsigned short command; local 51 command = AD7298_WRITE | st->ext_ref; 55 command |= m; 57 st->tx_buf[0] = cpu_to_be16(command);
|
/drivers/usb/wusbcore/ |
H A D | dev-sysfs.c | 37 unsigned command; local 40 if (sscanf(buf, "%u", &command) != 1) 42 if (command == 0)
|
/drivers/i2c/busses/ |
H A D | i2c-amd756-s4882.c | 53 u8 command, int size, 66 command, size, data); 81 u8 command, int size, 106 command, size, data); 115 u8 command, int size, 119 return amd756_access_channel(adap, addr, flags, read_write, command, 125 u8 command, int size, 129 return amd756_access_channel(adap, addr, flags, read_write, command, 135 u8 command, int size, 139 return amd756_access_channel(adap, addr, flags, read_write, command, 51 amd756_access_virt0(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument 79 amd756_access_channel(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data, u8 channels) argument 113 amd756_access_virt1(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument 123 amd756_access_virt2(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument 133 amd756_access_virt3(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument 143 amd756_access_virt4(struct i2c_adapter * adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument [all...] |
H A D | i2c-nforce2-s4985.c | 51 u8 command, int size, 63 command, size, data); 77 u8 command, int size, 101 command, size, data); 110 u8 command, int size, 114 return nforce2_access_channel(adap, addr, flags, read_write, command, 120 u8 command, int size, 124 return nforce2_access_channel(adap, addr, flags, read_write, command, 130 u8 command, int size, 134 return nforce2_access_channel(adap, addr, flags, read_write, command, 49 nforce2_access_virt0(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument 75 nforce2_access_channel(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data, u8 channels) argument 108 nforce2_access_virt1(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument 118 nforce2_access_virt2(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument 128 nforce2_access_virt3(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument 138 nforce2_access_virt4(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument [all...] |
H A D | i2c-sibyte.c | 42 u8 command, int size, union i2c_smbus_data * data) 63 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 69 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 82 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 40 smbus_xfer(struct i2c_adapter *i2c_adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data * data) argument
|
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/i2c/ |
H A D | i2c-mux.c | 61 char read_write, u8 command, 73 read_write, command, size, data); 59 i2c_mux_smbus_xfer(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) argument
|
/drivers/input/serio/ |
H A D | libps2.c | 124 * ps2_adjust_timeout() is called after receiving 1st byte of command 125 * response and tries to reduce remaining timeout to speed up command 129 static int ps2_adjust_timeout(struct ps2dev *ps2dev, int command, int timeout) argument 131 switch (command) { 135 * reset command, reset is thus done, so we can 147 * the GET ID command as it were a mouse, with 148 * a single byte. Fail the command so atkbd will 178 * ps2_command() sends a command and its parameters to the mouse, 184 int __ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command) argument 187 int send = (command >> 1 256 ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command) argument [all...] |
/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/pci/hotplug/ |
H A D | pciehp_pci.c | 120 u16 command; local 150 pci_read_config_word(temp, PCI_COMMAND, &command); 151 command &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_SERR); 152 command |= PCI_COMMAND_INTX_DISABLE; 153 pci_write_config_word(temp, PCI_COMMAND, command);
|
/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/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/staging/usbip/userspace/src/ |
H A D | usbip.c | 2 * command structure borrowed from udev 38 " [help] <command> <args>\n"; 45 struct command { struct 52 static const struct command cmds[] = { 100 const struct command *cmd; 132 static int run_command(const struct command *cmd, int argc, char *argv[]) 134 dbg("running command: `%s'", cmd->name); 186 /* invalid command */
|
/drivers/ata/ |
H A D | ata_generic.c | 166 u16 command; local 197 pci_read_config_word(dev, PCI_COMMAND, &command); 198 if (!(command & PCI_COMMAND_IO))
|