/Linux-v5.10/drivers/scsi/pcmcia/ |
D | nsp_debug.c | 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[2] << 8) | in print_commandk() 109 ( (unsigned int)command[3] ), in print_commandk() 110 (unsigned int)command[4] in print_commandk() [all …]
|
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/ |
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, net->dev_addr, ETH_ALEN); in android_get_p2p_addr() [all …]
|
/Linux-v5.10/drivers/scsi/ |
D | nsp32_debug.c | 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[2] << 8) | in print_commandk() 108 ( (unsigned int)command[3] ), in print_commandk() 109 (unsigned int)command[4] in print_commandk() [all …]
|
/Linux-v5.10/drivers/mtd/devices/ |
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[0] = SST25L_CMD_SECTOR_ERASE; in sst25l_erase_sector() [all …]
|
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[1], command[2], command[3], in dataflash_erase() 236 u8 *command; in dataflash_read() local 246 command = priv->command; in dataflash_read() [all …]
|
/Linux-v5.10/drivers/misc/ibmasm/ |
D | dot_command.c | 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->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 …]
|
/Linux-v5.10/include/trace/events/ |
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 = command; 117 __entry->command, [all …]
|
/Linux-v5.10/drivers/usb/storage/ |
D | shuttle_usbat.c | 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() 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 …]
|
D | sddr09.c | 316 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 …]
|
D | datafab.c | 140 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 …]
|
D | sddr55.c | 130 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 …]
|
/Linux-v5.10/tools/testing/selftests/tc-testing/plugin-lib/ |
D | nsPlugin.py | 45 def adjust_command(self, stage, command): argument 46 super().adjust_command(stage, command) 51 return command 56 if not isinstance(command, list): 58 cmdlist = command.split() 60 cmdlist = command 63 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist)) 72 command = ' '.join(cmdlist) 74 command = cmdlist 77 print('adjust_command: return command [{}]'.format(command)) [all …]
|
/Linux-v5.10/drivers/i2c/ |
D | i2c-stub.c | 65 u8 command; member 92 u8 command, bool create) in stub_find_block() argument 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() argument 152 chip->pointer = command; in stub_xfer() 155 addr, command); in stub_xfer() 168 wordp = stub_get_wordp(chip, command); in stub_xfer() 174 addr, data->byte, command); in stub_xfer() 177 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer() [all …]
|
D | i2c-core-smbus.c | 128 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 …]
|
/Linux-v5.10/drivers/usb/misc/ |
D | ftdi-elan.c | 149 struct u132_command command[COMMAND_SIZE]; member 370 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local 372 command->header = 0x80 | (ed_number << 5) | 0x4; in ftdi_elan_flush_targets() 373 command->length = 0x00; in ftdi_elan_flush_targets() 374 command->address = 0x00; in ftdi_elan_flush_targets() 375 command->width = 0x00; in ftdi_elan_flush_targets() 376 command->follows = 0; in ftdi_elan_flush_targets() 377 command->value = 0; in ftdi_elan_flush_targets() 378 command->buffer = &command->value; in ftdi_elan_flush_targets() 392 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local [all …]
|
/Linux-v5.10/drivers/usb/typec/ucsi/ |
D | ucsi.c | 59 static int ucsi_exec_command(struct ucsi *ucsi, u64 command); 149 int ucsi_send_command(struct ucsi *ucsi, u64 command, in ucsi_send_command() argument 157 ret = ucsi_exec_command(ucsi, command); in ucsi_send_command() 182 u64 command; in ucsi_resume() local 185 command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy; in ucsi_resume() 187 return ucsi_send_command(ucsi, command, NULL, 0); in ucsi_resume() 195 u64 command; in ucsi_altmode_update_active() local 200 command = UCSI_GET_CURRENT_CAM | UCSI_CONNECTOR_NUMBER(con->num); in ucsi_altmode_update_active() 201 ret = ucsi_send_command(con->ucsi, command, &cur, sizeof(cur)); in ucsi_altmode_update_active() 341 u64 command; in ucsi_register_altmodes_nvidia() local [all …]
|
/Linux-v5.10/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_intr.c | 21 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()
|
/Linux-v5.10/drivers/cpufreq/ |
D | speedstep-smi.c | 64 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 …]
|
/Linux-v5.10/Documentation/userspace-api/media/v4l/ |
D | vidioc-encoder-cmd.rst | 13 VIDIOC_ENCODER_CMD - VIDIOC_TRY_ENCODER_CMD - Execute an encoder command 39 ``VIDIOC_ENCODER_CMD`` sends a command to the encoder, 40 ``VIDIOC_TRY_ENCODER_CMD`` can be used to try a command without actually 43 To send a command applications must initialize all fields of a struct 48 The ``cmd`` field must contain the command code. Some commands use the 51 After a STOP command, :c:func:`read()` calls will read 57 call sends an implicit START command to the encoder if it has not been 80 - The encoder command, see :ref:`encoder-cmds`. 83 - Flags to go with the command, see :ref:`encoder-flags`. If no 84 flags are defined for this command, drivers and applications must [all …]
|
D | vidioc-decoder-cmd.rst | 13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 39 ``VIDIOC_DECODER_CMD`` sends a command to the decoder, 40 ``VIDIOC_TRY_DECODER_CMD`` can be used to try a command without actually 41 executing it. To send a command applications must initialize all fields 46 The ``cmd`` field must contain the command code. Some commands use the 50 call sends an implicit START command to the decoder if it has not been 55 command to the decoder, and all buffered data is discarded. Applies to both 76 - The decoder command, see :ref:`decoder-cmds`. 80 - Flags to go with the command. If no flags are defined for this 81 command, drivers and applications must set this field to zero. [all …]
|
/Linux-v5.10/drivers/acpi/acpica/ |
D | dbhistry.c | 21 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()
|
/Linux-v5.10/drivers/platform/chrome/ |
D | cros_ec_trace.h | 27 __field(uint32_t, command) 33 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(1); 34 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(1); 40 __print_symbolic(__entry->command, EC_CMDS), 50 __field(uint32_t, command) 58 __entry->offset = cmd->command / EC_CMD_PASSTHRU_OFFSET(1); 59 __entry->command = cmd->command % EC_CMD_PASSTHRU_OFFSET(1); 67 __print_symbolic(__entry->command, EC_CMDS),
|
/Linux-v5.10/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 9 # it is not already present on the command line. Returns no value. 27 # command line, return 0. Otherwise, return 1. 40 # is already present on the command line. Returns no value. 50 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) ) 58 command grep -C2 "$type" | \ 59 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) ) 65 command sed -n 's/.*"name": \(.*\),$/\1/p' )" -- "$cur" ) ) 73 command grep -C2 "$type" | \ 74 command sed -n 's/.*"name": \(.*\),$/\1/p' )" -- "$cur" ) ) 80 command sed -n 's/.*"id": \(.*\),$/\1/p' )" -- "$cur" ) ) [all …]
|
/Linux-v5.10/drivers/misc/eeprom/ |
D | eeprom_93cx6.c | 175 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 …]
|
/Linux-v5.10/drivers/net/appletalk/ |
D | ltpc.h | 20 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
|