Searched refs:command (Results 1 - 25 of 654) sorted by relevance

1234567891011>>

/drivers/scsi/pcmcia/
H A Dnsp_debug.c12 * 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/platform/s5p-mfc/
H A Ds5p_mfc_intr.h21 int command, int interrupt);
22 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
H A Ds5p_mfc_intr.c5 * 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/rtl8188eu/os_dep/
H A Drtw_android.c88 static int rtw_android_get_rssi(struct net_device *net, char *command, argument
97 bytes_written += snprintf(&command[bytes_written], total_len,
105 static int rtw_android_get_link_speed(struct net_device *net, char *command, argument
112 return snprintf(command, total_len, "LinkSpeed %d",
116 static int rtw_android_get_macaddr(struct net_device *net, char *command, argument
119 return snprintf(command, total_len, "Macaddr = %pM",
123 static int android_set_cntry(struct net_device *net, char *command, argument
127 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1;
134 static int android_get_p2p_addr(struct net_device *net, char *command, argument
138 memcpy(command, ne
142 rtw_android_set_block(struct net_device *net, char *command, int total_len) argument
151 char *command = NULL; local
[all...]
/drivers/net/appletalk/
H A Dltpc.h19 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 Dnsp32_debug.c10 * 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 Di8042-jazzio.h27 #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 Di8042-ip22io.h32 #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;
H A Dlibps2.c123 * 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/misc/ibmasm/
H A Ddot_command.c66 * 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 Dcommand.c34 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 Dlowlevel.c38 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 Dibmasm.h90 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/i2c/
H A Di2c-stub.c72 u8 command; member in struct:smbus_block_data
99 u8 command, bool create)
104 if (b->command == command) {
113 rb->command = command;
132 char read_write, u8 command, int size, union i2c_smbus_data *data)
159 chip->pointer = command;
162 addr, command);
175 wordp = stub_get_wordp(chip, command);
97 stub_find_block(struct device *dev, struct stub_chip *chip, u8 command, bool create) argument
131 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 Dmtd_dataflash.c87 uint8_t command[4]; member in struct:dataflash
155 uint8_t *command; local
171 x.tx_buf = command = priv->command;
188 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE;
189 command[1] = (uint8_t)(pageaddr >> 16);
190 command[2] = (uint8_t)(pageaddr >> 8);
191 command[3] = 0;
195 command[0], command[
241 uint8_t *command; local
310 uint8_t *command; local
[all...]
H A Dsst25l.c97 unsigned char command[2]; local
100 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI;
101 err = spi_write(flash->spi, command, 1);
105 command[0] = SST25L_CMD_EWSR;
106 err = spi_write(flash->spi, command, 1);
110 command[0] = SST25L_CMD_WRSR;
111 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1;
112 err = spi_write(flash->spi, command, 2);
148 unsigned char command[4]; local
155 command[
219 unsigned char command[4]; local
261 unsigned char command[5]; local
[all...]
/drivers/hid/
H A Dhid-roccat-arvo.h18 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
/drivers/media/rc/
H A Dir-rc5-decoder.c129 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...]
/drivers/misc/eeprom/
H A Deeprom_93cx6.c184 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 Dshuttle_usbat.c110 #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
691 unsigned char *command = us->iobuf; local
749 unsigned char *command = us->iobuf; local
791 unsigned char *command = us->iobuf; local
1066 unsigned char command[3] = { 0x01, 0xA0, 0xEC }; local
1128 unsigned char command[7]; local
1219 unsigned char command[7]; local
[all...]
H A Dsddr09.c294 /* send vendor interface command (0x41) */
324 unsigned char *command,
326 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len);
336 unsigned char *command = us->iobuf;
339 memset(command, 0, 6);
340 command[1] = LUNBITS;
342 result = sddr09_send_scsi_command(us, command, 6);
357 unsigned char *command = us->iobuf; local
360 memset(command, 0, 12);
361 command[
323 sddr09_send_scsi_command(struct us_data *us, unsigned char *command, unsigned int command_len) argument
401 unsigned char *command = us->iobuf; local
531 unsigned char *command = us->iobuf; local
583 unsigned char *command = us->iobuf; local
719 unsigned char *command = us->iobuf; local
1077 unsigned char *command = us->iobuf; local
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dsvga_escape.h37 * Namespace IDs for the escape command
48 * minor command number, respectively.
50 * Major command number allocation:
82 uint32 command; member in struct:__anon1187
/drivers/media/usb/ttusb-dec/
H A Dttusbdecfe.h29 int (*send_command)(struct dvb_frontend* fe, const u8 command,
/drivers/pci/hotplug/
H A Dpciehp_pci.c83 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/cpufreq/
H A Dspeedstep-smi.c27 /* 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...]

Completed in 6434 milliseconds

1234567891011>>