Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c84 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() argument
93 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi()
101 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() argument
108 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed()
112 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() argument
115 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr()
119 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() argument
123 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry()
130 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() argument
134 memcpy(command, net->dev_addr, ETH_ALEN); in android_get_p2p_addr()
[all …]
/drivers/scsi/pcmcia/
Dnsp_debug.c88 static void print_commandk (unsigned char *command) in print_commandk() argument
92 print_opcodek(command[0]); in print_commandk()
94 if ((command[0] >> 5) == 6 || in print_commandk()
95 (command[0] >> 5) == 7 ) { in print_commandk()
98 s = COMMAND_SIZE(command[0]); in print_commandk()
101 printk("%02x ", command[i]); in print_commandk()
107 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk()
108 ( (unsigned int)command[2] << 8) | in print_commandk()
109 ( (unsigned int)command[3] ), in print_commandk()
110 (unsigned int)command[4] in print_commandk()
[all …]
/drivers/scsi/
Dnsp32_debug.c86 static void print_commandk (unsigned char *command) in print_commandk() argument
90 print_opcodek(command[0]); in print_commandk()
92 if ((command[0] >> 5) == 6 || in print_commandk()
93 (command[0] >> 5) == 7 ) { in print_commandk()
96 s = COMMAND_SIZE(command[0]); in print_commandk()
100 printk("%02x ", command[i]); in print_commandk()
106 (((unsigned int)command[1] & 0x0f) << 16) | in print_commandk()
107 ( (unsigned int)command[2] << 8) | in print_commandk()
108 ( (unsigned int)command[3] ), in print_commandk()
109 (unsigned int)command[4] in print_commandk()
[all …]
/drivers/usb/storage/
Dshuttle_usbat.c358 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local
360 command[0] = 0x40; in usbat_set_shuttle_features()
361 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features()
367 command[2] = epp_control; in usbat_set_shuttle_features()
375 command[3] = external_trigger; in usbat_set_shuttle_features()
382 command[4] = test_pattern; in usbat_set_shuttle_features()
388 command[5] = mask_byte; in usbat_set_shuttle_features()
396 command[6] = subcountL; in usbat_set_shuttle_features()
397 command[7] = subcountH; in usbat_set_shuttle_features()
399 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features()
[all …]
Dsddr09.c328 unsigned char *command, in sddr09_send_scsi_command() argument
330 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command()
340 unsigned char *command = us->iobuf;
343 memset(command, 0, 6);
344 command[1] = LUNBITS;
346 result = sddr09_send_scsi_command(us, command, 6);
361 unsigned char *command = us->iobuf; in sddr09_request_sense() local
364 memset(command, 0, 12); in sddr09_request_sense()
365 command[0] = 0x03; in sddr09_request_sense()
366 command[1] = LUNBITS; in sddr09_request_sense()
[all …]
Dsddr55.c142 unsigned char *command = us->iobuf; in sddr55_status() local
147 memset(command, 0, 8); in sddr55_status()
148 command[5] = 0xB0; in sddr55_status()
149 command[7] = 0x80; in sddr55_status()
151 DMA_TO_DEVICE, command, 8); in sddr55_status()
205 unsigned char *command = us->iobuf; in sddr55_read_data() local
253 command[0] = 0; in sddr55_read_data()
254 command[1] = LSB_of(address>>16); in sddr55_read_data()
255 command[2] = LSB_of(address>>8); in sddr55_read_data()
256 command[3] = LSB_of(address); in sddr55_read_data()
[all …]
Ddatafab.c152 unsigned char *command = us->iobuf; in datafab_read_data() local
192 command[0] = 0; in datafab_read_data()
193 command[1] = thistime; in datafab_read_data()
194 command[2] = sector & 0xFF; in datafab_read_data()
195 command[3] = (sector >> 8) & 0xFF; in datafab_read_data()
196 command[4] = (sector >> 16) & 0xFF; in datafab_read_data()
198 command[5] = 0xE0 + (info->lun << 4); in datafab_read_data()
199 command[5] |= (sector >> 24) & 0x0F; in datafab_read_data()
200 command[6] = 0x20; in datafab_read_data()
201 command[7] = 0x01; in datafab_read_data()
[all …]
Djumpshot.c170 unsigned char *command = us->iobuf; in jumpshot_read_data() local
203 command[0] = 0; in jumpshot_read_data()
204 command[1] = thistime; in jumpshot_read_data()
205 command[2] = sector & 0xFF; in jumpshot_read_data()
206 command[3] = (sector >> 8) & 0xFF; in jumpshot_read_data()
207 command[4] = (sector >> 16) & 0xFF; in jumpshot_read_data()
209 command[5] = 0xE0 | ((sector >> 24) & 0x0F); in jumpshot_read_data()
210 command[6] = 0x20; in jumpshot_read_data()
214 0, 0x20, 0, 1, command, 7); in jumpshot_read_data()
247 unsigned char *command = us->iobuf; in jumpshot_write_data() local
[all …]
/drivers/mtd/devices/
Dsst25l.c97 unsigned char command[2]; in sst25l_write_enable() local
100 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI; in sst25l_write_enable()
101 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
105 command[0] = SST25L_CMD_EWSR; in sst25l_write_enable()
106 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
110 command[0] = SST25L_CMD_WRSR; in sst25l_write_enable()
111 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1; in sst25l_write_enable()
112 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
148 unsigned char command[4]; in sst25l_erase_sector() local
155 command[0] = SST25L_CMD_SECTOR_ERASE; in sst25l_erase_sector()
[all …]
Dmtd_dataflash.c91 u8 command[4]; member
159 u8 *command; in dataflash_erase() local
174 x.tx_buf = command = priv->command; in dataflash_erase()
191 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase()
192 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
193 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
194 command[3] = 0; in dataflash_erase()
198 command[0], command[1], command[2], command[3], in dataflash_erase()
244 u8 *command; in dataflash_read() local
254 command = priv->command; in dataflash_read()
[all …]
Dmchp23k256.c70 unsigned char command[MAX_CMD_SIZE]; in mchp23k256_write() local
74 command[0] = MCHP23K256_CMD_WRITE; in mchp23k256_write()
75 mchp23k256_addr2cmd(flash, to, command); in mchp23k256_write()
77 transfer[0].tx_buf = command; in mchp23k256_write()
89 if (retlen && message.actual_length > sizeof(command)) in mchp23k256_write()
90 *retlen += message.actual_length - sizeof(command); in mchp23k256_write()
102 unsigned char command[MAX_CMD_SIZE]; in mchp23k256_read() local
107 command[0] = MCHP23K256_CMD_READ; in mchp23k256_read()
108 mchp23k256_addr2cmd(flash, from, command); in mchp23k256_read()
110 transfer[0].tx_buf = command; in mchp23k256_read()
[all …]
/drivers/misc/ibmasm/
Ddot_command.c70 struct command *command; in ibmasm_send_driver_vpd() local
76 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); in ibmasm_send_driver_vpd()
77 if (command == NULL) in ibmasm_send_driver_vpd()
80 header = (struct dot_command_header *)command->buffer; in ibmasm_send_driver_vpd()
87 vpd_command = command->buffer + sizeof(struct dot_command_header); in ibmasm_send_driver_vpd()
99 ibmasm_exec_command(sp, command); in ibmasm_send_driver_vpd()
100 ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_send_driver_vpd()
102 if (command->status != IBMASM_CMD_COMPLETE) in ibmasm_send_driver_vpd()
105 command_put(command); in ibmasm_send_driver_vpd()
112 unsigned char command[3]; member
[all …]
Dcommand.c34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
36 struct command *cmd; in ibmasm_new_command()
41 cmd = kzalloc(sizeof(struct command), GFP_KERNEL); in ibmasm_new_command()
68 struct command *cmd = to_command(kref); in ibmasm_free_command()
77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
84 struct command *cmd; in dequeue_command()
92 cmd = list_entry(next, struct command, queue_node); in dequeue_command()
119 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
162 void ibmasm_wait_for_response(struct command *cmd, int timeout) in ibmasm_wait_for_response()
[all …]
/drivers/i2c/
Di2c-stub.c73 u8 command; member
100 u8 command, bool create) in stub_find_block() argument
105 if (b->command == command) { in stub_find_block()
114 rb->command = command; in stub_find_block()
133 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
160 chip->pointer = command; in stub_xfer()
163 addr, command); in stub_xfer()
176 wordp = stub_get_wordp(chip, command); in stub_xfer()
182 addr, data->byte, command); in stub_xfer()
185 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
[all …]
Di2c-core-smbus.c128 s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_byte_data() argument
134 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data()
149 s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_byte_data() argument
155 I2C_SMBUS_WRITE, command, in i2c_smbus_write_byte_data()
168 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() argument
174 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data()
189 s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_word_data() argument
195 I2C_SMBUS_WRITE, command, in i2c_smbus_write_word_data()
215 s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command, in i2c_smbus_read_block_data() argument
222 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data()
[all …]
/drivers/usb/misc/
Dftdi-elan.c153 struct u132_command command[COMMAND_SIZE]; member
373 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local
375 command->header = 0x80 | (ed_number << 5) | 0x4; in ftdi_elan_flush_targets()
376 command->length = 0x00; in ftdi_elan_flush_targets()
377 command->address = 0x00; in ftdi_elan_flush_targets()
378 command->width = 0x00; in ftdi_elan_flush_targets()
379 command->follows = 0; in ftdi_elan_flush_targets()
380 command->value = 0; in ftdi_elan_flush_targets()
381 command->buffer = &command->value; in ftdi_elan_flush_targets()
395 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local
[all …]
/drivers/cpufreq/
Dspeedstep-smi.c66 u32 command, result, magic, dummy; in speedstep_smi_ownership() local
70 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_smi_ownership()
74 command, smi_port); in speedstep_smi_ownership()
83 : "a" (command), "b" (function), "c" (0), "d" (smi_port), in speedstep_smi_ownership()
104 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; in speedstep_smi_get_freqs() local
113 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_smi_get_freqs()
116 command, smi_port); in speedstep_smi_get_freqs()
126 : "a" (command), in speedstep_smi_get_freqs()
152 unsigned int result = 0, command, new_state, dummy; in speedstep_set_state() local
164 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_set_state()
[all …]
/drivers/media/platform/s5p-mfc/
Ds5p_mfc_intr.c24 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) in s5p_mfc_wait_for_done_dev() argument
29 (dev->int_cond && (dev->int_type == command in s5p_mfc_wait_for_done_dev()
34 dev->int_type, command); in s5p_mfc_wait_for_done_dev()
41 dev->int_type, command); in s5p_mfc_wait_for_done_dev()
55 int command, int interrupt) in s5p_mfc_wait_for_done_ctx() argument
61 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
66 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
72 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
79 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
/drivers/misc/eeprom/
Deeprom_93cx6.c184 u16 command; in eeprom_93cx6_read() local
194 command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; in eeprom_93cx6_read()
195 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_read()
249 u16 command; in eeprom_93cx6_readb() local
260 command = (PCI_EEPROM_READ_OPCODE << (eeprom->width + 1)) | byte; in eeprom_93cx6_readb()
261 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_readb()
307 u16 command; in eeprom_93cx6_wren() local
314 command = enable ? PCI_EEPROM_EWEN_OPCODE : PCI_EEPROM_EWDS_OPCODE; in eeprom_93cx6_wren()
315 command <<= (eeprom->width - 2); in eeprom_93cx6_wren()
317 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_wren()
[all …]
/drivers/acpi/acpica/
Ddbhistry.c55 char *command; member
90 if (acpi_gbl_history_buffer[acpi_gbl_next_history_index].command != in acpi_db_add_to_history()
95 command); in acpi_db_add_to_history()
99 [acpi_gbl_next_history_index].command); in acpi_db_add_to_history()
101 command = acpi_os_allocate(cmd_len + 1); in acpi_db_add_to_history()
104 acpi_gbl_history_buffer[acpi_gbl_next_history_index].command = in acpi_db_add_to_history()
108 strcpy(acpi_gbl_history_buffer[acpi_gbl_next_history_index].command, in acpi_db_add_to_history()
157 if (acpi_gbl_history_buffer[history_index].command) { in acpi_db_display_history()
162 command); in acpi_db_display_history()
226 return (acpi_gbl_history_buffer[history_index].command); in acpi_db_get_history_by_index()
/drivers/media/rc/
Dir-rc5-decoder.c126 u8 xdata, command, system; in ir_rc5_decode() local
132 command = (data->bits & 0x00FC0) >> 6; in ir_rc5_decode()
135 command += (data->bits & 0x40000) ? 0 : 0x40; in ir_rc5_decode()
136 scancode = system << 16 | command << 8 | xdata; in ir_rc5_decode()
141 u8 command, system; in ir_rc5_decode() local
146 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
149 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode()
150 scancode = system << 8 | command; in ir_rc5_decode()
155 u8 command, system; in ir_rc5_decode() local
160 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
[all …]
/drivers/net/wireless/marvell/mwifiex/
DREADME41 This command will trigger a scan.
42 The command will then display the scan table entries
45 The above command can be used to connect to an AP with a particular SSID.
47 WEP encryption, wep keys can be specified in the command.
48 …Note: Every time before connecting to an AP scan command (iw dev mlan0 scan) should be used by use…
51 This command will be used to disconnect from an AP.
55 The command will be used to join or create an ibss. Optionally, operating frequency,
60 The command will be used to leave an ibss network.
63 The command will be used to get the connection status. The command will return parameters
83 The command will be used to change the regulatory domain.
[all …]
/drivers/net/ieee802154/
Dca8210.c651 u8 *command,
1112 struct mac_message command, response; in tdme_setsfr_request_sync() local
1115 command.command_id = SPI_TDME_SETSFR_REQUEST; in tdme_setsfr_request_sync()
1116 command.length = 3; in tdme_setsfr_request_sync()
1117 command.pdata.tdme_set_sfr_req.sfr_page = sfr_page; in tdme_setsfr_request_sync()
1118 command.pdata.tdme_set_sfr_req.sfr_address = sfr_address; in tdme_setsfr_request_sync()
1119 command.pdata.tdme_set_sfr_req.sfr_value = sfr_value; in tdme_setsfr_request_sync()
1122 &command.command_id, in tdme_setsfr_request_sync()
1123 command.length + 2, in tdme_setsfr_request_sync()
1484 struct mac_message command; in mcps_data_request() local
[all …]
/drivers/net/appletalk/
Dltpc.h20 unsigned char command; member
25 unsigned char command; member
32 unsigned char command; member
38 unsigned char command; member
43 unsigned char command; member
49 unsigned char command; member
57 unsigned char command; member
/drivers/staging/irda/net/
Dirlap_frame.c48 int command);
316 __u8 command, discovery_t *discovery) in irlap_send_discovery_xid_frame() argument
324 s, S, command); in irlap_send_discovery_xid_frame()
338 if (command) { in irlap_send_discovery_xid_frame()
349 if (command) in irlap_send_discovery_xid_frame()
380 if (!command || (frame->slotnr == 0xff)) { in irlap_send_discovery_xid_frame()
581 void irlap_send_rr_frame(struct irlap_cb *self, int command) in irlap_send_rr_frame() argument
593 frame->caddr |= (command) ? CMD_FRAME : 0; in irlap_send_rr_frame()
632 struct irlap_info *info, int command) in irlap_recv_rr_frame() argument
637 if (command) in irlap_recv_rr_frame()
[all …]

12345678910>>...32