/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/drivers/misc/ibmasm/ |
D | dot_command.c | 70 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 …]
|
/Linux-v4.19/drivers/mtd/devices/ |
D | sst25l.c | 97 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 …]
|
D | mtd_dataflash.c | 91 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() 240 u8 *command; in dataflash_read() local 250 command = priv->command; in dataflash_read() [all …]
|
D | mchp23k256.c | 70 unsigned char command[MAX_CMD_SIZE]; in mchp23k256_write() local 75 command[0] = MCHP23K256_CMD_WRITE; in mchp23k256_write() 76 mchp23k256_addr2cmd(flash, to, command); in mchp23k256_write() 78 transfer[0].tx_buf = command; in mchp23k256_write() 95 if (retlen && message.actual_length > sizeof(command)) in mchp23k256_write() 96 *retlen += message.actual_length - sizeof(command); in mchp23k256_write() 107 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() [all …]
|
/Linux-v4.19/include/trace/events/ |
D | smbus.h | 30 char read_write, u8 command, int protocol, 32 TP_ARGS(adap, addr, flags, read_write, command, protocol, data), 40 __field(__u8, command ) 48 __entry->command = command; 77 __entry->command, 98 char read_write, u8 command, int protocol), 99 TP_ARGS(adap, addr, flags, read_write, command, protocol), 107 __field(__u8, command ) 114 __entry->command = command; 121 __entry->command, [all …]
|
/Linux-v4.19/tools/testing/selftests/tc-testing/plugin-lib/ |
D | nsPlugin.py | 41 def adjust_command(self, stage, command): argument 42 super().adjust_command(stage, command) 47 return command 52 if not isinstance(command, list): 54 cmdlist = command.split() 56 cmdlist = command 59 …nd: stage is {}; inserting netns stuff in command [{}] list [{}]'.format(stage, command, cmdlist)) 68 command = ' '.join(cmdlist) 70 command = cmdlist 73 print('adjust_command: return command [{}]'.format(command)) [all …]
|
/Linux-v4.19/drivers/usb/storage/ |
D | shuttle_usbat.c | 345 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local 347 command[0] = 0x40; in usbat_set_shuttle_features() 348 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features() 354 command[2] = epp_control; in usbat_set_shuttle_features() 362 command[3] = external_trigger; in usbat_set_shuttle_features() 369 command[4] = test_pattern; in usbat_set_shuttle_features() 375 command[5] = mask_byte; in usbat_set_shuttle_features() 383 command[6] = subcountL; in usbat_set_shuttle_features() 384 command[7] = subcountH; in usbat_set_shuttle_features() 386 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features() [all …]
|
D | sddr09.c | 315 unsigned char *command, in sddr09_send_scsi_command() argument 317 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command() 327 unsigned char *command = us->iobuf; 330 memset(command, 0, 6); 331 command[1] = LUNBITS; 333 result = sddr09_send_scsi_command(us, command, 6); 348 unsigned char *command = us->iobuf; in sddr09_request_sense() local 351 memset(command, 0, 12); in sddr09_request_sense() 352 command[0] = 0x03; in sddr09_request_sense() 353 command[1] = LUNBITS; in sddr09_request_sense() [all …]
|
D | datafab.c | 139 unsigned char *command = us->iobuf; in datafab_read_data() local 179 command[0] = 0; in datafab_read_data() 180 command[1] = thistime; in datafab_read_data() 181 command[2] = sector & 0xFF; in datafab_read_data() 182 command[3] = (sector >> 8) & 0xFF; in datafab_read_data() 183 command[4] = (sector >> 16) & 0xFF; in datafab_read_data() 185 command[5] = 0xE0 + (info->lun << 4); in datafab_read_data() 186 command[5] |= (sector >> 24) & 0x0F; in datafab_read_data() 187 command[6] = 0x20; in datafab_read_data() 188 command[7] = 0x01; in datafab_read_data() [all …]
|
D | sddr55.c | 129 unsigned char *command = us->iobuf; in sddr55_status() local 134 memset(command, 0, 8); in sddr55_status() 135 command[5] = 0xB0; in sddr55_status() 136 command[7] = 0x80; in sddr55_status() 138 DMA_TO_DEVICE, command, 8); in sddr55_status() 192 unsigned char *command = us->iobuf; in sddr55_read_data() local 240 command[0] = 0; in sddr55_read_data() 241 command[1] = LSB_of(address>>16); in sddr55_read_data() 242 command[2] = LSB_of(address>>8); in sddr55_read_data() 243 command[3] = LSB_of(address); in sddr55_read_data() [all …]
|
/Linux-v4.19/drivers/i2c/ |
D | i2c-stub.c | 73 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 …]
|
D | i2c-core-smbus.c | 130 s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_byte_data() argument 136 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data() 151 s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_byte_data() argument 157 I2C_SMBUS_WRITE, command, in i2c_smbus_write_byte_data() 170 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() argument 176 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data() 191 s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_word_data() argument 197 I2C_SMBUS_WRITE, command, in i2c_smbus_write_word_data() 217 s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command, in i2c_smbus_read_block_data() argument 224 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data() [all …]
|
/Linux-v4.19/drivers/usb/misc/ |
D | ftdi-elan.c | 149 struct u132_command command[COMMAND_SIZE]; member 369 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local 371 command->header = 0x80 | (ed_number << 5) | 0x4; in ftdi_elan_flush_targets() 372 command->length = 0x00; in ftdi_elan_flush_targets() 373 command->address = 0x00; in ftdi_elan_flush_targets() 374 command->width = 0x00; in ftdi_elan_flush_targets() 375 command->follows = 0; in ftdi_elan_flush_targets() 376 command->value = 0; in ftdi_elan_flush_targets() 377 command->buffer = &command->value; in ftdi_elan_flush_targets() 391 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local [all …]
|
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_intr.c | 24 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()
|
/Linux-v4.19/drivers/cpufreq/ |
D | speedstep-smi.c | 66 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 …]
|
/Linux-v4.19/drivers/acpi/acpica/ |
D | dbhistry.c | 21 char *command; member 56 if (acpi_gbl_history_buffer[acpi_gbl_next_history_index].command != in acpi_db_add_to_history() 61 command); in acpi_db_add_to_history() 65 [acpi_gbl_next_history_index].command); in acpi_db_add_to_history() 67 command = acpi_os_allocate(cmd_len + 1); in acpi_db_add_to_history() 70 acpi_gbl_history_buffer[acpi_gbl_next_history_index].command = in acpi_db_add_to_history() 74 strcpy(acpi_gbl_history_buffer[acpi_gbl_next_history_index].command, in acpi_db_add_to_history() 123 if (acpi_gbl_history_buffer[history_index].command) { in acpi_db_display_history() 128 command); in acpi_db_display_history() 192 return (acpi_gbl_history_buffer[history_index].command); in acpi_db_get_history_by_index()
|
/Linux-v4.19/arch/riscv/ |
D | Kconfig.debug | 3 bool "Built-in kernel command line" 6 that by default specifies the kernel command line options. 8 the default kernel command line or add a few extra options to it. 9 For such cases, this option allows hardcoding command line options 15 The built-in options will be concatenated to the default command 17 command line will be ignored and replaced by the built-in string. 20 string "Built-in kernel command string" 24 Supply command-line options at build time by entering them here. 27 bool "Built-in command line overrides bootloader arguments" 31 or firmware command line. Instead, the built-in command line
|
/Linux-v4.19/drivers/misc/eeprom/ |
D | eeprom_93cx6.c | 184 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 …]
|
/Linux-v4.19/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
|
/Linux-v4.19/drivers/media/rc/ |
D | ir-rc5-decoder.c | 114 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 …]
|
/Linux-v4.19/Documentation/scsi/ |
D | arcmsr_spec.txt | 107 ** The low level command interface is exclusive with VT100 terminal 109 ** 1. Sequence of command execution 113 ** command code, data and checksum byte 118 ** (A) 1st byte : command block length (low byte) 119 ** (B) 2nd byte : command block length (high byte) 120 ** note ..command block length shouldn't > 2040 bytes, 122 ** (C) 3rd byte : command code 124 ** depends on command code 129 ** The following are command code defined in raid controller Command 134 ** password must be entered to enable these command. [all …]
|
/Linux-v4.19/tools/testing/selftests/tc-testing/creating-testcases/ |
D | AddingTestCases.txt | 35 name: Descriptive name that explains the command under test 36 category: A list of single-word descriptions covering what the command 38 setup: The list of commands required to ensure the command under test 39 succeeds. For example: if testing a filter, the command to create 42 Each command can be a string to be executed, or a list consisting 43 of a string which is a command to be executed, followed by 1 or 44 more acceptable exit codes for this command. 45 If only a string is given for the command, then an exit code of 0 47 cmdUnderTest: The tc command being tested itself. 48 expExitCode: The code returned by the command under test upon its termination. [all …]
|