Home
last modified time | relevance | path

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

12345678910>>...37

/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.c346 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local
348 command[0] = 0x40; in usbat_set_shuttle_features()
349 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features()
355 command[2] = epp_control; in usbat_set_shuttle_features()
363 command[3] = external_trigger; in usbat_set_shuttle_features()
370 command[4] = test_pattern; in usbat_set_shuttle_features()
376 command[5] = mask_byte; in usbat_set_shuttle_features()
384 command[6] = subcountL; in usbat_set_shuttle_features()
385 command[7] = subcountH; in usbat_set_shuttle_features()
387 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features()
[all …]
Dsddr09.c316 unsigned char *command, in sddr09_send_scsi_command() argument
318 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command()
328 unsigned char *command = us->iobuf;
331 memset(command, 0, 6);
332 command[1] = LUNBITS;
334 result = sddr09_send_scsi_command(us, command, 6);
349 unsigned char *command = us->iobuf; in sddr09_request_sense() local
352 memset(command, 0, 12); in sddr09_request_sense()
353 command[0] = 0x03; in sddr09_request_sense()
354 command[1] = LUNBITS; in sddr09_request_sense()
[all …]
Dsddr55.c130 unsigned char *command = us->iobuf; in sddr55_status() local
135 memset(command, 0, 8); in sddr55_status()
136 command[5] = 0xB0; in sddr55_status()
137 command[7] = 0x80; in sddr55_status()
139 DMA_TO_DEVICE, command, 8); in sddr55_status()
193 unsigned char *command = us->iobuf; in sddr55_read_data() local
241 command[0] = 0; in sddr55_read_data()
242 command[1] = LSB_of(address>>16); in sddr55_read_data()
243 command[2] = LSB_of(address>>8); in sddr55_read_data()
244 command[3] = LSB_of(address); in sddr55_read_data()
[all …]
Ddatafab.c140 unsigned char *command = us->iobuf; in datafab_read_data() local
180 command[0] = 0; in datafab_read_data()
181 command[1] = thistime; in datafab_read_data()
182 command[2] = sector & 0xFF; in datafab_read_data()
183 command[3] = (sector >> 8) & 0xFF; in datafab_read_data()
184 command[4] = (sector >> 16) & 0xFF; in datafab_read_data()
186 command[5] = 0xE0 + (info->lun << 4); in datafab_read_data()
187 command[5] |= (sector >> 24) & 0x0F; in datafab_read_data()
188 command[6] = 0x20; in datafab_read_data()
189 command[7] = 0x01; in datafab_read_data()
[all …]
/drivers/mtd/devices/
Dsst25l.c93 unsigned char command[2]; in sst25l_write_enable() local
96 command[0] = enable ? SST25L_CMD_WREN : SST25L_CMD_WRDI; in sst25l_write_enable()
97 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
101 command[0] = SST25L_CMD_EWSR; in sst25l_write_enable()
102 err = spi_write(flash->spi, command, 1); in sst25l_write_enable()
106 command[0] = SST25L_CMD_WRSR; in sst25l_write_enable()
107 command[1] = enable ? 0 : SST25L_STATUS_BP0 | SST25L_STATUS_BP1; in sst25l_write_enable()
108 err = spi_write(flash->spi, command, 2); in sst25l_write_enable()
144 unsigned char command[4]; in sst25l_erase_sector() local
151 command[0] = SST25L_CMD_SECTOR_ERASE; in sst25l_erase_sector()
[all …]
Dmtd_dataflash.c86 u8 command[4]; member
161 u8 *command; in dataflash_erase() local
176 x.tx_buf = command = priv->command; in dataflash_erase()
193 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase()
194 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
195 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
196 command[3] = 0; in dataflash_erase()
200 command[0], command[1], command[2], command[3], in dataflash_erase()
242 u8 *command; in dataflash_read() local
252 command = priv->command; in dataflash_read()
[all …]
Dmchp23k256.c66 unsigned char command[MAX_CMD_SIZE]; in mchp23k256_write() local
73 command[0] = MCHP23K256_CMD_WRITE; in mchp23k256_write()
74 mchp23k256_addr2cmd(flash, to, command); in mchp23k256_write()
76 transfer[0].tx_buf = command; in mchp23k256_write()
105 unsigned char command[MAX_CMD_SIZE]; in mchp23k256_read() local
113 command[0] = MCHP23K256_CMD_READ; in mchp23k256_read()
114 mchp23k256_addr2cmd(flash, from, command); in mchp23k256_read()
116 transfer[0].tx_buf = command; in mchp23k256_read()
147 unsigned char command[2]; in mchp23k256_set_mode() local
151 command[0] = MCHP23K256_CMD_WRITE_STATUS; in mchp23k256_set_mode()
[all …]
/drivers/i2c/
Di2c-stub.c64 u8 command; member
91 u8 command, bool create) in stub_find_block() argument
96 if (b->command == command) { in stub_find_block()
105 rb->command = command; in stub_find_block()
124 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
151 chip->pointer = command; in stub_xfer()
154 addr, command); in stub_xfer()
167 wordp = stub_get_wordp(chip, command); in stub_xfer()
173 addr, data->byte, command); in stub_xfer()
176 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
[all …]
Di2c-core-smbus.c137 s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_byte_data() argument
143 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data()
158 s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_byte_data() argument
164 I2C_SMBUS_WRITE, command, in i2c_smbus_write_byte_data()
177 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() argument
183 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data()
198 s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_word_data() argument
204 I2C_SMBUS_WRITE, command, in i2c_smbus_write_word_data()
224 s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command, in i2c_smbus_read_block_data() argument
231 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data()
[all …]
/drivers/misc/ibmasm/
Ddot_command.c56 struct command *command; in ibmasm_send_driver_vpd() local
62 command = ibmasm_new_command(sp, INIT_BUFFER_SIZE); in ibmasm_send_driver_vpd()
63 if (command == NULL) in ibmasm_send_driver_vpd()
66 header = (struct dot_command_header *)command->buffer; in ibmasm_send_driver_vpd()
73 vpd_command = command->buffer + sizeof(struct dot_command_header); in ibmasm_send_driver_vpd()
85 ibmasm_exec_command(sp, command); in ibmasm_send_driver_vpd()
86 ibmasm_wait_for_response(command, IBMASM_CMD_TIMEOUT_NORMAL); in ibmasm_send_driver_vpd()
88 if (command->status != IBMASM_CMD_COMPLETE) in ibmasm_send_driver_vpd()
91 command_put(command); in ibmasm_send_driver_vpd()
98 unsigned char command[3]; member
[all …]
Dcommand.c20 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
22 struct command *cmd; in ibmasm_new_command()
27 cmd = kzalloc(sizeof(struct command), GFP_KERNEL); in ibmasm_new_command()
54 struct command *cmd = to_command(kref); in ibmasm_free_command()
63 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
68 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
70 struct command *cmd; in dequeue_command()
78 cmd = list_entry(next, struct command, queue_node); in dequeue_command()
105 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
148 void ibmasm_wait_for_response(struct command *cmd, int timeout) in ibmasm_wait_for_response()
[all …]
/drivers/input/misc/
Dibm-panel.c20 u8 command[11]; member
32 for (i = 0; i < sizeof(panel->command) - 1; ++i) { in ibm_panel_calculate_checksum()
33 sum += panel->command[i]; in ibm_panel_calculate_checksum()
52 if (panel->command[0] != 0xff && panel->command[1] != 0xf0) { in ibm_panel_process_command()
54 panel->command[0], panel->command[1]); in ibm_panel_process_command()
59 if (chksum != panel->command[sizeof(panel->command) - 1]) { in ibm_panel_process_command()
62 panel->command[sizeof(panel->command) - 1]); in ibm_panel_process_command()
66 button = panel->command[2] & 0xf; in ibm_panel_process_command()
69 !(panel->command[2] & 0x80)); in ibm_panel_process_command()
89 if (panel->idx == sizeof(panel->command)) in ibm_panel_i2c_slave_cb()
[all …]
/drivers/net/ethernet/wangxun/ngbe/
Dngbe_mdio.c34 u32 command, val, device_type = 0; in ngbe_phy_read_reg_mdi_c22() local
40 command = WX_MSCA_RA(regnum) | in ngbe_phy_read_reg_mdi_c22()
43 wr32(wx, WX_MSCA, command); in ngbe_phy_read_reg_mdi_c22()
44 command = WX_MSCC_CMD(WX_MSCA_CMD_READ) | in ngbe_phy_read_reg_mdi_c22()
47 wr32(wx, WX_MSCC, command); in ngbe_phy_read_reg_mdi_c22()
62 u32 command, val, device_type = 0; in ngbe_phy_write_reg_mdi_c22() local
68 command = WX_MSCA_RA(regnum) | in ngbe_phy_write_reg_mdi_c22()
71 wr32(wx, WX_MSCA, command); in ngbe_phy_write_reg_mdi_c22()
72 command = value | in ngbe_phy_write_reg_mdi_c22()
76 wr32(wx, WX_MSCC, command); in ngbe_phy_write_reg_mdi_c22()
[all …]
/drivers/usb/typec/ucsi/
Ducsi.c66 static int ucsi_exec_command(struct ucsi *ucsi, u64 command);
174 static int ucsi_send_command_common(struct ucsi *ucsi, u64 command, in ucsi_send_command_common() argument
182 ret = ucsi_exec_command(ucsi, command); in ucsi_send_command_common()
204 int ucsi_send_command(struct ucsi *ucsi, u64 command, in ucsi_send_command() argument
207 return ucsi_send_command_common(ucsi, command, data, size, false); in ucsi_send_command()
279 u64 command; in ucsi_altmode_update_active() local
284 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(con->num); in ucsi_altmode_update_active()
285 ret = ucsi_send_command(con->ucsi, command, &cur, sizeof(cur)); in ucsi_altmode_update_active()
436 u64 command; in ucsi_register_altmodes_nvidia() local
451 command = UCSI_GET_ALTERNATE_MODES; in ucsi_register_altmodes_nvidia()
[all …]
/drivers/cpufreq/
Dspeedstep-smi.c64 u32 command, result, magic, dummy; in speedstep_smi_ownership() local
68 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_smi_ownership()
72 command, smi_port); in speedstep_smi_ownership()
81 : "a" (command), "b" (function), "c" (0), "d" (smi_port), in speedstep_smi_ownership()
102 u32 command, result = 0, edi, high_mhz, low_mhz, dummy; in speedstep_smi_get_freqs() local
111 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_smi_get_freqs()
114 command, smi_port); in speedstep_smi_get_freqs()
124 : "a" (command), in speedstep_smi_get_freqs()
150 unsigned int result = 0, command, new_state, dummy; in speedstep_set_state() local
162 command = (smi_sig & 0xffffff00) | (smi_cmd & 0xff); in speedstep_set_state()
[all …]
/drivers/misc/eeprom/
Deeprom_93cx6.c175 u16 command; in eeprom_93cx6_read() local
185 command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; in eeprom_93cx6_read()
186 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_read()
240 u16 command; in eeprom_93cx6_readb() local
251 command = (PCI_EEPROM_READ_OPCODE << (eeprom->width + 1)) | byte; in eeprom_93cx6_readb()
252 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_readb()
298 u16 command; in eeprom_93cx6_wren() local
305 command = enable ? PCI_EEPROM_EWEN_OPCODE : PCI_EEPROM_EWDS_OPCODE; in eeprom_93cx6_wren()
306 command <<= (eeprom->width - 2); in eeprom_93cx6_wren()
308 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_wren()
[all …]
/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_intr.c21 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command) in s5p_mfc_wait_for_done_dev() argument
26 (dev->int_cond && (dev->int_type == command in s5p_mfc_wait_for_done_dev()
31 dev->int_type, command); in s5p_mfc_wait_for_done_dev()
38 dev->int_type, command); in s5p_mfc_wait_for_done_dev()
52 int command, int interrupt) in s5p_mfc_wait_for_done_ctx() argument
58 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
63 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
69 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
76 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
/drivers/media/rc/
Dir-rc5-decoder.c114 u8 xdata, command, system; in ir_rc5_decode() local
120 command = (data->bits & 0x00FC0) >> 6; in ir_rc5_decode()
123 command += (data->bits & 0x40000) ? 0 : 0x40; in ir_rc5_decode()
124 scancode = system << 16 | command << 8 | xdata; in ir_rc5_decode()
129 u8 command, system; in ir_rc5_decode() local
134 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
137 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode()
138 scancode = system << 8 | command; in ir_rc5_decode()
143 u8 command, system; in ir_rc5_decode() local
148 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
[all …]
/drivers/acpi/acpica/
Ddbhistry.c21 char *command; member
55 if (acpi_gbl_history_buffer[acpi_gbl_next_history_index].command != in acpi_db_add_to_history()
60 command); in acpi_db_add_to_history()
64 [acpi_gbl_next_history_index].command); in acpi_db_add_to_history()
66 command = acpi_os_allocate(cmd_len + 1); in acpi_db_add_to_history()
69 acpi_gbl_history_buffer[acpi_gbl_next_history_index].command = in acpi_db_add_to_history()
73 strcpy(acpi_gbl_history_buffer[acpi_gbl_next_history_index].command, in acpi_db_add_to_history()
122 if (acpi_gbl_history_buffer[history_index].command) { in acpi_db_display_history()
127 command); in acpi_db_display_history()
191 return (acpi_gbl_history_buffer[history_index].command); in acpi_db_get_history_by_index()
/drivers/platform/chrome/
Dcros_ec_trace.h27 __field(uint32_t, command)
33 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
34 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
40 __print_symbolic(__entry->command, EC_CMDS),
50 __field(uint32_t, command)
58 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
59 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(CROS_EC_DEV_PD_INDEX);
67 __print_symbolic(__entry->command, EC_CMDS),
/drivers/net/wireless/marvell/mwifiex/
DREADME42 This command will trigger a scan.
43 The command will then display the scan table entries
46 The above command can be used to connect to an AP with a particular SSID.
48 WEP encryption, wep keys can be specified in the command.
49 …Note: Every time before connecting to an AP scan command (iw dev mlan0 scan) should be used by use…
52 This command will be used to disconnect from an AP.
56 The command will be used to join or create an ibss. Optionally, operating frequency,
61 The command will be used to leave an ibss network.
64 The command will be used to get the connection status. The command will return parameters
84 The command will be used to change the regulatory domain.
[all …]
/drivers/net/ieee802154/
Dca8210.c610 u8 *command,
1072 struct mac_message command, response; in tdme_setsfr_request_sync() local
1075 command.command_id = SPI_TDME_SETSFR_REQUEST; in tdme_setsfr_request_sync()
1076 command.length = 3; in tdme_setsfr_request_sync()
1077 command.pdata.tdme_set_sfr_req.sfr_page = sfr_page; in tdme_setsfr_request_sync()
1078 command.pdata.tdme_set_sfr_req.sfr_address = sfr_address; in tdme_setsfr_request_sync()
1079 command.pdata.tdme_set_sfr_req.sfr_value = sfr_value; in tdme_setsfr_request_sync()
1082 &command.command_id, in tdme_setsfr_request_sync()
1083 command.length + 2, in tdme_setsfr_request_sync()
1443 struct mac_message command; in mcps_data_request() local
[all …]
/drivers/scsi/lpfc/
Dlpfc_bsg.h47 uint32_t command; member
54 uint32_t command; member
65 uint32_t command; member
75 uint32_t command; member
82 uint32_t command; member
91 uint32_t command; member
104 uint32_t command; member
124 uint32_t command; member
303 uint32_t command; member
310 uint32_t command; member
[all …]

12345678910>>...37