Home
last modified time | relevance | path

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

12345678910>>...59

/linux/drivers/scsi/pcmcia/
H A 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 …]
/linux/drivers/gpib/include/
H A Dgpib_cmd.h74 static inline s32 is_PPE(u8 command) in is_PPE() argument
76 return (command & 0x70) == 0x60; in is_PPE()
79 static inline s32 is_PPD(u8 command) in is_PPD() argument
81 return (command & 0x70) == 0x70; in is_PPD()
84 static inline s32 in_addressed_command_group(u8 command) in in_addressed_command_group() argument
86 return (command & 0x70) == 0x0; in in_addressed_command_group()
89 static inline s32 in_universal_command_group(u8 command) in in_universal_command_group() argument
91 return (command & 0x70) == 0x10; in in_universal_command_group()
94 static inline s32 in_listen_address_group(u8 command) in in_listen_address_group() argument
96 return (command & 0x60) == 0x20; in in_listen_address_group()
[all …]
/linux/drivers/scsi/
H A 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 …]
/linux/drivers/mtd/devices/
H A 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 …]
H A 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 …]
/linux/include/trace/events/
H A Dsmbus.h26 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 …]
H A Dfsi_master_i2cr.h12 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));
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, sizeof(uint32_t))
42 memcpy(__entry->command, &command, sizeof(uint32_t));
46 (int)sizeof(uint32_t), __entry->command, (int)sizeof(uint64_t), __entry->data)
[all …]
/linux/drivers/misc/ibmasm/
H A 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 …]
H A 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 …]
/linux/drivers/i2c/
H A 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 …]
H A Di2c-core-smbus.c138 s32 i2c_smbus_read_byte_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_byte_data() argument
144 I2C_SMBUS_READ, command, in i2c_smbus_read_byte_data()
159 s32 i2c_smbus_write_byte_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_byte_data() argument
165 I2C_SMBUS_WRITE, command, in i2c_smbus_write_byte_data()
178 s32 i2c_smbus_read_word_data(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_data() argument
184 I2C_SMBUS_READ, command, in i2c_smbus_read_word_data()
199 s32 i2c_smbus_write_word_data(const struct i2c_client *client, u8 command, in i2c_smbus_write_word_data() argument
205 I2C_SMBUS_WRITE, command, in i2c_smbus_write_word_data()
225 s32 i2c_smbus_read_block_data(const struct i2c_client *client, u8 command, in i2c_smbus_read_block_data() argument
232 I2C_SMBUS_READ, command, in i2c_smbus_read_block_data()
[all …]
/linux/drivers/input/misc/
H A 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()
88 if (panel->idx == sizeof(panel->command)) in ibm_panel_i2c_slave_cb()
[all …]
/linux/drivers/usb/storage/
H A 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 …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-encoder-cmd.rst13 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 …]
H A Dvidioc-decoder-cmd.rst13 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/drivers/media/platform/samsung/s5p-mfc/
H A 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()
/linux/drivers/acpi/acpica/
H A 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()
/linux/Documentation/scsi/
H A Darcmsr_spec.rst186 The low level command interface is exclusive with VT100 terminal
188 1. Sequence of command execution
196 command code, data and checksum byte
205 command block length (low byte)
208 command block length (high byte)
210 .. Note:: command block length shouldn't > 2040 bytes,
214 command code
219 depends on command code
227 The following are command code defined in raid controller Command
232 password must be entered to enable these command::
[all …]
/linux/drivers/misc/eeprom/
H A Deeprom_93cx6.c176 u16 command; in eeprom_93cx6_read() local
186 command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; in eeprom_93cx6_read()
187 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_read()
246 u16 command; in eeprom_93cx6_readb() local
257 command = (PCI_EEPROM_READ_OPCODE << (eeprom->width + 1)) | byte; in eeprom_93cx6_readb()
258 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_readb()
309 u16 command; in eeprom_93cx6_wren() local
316 command = enable ? PCI_EEPROM_EWEN_OPCODE : PCI_EEPROM_EWDS_OPCODE; in eeprom_93cx6_wren()
317 command <<= (eeprom->width - 2); in eeprom_93cx6_wren()
319 eeprom_93cx6_write_bits(eeprom, command, in eeprom_93cx6_wren()
[all …]
/linux/drivers/platform/chrome/
H A 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),
/linux/drivers/media/rc/
H A 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 …]
/linux/tools/testing/selftests/tc-testing/creating-testcases/
H A DAddingTestCases.txt35 name: Descriptive name that explains the command under test
41 dependsOn: Same as 'skip', but the value is executed as a command. The test
42 is skipped when the command returns non-zero.
43 category: A list of single-word descriptions covering what the command
45 setup: The list of commands required to ensure the command under test
46 succeeds. For example: if testing a filter, the command to create
49 Each command can be a string to be executed, or a list consisting
50 of a string which is a command to be executed, followed by 1 or
51 more acceptable exit codes for this command.
52 If only a string is given for the command, then an exit code of 0
[all …]
/linux/kernel/trace/
H A Dftrace_internal.h15 int ftrace_startup(struct ftrace_ops *ops, int command);
16 int ftrace_shutdown(struct ftrace_ops *ops, int command);
18 int ftrace_startup_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command);
19 int ftrace_shutdown_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command);
24 # define ftrace_startup(ops, command) \ argument
31 # define ftrace_shutdown(ops, command) \ argument
43 …ic inline int ftrace_startup_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command) in ftrace_startup_subops() argument
47 …c inline int ftrace_shutdown_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command) in ftrace_shutdown_subops() argument
/linux/drivers/hwmon/pmbus/
H A Dmax31785.c58 int command, u16 data) in max31785_i2c_write_byte_data() argument
63 rc = i2c_smbus_write_byte_data(client, command, data); in max31785_i2c_write_byte_data()
70 int command) in max31785_i2c_read_word_data() argument
75 rc = i2c_smbus_read_word_data(client, command); in max31785_i2c_read_word_data()
82 int page, int command) in _max31785_read_byte_data() argument
87 rc = pmbus_read_byte_data(client, page, command); in _max31785_read_byte_data()
94 int page, int command, u16 data) in _max31785_write_byte_data() argument
99 rc = pmbus_write_byte_data(client, page, command, data); in _max31785_write_byte_data()
106 int page, int phase, int command) in _max31785_read_word_data() argument
111 rc = pmbus_read_word_data(client, page, phase, command); in _max31785_read_word_data()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c58 int ucsi_sync_control_common(struct ucsi *ucsi, u64 command, u32 *cci) in ucsi_sync_control_common() argument
60 bool ack = UCSI_COMMAND(command) == UCSI_ACK_CC_CI; in ucsi_sync_control_common()
84 ret = ucsi->ops->async_control(ucsi, command); in ucsi_sync_control_common()
124 static int ucsi_run_command(struct ucsi *ucsi, u64 command, u32 *cci, bool conn_ack) in ucsi_run_command() argument
133 ret = ucsi->ops->sync_control(ucsi, command, cci); in ucsi_run_command()
164 u64 command; in ucsi_read_error() local
169 command = UCSI_GET_ERROR_STATUS | UCSI_CONNECTOR_NUMBER(connector_num); in ucsi_read_error()
171 ret = ucsi_run_command(ucsi, command, &cci, false); in ucsi_read_error()
259 int ucsi_send_command(struct ucsi *ucsi, u64 command) in ucsi_send_command() argument
261 return ucsi_send_command_common(ucsi, command, false); in ucsi_send_command()
[all …]

12345678910>>...59