/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 76 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() argument 85 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi() 93 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() argument 100 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed() 104 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() argument 107 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr() 111 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() argument 115 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry() 122 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() argument 126 memcpy(command, ne in android_get_p2p_addr() 133 char *command; rtw_android_priv_cmd() local [all...] |
/kernel/linux/linux-5.10/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) 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[ in print_commandk() [all...] |
/kernel/linux/linux-6.6/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) 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[ in print_commandk() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | nsp32_debug.c | 10 * Show the command data of a command 86 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[ in print_commandk() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | nsp32_debug.c | 10 * Show the command data of a command 86 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[ in print_commandk() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | smbus.h | 26 char read_write, u8 command, int protocol, 28 TP_ARGS(adap, addr, flags, read_write, command, protocol, data), 36 __field(__u8, command ) 44 __entry->command = command; 73 __entry->command, 94 char read_write, u8 command, int protocol), 95 TP_ARGS(adap, addr, flags, read_write, command, protocol), 103 __field(__u8, command ) 110 __entry->command [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | smbus.h | 26 char read_write, u8 command, int protocol, 28 TP_ARGS(adap, addr, flags, read_write, command, protocol, data), 36 __field(__u8, command ) 44 __entry->command = command; 73 __entry->command, 94 char read_write, u8 command, int protocol), 95 TP_ARGS(adap, addr, flags, read_write, command, protocol), 103 __field(__u8, command ) 110 __entry->command [all...] |
H A D | fsi_master_i2cr.h | 12 TP_PROTO(const struct i2c_client *client, uint32_t command, int rc), 13 TP_ARGS(client, command, rc), 17 __array(unsigned char, command, sizeof(uint32_t)) 23 memcpy(__entry->command, &command, sizeof(uint32_t)); 26 TP_printk("%d-%02x command:{ %*ph } rc:%d", __entry->bus, __entry->addr, 27 (int)sizeof(uint32_t), __entry->command, __entry->rc) 31 TP_PROTO(const struct i2c_client *client, uint32_t command, uint64_t *data), 32 TP_ARGS(client, command, data), 36 __array(unsigned char, command, sizeo [all...] |
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 87 u8 command[4]; member 155 u8 *command; in dataflash_erase() local 170 x.tx_buf = command = priv->command; in dataflash_erase() 187 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase() 188 command[1] = (u8)(pageaddr >> 16); in dataflash_erase() 189 command[2] = (u8)(pageaddr >> 8); in dataflash_erase() 190 command[3] = 0; in dataflash_erase() 194 command[0], command[ in dataflash_erase() 236 u8 *command; dataflash_read() local 304 u8 *command; dataflash_write() local [all...] |
H A D | sst25l.c | 93 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[ in sst25l_erase_sector() 212 unsigned char command[4]; sst25l_read() local 254 unsigned char command[5]; sst25l_write() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | mtd_dataflash.c | 86 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[ in dataflash_erase() 242 u8 *command; dataflash_read() local 310 u8 *command; dataflash_write() local [all...] |
H A D | sst25l.c | 93 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[ in sst25l_erase_sector() 212 unsigned char command[4]; sst25l_read() local 254 unsigned char command[5]; sst25l_write() local [all...] |
/kernel/linux/linux-5.10/drivers/i2c/ |
H A D | i2c-stub.c | 65 u8 command; member 92 u8 command, bool create) in stub_find_block() 97 if (b->command == command) { in stub_find_block() 106 rb->command = command; in stub_find_block() 125 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() 152 chip->pointer = command; in stub_xfer() 155 addr, command); in stub_xfer() 168 wordp = stub_get_wordp(chip, command); in stub_xfer() 90 stub_find_block(struct device *dev, struct stub_chip *chip, u8 command, bool create) stub_find_block() argument 124 stub_xfer(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) stub_xfer() argument [all...] |
/kernel/linux/linux-6.6/drivers/i2c/ |
H A D | i2c-stub.c | 64 u8 command; member 91 u8 command, bool create) in stub_find_block() 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() 151 chip->pointer = command; in stub_xfer() 154 addr, command); in stub_xfer() 167 wordp = stub_get_wordp(chip, command); in stub_xfer() 89 stub_find_block(struct device *dev, struct stub_chip *chip, u8 command, bool create) stub_find_block() argument 123 stub_xfer(struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) stub_xfer() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | nsPlugin.py | 45 def adjust_command(self, stage, command): 46 super().adjust_command(stage, command) 51 return command 56 if not isinstance(command, list): 58 cmdlist = command.split() 60 cmdlist = command 63 print('adjust_command: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist)) 72 command = ' '.join(cmdlist) 74 command [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | nsPlugin.py | 45 def adjust_command(self, stage, command): 46 super().adjust_command(stage, command) 51 return command 56 if not isinstance(command, list): 58 cmdlist = command.split() 60 cmdlist = command 63 print('adjust_command: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist)) 72 command = ' '.join(cmdlist) 74 command [all...] |
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 102 #define USBAT_ATA_CMD 0x17 /* device command (W) */ 195 * Convenience function to produce an ATA read/write sectors command 286 * Some USBAT-specific commands can only be executed over a command transport 346 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() 374 * in the read/write command in usbat_set_shuttle_features() 449 unsigned char *command = us->iobuf; usbat_read_block() local 483 unsigned char *command = us->iobuf; usbat_write_block() local 531 unsigned char *command = us->iobuf; usbat_hp8200e_rw_block_test() local 684 unsigned char *command = us->iobuf; usbat_multiple_write() local 742 unsigned char *command = us->iobuf; usbat_read_blocks() local 784 unsigned char *command = us->iobuf; usbat_write_blocks() local 1059 unsigned char command[3] = { 0x01, 0xA0, 0xEC }; usbat_flash_get_sector_count() local 1121 unsigned char command[7]; usbat_flash_read_data() local 1212 unsigned char command[7]; usbat_flash_write_data() local [all...] |
H A D | sddr09.c | 286 /* send vendor interface command (0x41) */ 316 unsigned char *command, in sddr09_send_scsi_command() 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[ in sddr09_request_sense() 315 sddr09_send_scsi_command(struct us_data *us, unsigned char *command, unsigned int command_len) sddr09_send_scsi_command() argument 393 unsigned char *command = us->iobuf; sddr09_readX() local 523 unsigned char *command = us->iobuf; sddr09_erase() local 575 unsigned char *command = us->iobuf; sddr09_writeX() local 711 unsigned char *command = us->iobuf; sddr09_read_status() local 1072 unsigned char *command = us->iobuf; sddr09_read_deviceID() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | shuttle_usbat.c | 102 #define USBAT_ATA_CMD 0x17 /* device command (W) */ 195 * Convenience function to produce an ATA read/write sectors command 286 * Some USBAT-specific commands can only be executed over a command transport 346 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() 374 * in the read/write command in usbat_set_shuttle_features() 449 unsigned char *command = us->iobuf; usbat_read_block() local 483 unsigned char *command = us->iobuf; usbat_write_block() local 531 unsigned char *command = us->iobuf; usbat_hp8200e_rw_block_test() local 684 unsigned char *command = us->iobuf; usbat_multiple_write() local 742 unsigned char *command = us->iobuf; usbat_read_blocks() local 784 unsigned char *command = us->iobuf; usbat_write_blocks() local 1059 unsigned char command[3] = { 0x01, 0xA0, 0xEC }; usbat_flash_get_sector_count() local 1121 unsigned char command[7]; usbat_flash_read_data() local 1212 unsigned char command[7]; usbat_flash_write_data() local [all...] |
H A D | sddr09.c | 286 /* send vendor interface command (0x41) */ 316 unsigned char *command, in sddr09_send_scsi_command() 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[ in sddr09_request_sense() 315 sddr09_send_scsi_command(struct us_data *us, unsigned char *command, unsigned int command_len) sddr09_send_scsi_command() argument 393 unsigned char *command = us->iobuf; sddr09_readX() local 523 unsigned char *command = us->iobuf; sddr09_erase() local 575 unsigned char *command = us->iobuf; sddr09_writeX() local 711 unsigned char *command = us->iobuf; sddr09_read_status() local 1072 unsigned char *command = us->iobuf; sddr09_read_deviceID() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
H A D | dot_command.c | 52 * send the 4.3.5.10 dot command (driver VPD) to the service processor 56 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 in ibmasm_send_driver_vpd() 98 unsigned char command[3]; global() member [all...] |
/kernel/linux/linux-6.6/drivers/misc/ibmasm/ |
H A D | dot_command.c | 52 * send the 4.3.5.10 dot command (driver VPD) to the service processor 56 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 in ibmasm_send_driver_vpd() 98 unsigned char command[3]; global() member [all...] |
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | ibm-panel.c | 20 u8 command[11]; member 22 spinlock_t lock; /* protects writes to idx and command */ 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() 53 dev_dbg(&panel->input->dev, "command invalid: %02x %02x\n", in ibm_panel_process_command() 54 panel->command[0], panel->command[1]); in ibm_panel_process_command() 59 if (chksum != panel->command[sizeo in ibm_panel_process_command() [all...] |
/kernel/linux/linux-5.10/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 25 * difficult to estimate the time it takes for the system to process the command 59 static int ucsi_exec_command(struct ucsi *ucsi, u64 command); 66 /* Acknowlege the command that failed */ in ucsi_read_error() 153 int ucsi_send_command(struct ucsi *ucsi, u64 command, in ucsi_send_command() argument 161 ret = ucsi_exec_command(ucsi, command); in ucsi_send_command() 186 u64 command; in ucsi_resume() local 189 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume() 191 return ucsi_send_command(ucsi, command, NULL, 0); in ucsi_resume() 199 u64 command; in ucsi_altmode_update_active() local 204 command in ucsi_altmode_update_active() 345 u64 command; ucsi_register_altmodes_nvidia() local 416 u64 command; ucsi_register_altmodes() local 506 u64 command; ucsi_get_pdos() local 658 u64 command; ucsi_handle_connector_change() local 841 u64 command; ucsi_reset_connector() local 851 u64 command = UCSI_PPM_RESET; ucsi_reset_ppm() local 892 ucsi_role_cmd(struct ucsi_connector *con, u64 command) ucsi_role_cmd() argument 916 u64 command; ucsi_dr_swap() local 960 u64 command; ucsi_pr_swap() local 1027 u64 command; ucsi_register_port() local 1155 u64 command, ntfy; ucsi_init() local [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbhistry.c | 4 * Module Name: dbhistry - debugger HISTORY command 21 char *command; member 39 * DESCRIPTION: Add a command line to the history buffer. 48 /* Put command into the next available slot */ in acpi_db_add_to_history() 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() [all...] |