/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_intr.c | 5 * This file contains functions used to wait for command completion. 24 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) argument 29 (dev->int_cond && (dev->int_type == command 33 mfc_err("Interrupt (dev->int_type:%d, command:%d) timed out\n", 34 dev->int_type, command); 40 mfc_debug(1, "Finished waiting (dev->int_type:%d, command: %d)\n", 41 dev->int_type, command); 55 int command, int interrupt) 61 (ctx->int_cond && (ctx->int_type == command 66 (ctx->int_cond && (ctx->int_type == command 54 s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, int command, int interrupt) argument [all...] |
/drivers/staging/vt6656/ |
H A D | wcmd.c | 21 * Purpose: Handles the management command interface functions 59 priv->command = priv->cmd_queue[priv->cmd_dequeue_idx]; 65 switch (priv->command) { 169 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) argument 175 priv->cmd_queue[priv->cmd_enqueue_idx] = command;
|
/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:__anon1187
|
/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:__anon2592 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/pci/hotplug/ |
H A D | pciehp_pci.c | 83 u16 command; local 118 pci_read_config_word(dev, PCI_COMMAND, &command); 119 command &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_SERR); 120 command |= PCI_COMMAND_INTX_DISABLE; 121 pci_write_config_word(dev, PCI_COMMAND, command);
|
/drivers/hid/ |
H A D | hid-roccat-common.h | 23 uint8_t command; member in struct:roccat_common2_control 33 uint command, void const *buf, uint size); 45 size_t real_size, uint command); 48 size_t real_size, uint command);
|
H A D | hid-roccat-lua.c | 31 size_t real_size, uint command) 45 retval = roccat_common2_receive(usb_dev, command, buf, real_size); 53 size_t real_size, uint command) 64 retval = roccat_common2_send(usb_dev, command, buf, real_size); 29 lua_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) argument 51 lua_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) argument
|
/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/usb/au0828/ |
H A D | au0828-cards.c | 122 int au0828_tuner_callback(void *priv, int component, int command, int arg) argument 133 if (command == 0) { 142 pr_err("%s(): Unknown command.\n", __func__);
|
/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/ata/ |
H A D | ata_generic.c | 165 u16 command; local 196 pci_read_config_word(dev, PCI_COMMAND, &command); 197 if (!(command & PCI_COMMAND_IO))
|
/drivers/i2c/busses/ |
H A D | i2c-amd756-s4882.c | 49 u8 command, int size, 62 command, size, data); 77 u8 command, int size, 102 command, size, data); 111 u8 command, int size, 115 return amd756_access_channel(adap, addr, flags, read_write, command, 121 u8 command, int size, 125 return amd756_access_channel(adap, addr, flags, read_write, command, 131 u8 command, int size, 135 return amd756_access_channel(adap, addr, flags, read_write, command, 47 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 75 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 109 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 119 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 129 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 139 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 | 47 u8 command, int size, 59 command, size, data); 73 u8 command, int size, 97 command, size, data); 106 u8 command, int size, 110 return nforce2_access_channel(adap, addr, flags, read_write, command, 116 u8 command, int size, 120 return nforce2_access_channel(adap, addr, flags, read_write, command, 126 u8 command, int size, 130 return nforce2_access_channel(adap, addr, flags, read_write, command, 45 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 71 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 104 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 114 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 124 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 134 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 | 38 u8 command, int size, union i2c_smbus_data * data) 59 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 65 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 78 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); 36 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
|
/drivers/input/serio/ |
H A D | libps2.c | 123 * ps2_adjust_timeout() is called after receiving 1st byte of command 124 * response and tries to reduce remaining timeout to speed up command 128 static int ps2_adjust_timeout(struct ps2dev *ps2dev, int command, int timeout) argument 130 switch (command) { 134 * reset command, reset is thus done, so we can 146 * the GET ID command as it were a mouse, with 147 * a single byte. Fail the command so atkbd will 177 * ps2_command() sends a command and its parameters to the mouse, 183 int __ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command) argument 186 int send = (command >> 1 255 ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command) argument [all...] |
/drivers/media/rc/ |
H A D | ir-rc5-decoder.c | 129 u8 xdata, command, system; local 135 command = (data->bits & 0x00FC0) >> 6; 138 command += (data->bits & 0x01000) ? 0 : 0x40; 139 scancode = system << 16 | command << 8 | xdata; 144 u8 command, system; local 149 command = (data->bits & 0x0003F) >> 0; 152 command += (data->bits & 0x01000) ? 0 : 0x40; 153 scancode = system << 8 | command; 158 u8 command, system; local 163 command [all...] |
H A D | ir-sanyo-decoder.c | 59 u8 address, command, not_command; local 158 command = bitrev8((data->bits >> 8) & 0xff); 161 if ((command ^ not_command) != 0xff) { 168 scancode = address << 8 | command;
|
H A D | ir-sharp-decoder.c | 49 u32 msg, echo, address, command, scancode; local 149 /* Validate - command, ext, chk should be inverted in 2nd */ 160 command = bitrev8((msg >> 2) & 0xff); 162 scancode = address << 8 | command;
|
/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/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/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 150 unsigned int result = 0, command, new_state, dummy; local [all...] |