Home
last modified time | relevance | path

Searched refs:command (Results 1 – 200 of 1571) sorted by relevance

12345678

/linux-4.4.14/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 …]
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Drtw_android.c88 static int rtw_android_get_rssi(struct net_device *net, char *command, in rtw_android_get_rssi() argument
97 bytes_written += snprintf(&command[bytes_written], total_len, in rtw_android_get_rssi()
105 static int rtw_android_get_link_speed(struct net_device *net, char *command, in rtw_android_get_link_speed() argument
112 return snprintf(command, total_len, "LinkSpeed %d", in rtw_android_get_link_speed()
116 static int rtw_android_get_macaddr(struct net_device *net, char *command, in rtw_android_get_macaddr() argument
119 return snprintf(command, total_len, "Macaddr = %pM", in rtw_android_get_macaddr()
123 static int android_set_cntry(struct net_device *net, char *command, in android_set_cntry() argument
127 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry()
134 static int android_get_p2p_addr(struct net_device *net, char *command, in android_get_p2p_addr() argument
138 memcpy(command, net->dev_addr, ETH_ALEN); in android_get_p2p_addr()
[all …]
/linux-4.4.14/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 …]
Dmac53c94.c114 writeb(CMD_SCSI_RESET, &regs->command); /* assert RST */ in DEF_SCSI_QCMD()
116 writeb(CMD_RESET, &regs->command); in DEF_SCSI_QCMD()
119 writeb(CMD_NOP, &regs->command); in DEF_SCSI_QCMD()
163 writeb(CMD_NOP + CMD_DMA_MODE, &regs->command); in mac53c94_start()
165 writeb(CMD_FLUSH, &regs->command); in mac53c94_start()
176 writeb(CMD_SELECT, &regs->command); in mac53c94_start()
218 writeb(CMD_NOP, &regs->command); in mac53c94_interrupt()
236 writeb(CMD_NOP + CMD_DMA_MODE, &regs->command); in mac53c94_interrupt()
264 writeb(CMD_NOP, &regs->command); in mac53c94_interrupt()
274 writeb(CMD_DMA_MODE + CMD_NOP, &regs->command); in mac53c94_interrupt()
[all …]
DBusLogic.c318 if (ccb->command != NULL) in blogic_dealloc_ccb()
319 scsi_dma_unmap(ccb->command); in blogic_dealloc_ccb()
324 ccb->command = NULL; in blogic_dealloc_ccb()
2749 struct scsi_cmnd *command = ccb->command; in blogic_process_ccbs() local
2777 while (command != NULL) { in blogic_process_ccbs()
2779 command->reset_chain; in blogic_process_ccbs()
2780 command->reset_chain = NULL; in blogic_process_ccbs()
2781 command->result = DID_RESET << 16; in blogic_process_ccbs()
2782 command->scsi_done(command); in blogic_process_ccbs()
2783 command = nxt_cmd; in blogic_process_ccbs()
[all …]
/linux-4.4.14/drivers/misc/ibmasm/
Ddot_command.c70 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 …]
Dcommand.c34 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size) in ibmasm_new_command()
36 struct command *cmd; in ibmasm_new_command()
41 cmd = kzalloc(sizeof(struct command), GFP_KERNEL); in ibmasm_new_command()
68 struct command *cmd = to_command(kref); in ibmasm_free_command()
77 static void enqueue_command(struct service_processor *sp, struct command *cmd) in enqueue_command()
82 static struct command *dequeue_command(struct service_processor *sp) in dequeue_command()
84 struct command *cmd; in dequeue_command()
92 cmd = list_entry(next, struct command, queue_node); in dequeue_command()
119 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd) in ibmasm_exec_command()
162 void ibmasm_wait_for_response(struct command *cmd, int timeout) in ibmasm_wait_for_response()
[all …]
Dibmasm.h90 struct command { struct
99 #define to_command(c) container_of(c, struct command, kref) argument
102 static inline void command_put(struct command *cmd) in command_put()
112 static inline void command_get(struct command *cmd) in command_get()
155 struct command *current_command;
156 struct command *heartbeat;
168 struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size);
169 void ibmasm_exec_command(struct service_processor *sp, struct command *cmd);
170 void ibmasm_wait_for_response(struct command *cmd, int timeout);
Dlowlevel.c38 struct command *command = sp->current_command; in ibmasm_send_i2o_message() local
44 command_size = get_dot_command_size(command->buffer); in ibmasm_send_i2o_message()
50 memcpy_toio(&message->data, command->buffer, command_size); in ibmasm_send_i2o_message()
Dibmasmfs.c219 struct command *command; member
247 command_data->command = NULL; in command_file_open()
257 if (command_data->command) in command_file_close()
258 command_put(command_data->command); in command_file_close()
267 struct command *cmd; in command_file_read()
279 cmd = command_data->command; in command_file_read()
284 command_data->command = NULL; in command_file_read()
304 struct command *cmd; in command_file_write()
315 if (command_data->command) in command_file_write()
328 if (command_data->command) { in command_file_write()
[all …]
Dr_heartbeat.c37 unsigned char command[3]; member
45 .command = { 4, 3, 6 }
63 struct command *cmd; in ibmasm_start_reverse_heartbeat()
/linux-4.4.14/drivers/mtd/devices/
Dmtd_dataflash.c87 uint8_t command[4]; member
156 uint8_t *command; in dataflash_erase() local
172 x.tx_buf = command = priv->command; in dataflash_erase()
189 command[0] = do_block ? OP_ERASE_BLOCK : OP_ERASE_PAGE; in dataflash_erase()
190 command[1] = (uint8_t)(pageaddr >> 16); in dataflash_erase()
191 command[2] = (uint8_t)(pageaddr >> 8); in dataflash_erase()
192 command[3] = 0; in dataflash_erase()
196 command[0], command[1], command[2], command[3], in dataflash_erase()
242 uint8_t *command; in dataflash_read() local
252 command = priv->command; in dataflash_read()
[all …]
Dsst25l.c97 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 …]
Dm25p80.c34 u8 command[MAX_CMD_SIZE]; member
69 flash->command[0] = opcode; in m25p80_write_reg()
71 memcpy(&flash->command[1], buf, len); in m25p80_write_reg()
73 return spi_write(spi, flash->command, len + 1); in m25p80_write_reg()
90 flash->command[0] = nor->program_opcode; in m25p80_write()
91 m25p_addr2cmd(nor, to, flash->command); in m25p80_write()
93 t[0].tx_buf = flash->command; in m25p80_write()
137 flash->command[0] = nor->read_opcode; in m25p80_read()
138 m25p_addr2cmd(nor, from, flash->command); in m25p80_read()
140 t[0].tx_buf = flash->command; in m25p80_read()
[all …]
/linux-4.4.14/drivers/usb/storage/
Dshuttle_usbat.c357 unsigned char *command = us->iobuf; in usbat_set_shuttle_features() local
359 command[0] = 0x40; in usbat_set_shuttle_features()
360 command[1] = USBAT_CMD_SET_FEAT; in usbat_set_shuttle_features()
366 command[2] = epp_control; in usbat_set_shuttle_features()
374 command[3] = external_trigger; in usbat_set_shuttle_features()
381 command[4] = test_pattern; in usbat_set_shuttle_features()
387 command[5] = mask_byte; in usbat_set_shuttle_features()
395 command[6] = subcountL; in usbat_set_shuttle_features()
396 command[7] = subcountH; in usbat_set_shuttle_features()
398 return usbat_execute_command(us, command, 8); in usbat_set_shuttle_features()
[all …]
Dsddr09.c327 unsigned char *command, in sddr09_send_scsi_command() argument
329 return sddr09_send_command(us, 0, USB_DIR_OUT, command, command_len); in sddr09_send_scsi_command()
339 unsigned char *command = us->iobuf;
342 memset(command, 0, 6);
343 command[1] = LUNBITS;
345 result = sddr09_send_scsi_command(us, command, 6);
360 unsigned char *command = us->iobuf; in sddr09_request_sense() local
363 memset(command, 0, 12); in sddr09_request_sense()
364 command[0] = 0x03; in sddr09_request_sense()
365 command[1] = LUNBITS; in sddr09_request_sense()
[all …]
Ddatafab.c151 unsigned char *command = us->iobuf; in datafab_read_data() local
191 command[0] = 0; in datafab_read_data()
192 command[1] = thistime; in datafab_read_data()
193 command[2] = sector & 0xFF; in datafab_read_data()
194 command[3] = (sector >> 8) & 0xFF; in datafab_read_data()
195 command[4] = (sector >> 16) & 0xFF; in datafab_read_data()
197 command[5] = 0xE0 + (info->lun << 4); in datafab_read_data()
198 command[5] |= (sector >> 24) & 0x0F; in datafab_read_data()
199 command[6] = 0x20; in datafab_read_data()
200 command[7] = 0x01; in datafab_read_data()
[all …]
Dsddr55.c140 unsigned char *command = us->iobuf; in sddr55_status() local
145 memset(command, 0, 8); in sddr55_status()
146 command[5] = 0xB0; in sddr55_status()
147 command[7] = 0x80; in sddr55_status()
149 DMA_TO_DEVICE, command, 8); in sddr55_status()
203 unsigned char *command = us->iobuf; in sddr55_read_data() local
251 command[0] = 0; in sddr55_read_data()
252 command[1] = LSB_of(address>>16); in sddr55_read_data()
253 command[2] = LSB_of(address>>8); in sddr55_read_data()
254 command[3] = LSB_of(address); in sddr55_read_data()
[all …]
Djumpshot.c169 unsigned char *command = us->iobuf; in jumpshot_read_data() local
202 command[0] = 0; in jumpshot_read_data()
203 command[1] = thistime; in jumpshot_read_data()
204 command[2] = sector & 0xFF; in jumpshot_read_data()
205 command[3] = (sector >> 8) & 0xFF; in jumpshot_read_data()
206 command[4] = (sector >> 16) & 0xFF; in jumpshot_read_data()
208 command[5] = 0xE0 | ((sector >> 24) & 0x0F); in jumpshot_read_data()
209 command[6] = 0x20; in jumpshot_read_data()
213 0, 0x20, 0, 1, command, 7); in jumpshot_read_data()
246 unsigned char *command = us->iobuf; in jumpshot_write_data() local
[all …]
Dalauda.c323 unsigned char command; in alauda_get_media_status() local
326 command = ALAUDA_GET_XD_MEDIA_STATUS; in alauda_get_media_status()
328 command = ALAUDA_GET_SM_MEDIA_STATUS; in alauda_get_media_status()
331 command, 0xc0, 0, 1, data, 2); in alauda_get_media_status()
344 unsigned char command; in alauda_ack_media() local
347 command = ALAUDA_ACK_XD_MEDIA_CHANGE; in alauda_ack_media()
349 command = ALAUDA_ACK_SM_MEDIA_CHANGE; in alauda_ack_media()
352 command, 0x40, 0, 1, NULL, 0); in alauda_ack_media()
361 unsigned char command; in alauda_get_media_signature() local
364 command = ALAUDA_GET_XD_MEDIA_SIG; in alauda_get_media_signature()
[all …]
/linux-4.4.14/drivers/i2c/
Di2c-stub.c72 u8 command; member
99 u8 command, bool create) in stub_find_block() argument
104 if (b->command == command) { in stub_find_block()
113 rb->command = command; in stub_find_block()
132 char read_write, u8 command, int size, union i2c_smbus_data *data) in stub_xfer() argument
159 chip->pointer = command; in stub_xfer()
162 addr, command); in stub_xfer()
175 wordp = stub_get_wordp(chip, command); in stub_xfer()
181 addr, data->byte, command); in stub_xfer()
184 if (chip->bank_words && command == chip->bank_reg) { in stub_xfer()
[all …]
Di2c-core.c292 acpi_i2c_space_handler(u32 function, acpi_physical_address command, in acpi_i2c_space_handler() argument
350 status = i2c_smbus_read_byte_data(client, command); in acpi_i2c_space_handler()
356 status = i2c_smbus_write_byte_data(client, command, in acpi_i2c_space_handler()
363 status = i2c_smbus_read_word_data(client, command); in acpi_i2c_space_handler()
369 status = i2c_smbus_write_word_data(client, command, in acpi_i2c_space_handler()
376 status = i2c_smbus_read_block_data(client, command, in acpi_i2c_space_handler()
383 status = i2c_smbus_write_block_data(client, command, in acpi_i2c_space_handler()
390 status = acpi_gsb_i2c_read_bytes(client, command, in acpi_i2c_space_handler()
395 status = acpi_gsb_i2c_write_bytes(client, command, in acpi_i2c_space_handler()
1967 if (driver->command) in i2c_cmd()
[all …]
/linux-4.4.14/drivers/usb/misc/
Dftdi-elan.c156 struct u132_command command[COMMAND_SIZE]; member
376 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local
378 command->header = 0x80 | (ed_number << 5) | 0x4; in ftdi_elan_flush_targets()
379 command->length = 0x00; in ftdi_elan_flush_targets()
380 command->address = 0x00; in ftdi_elan_flush_targets()
381 command->width = 0x00; in ftdi_elan_flush_targets()
382 command->follows = 0; in ftdi_elan_flush_targets()
383 command->value = 0; in ftdi_elan_flush_targets()
384 command->buffer = &command->value; in ftdi_elan_flush_targets()
398 struct u132_command *command = &ftdi->command[ in ftdi_elan_flush_targets() local
[all …]
/linux-4.4.14/drivers/media/platform/s5p-mfc/
Ds5p_mfc_intr.c24 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()
Ds5p_mfc_intr.h21 int command, int interrupt);
22 int s5p_mfc_wait_for_done_dev(struct s5p_mfc_dev *dev, int command);
/linux-4.4.14/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 …]
/linux-4.4.14/drivers/acpi/acpica/
Ddbhistry.c55 char *command; member
90 if (acpi_gbl_history_buffer[acpi_gbl_next_history_index].command != in acpi_db_add_to_history()
95 command); in acpi_db_add_to_history()
99 [acpi_gbl_next_history_index].command); in acpi_db_add_to_history()
101 command = acpi_os_allocate(cmd_len + 1); in acpi_db_add_to_history()
104 acpi_gbl_history_buffer[acpi_gbl_next_history_index].command = in acpi_db_add_to_history()
108 strcpy(acpi_gbl_history_buffer[acpi_gbl_next_history_index].command, in acpi_db_add_to_history()
157 if (acpi_gbl_history_buffer[history_index].command) { in acpi_db_display_history()
162 command); in acpi_db_display_history()
226 return (acpi_gbl_history_buffer[history_index].command); in acpi_db_get_history_by_index()
Ddbinput.c58 static void acpi_db_display_command_info(char *command, u8 display_all);
60 static void acpi_db_display_help(char *command);
63 acpi_db_match_command_help(char *command,
349 acpi_db_match_command_help(char *command, in acpi_db_match_command_help() argument
367 while ((*command) && (*invocation) && (*invocation != ' ')) { in acpi_db_match_command_help()
368 if (tolower((int)*command) != tolower((int)*invocation)) { in acpi_db_match_command_help()
373 command++; in acpi_db_match_command_help()
403 static void acpi_db_display_command_info(char *command, u8 display_all) in acpi_db_display_command_info() argument
410 matched = acpi_db_match_command_help(command, next); in acpi_db_display_command_info()
433 static void acpi_db_display_help(char *command) in acpi_db_display_help() argument
[all …]
/linux-4.4.14/include/trace/events/
Di2c.h153 char read_write, u8 command, int protocol,
155 TP_ARGS(adap, addr, flags, read_write, command, protocol, data),
163 __field(__u8, command )
171 __entry->command = command;
200 __entry->command,
221 char read_write, u8 command, int protocol),
222 TP_ARGS(adap, addr, flags, read_write, command, protocol),
230 __field(__u8, command )
237 __entry->command = command;
244 __entry->command,
[all …]
/linux-4.4.14/drivers/net/appletalk/
Dltpc.h19 unsigned char command; member
24 unsigned char command; member
31 unsigned char command; member
37 unsigned char command; member
42 unsigned char command; member
48 unsigned char command; member
56 unsigned char command; member
/linux-4.4.14/drivers/misc/eeprom/
Deeprom_93cx6.c184 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-4.4.14/Documentation/scsi/
Darcmsr_spec.txt107 ** 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 …]
Dscsi_eh.txt32 Each SCSI command is represented with struct scsi_cmnd (== scmd). A
44 command by calling scsi_done callback passed from midlayer when
55 determine what to do with the command. scsi_decide_disposition()
57 with the command.
60 scsi_finish_command() is invoked for the command. The
73 scsi_eh_scmd_add(scmd, 0) is invoked for the command. See
87 The command is passed back to the block layer and completed
91 assumed to be finished with the command, and no other
98 command. Timer is restarted. This action is counted as a
103 eh_timed_out() callback did not handle the command.
[all …]
DChangeLog.arcmsr30 ** 1.20.00.08 6/23/2005 Erich Chen bug fix with abort command,
33 ** 1.20.00.09 9/12/2005 Erich Chen bug fix with abort command handling, firmware versi…
37 ** add some useful message for abort command
39 ** customer can send this command for sync raid volume data
52 ** change the architecture of arcmsr command queue list
92 ** command and let kernel process command timeout.
/linux-4.4.14/drivers/media/rc/
Dir-rc5-decoder.c129 u8 xdata, command, system; in ir_rc5_decode() local
135 command = (data->bits & 0x00FC0) >> 6; in ir_rc5_decode()
138 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode()
139 scancode = system << 16 | command << 8 | xdata; in ir_rc5_decode()
144 u8 command, system; in ir_rc5_decode() local
149 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
152 command += (data->bits & 0x01000) ? 0 : 0x40; in ir_rc5_decode()
153 scancode = system << 8 | command; in ir_rc5_decode()
158 u8 command, system; in ir_rc5_decode() local
163 command = (data->bits & 0x0003F) >> 0; in ir_rc5_decode()
[all …]
Dir-nec-decoder.c52 u8 address, not_address, command, not_command; in ir_nec_decode() local
163 command = bitrev8((data->bits >> 8) & 0xff); in ir_nec_decode()
166 if ((command ^ not_command) != 0xff) { in ir_nec_decode()
181 command; in ir_nec_decode()
185 scancode = address << 8 | command; in ir_nec_decode()
Dir-sanyo-decoder.c59 u8 address, command, not_command; in ir_sanyo_decode() local
158 command = bitrev8((data->bits >> 8) & 0xff); in ir_sanyo_decode()
161 if ((command ^ not_command) != 0xff) { in ir_sanyo_decode()
168 scancode = address << 8 | command; in ir_sanyo_decode()
Dir-sharp-decoder.c49 u32 msg, echo, address, command, scancode; in ir_sharp_decode() local
160 command = bitrev8((msg >> 2) & 0xff); in ir_sharp_decode()
162 scancode = address << 8 | command; in ir_sharp_decode()
/linux-4.4.14/drivers/net/wireless/mwifiex/
DREADME41 This command will trigger a scan.
42 The command will then display the scan table entries
45 The above command can be used to connect to an AP with a particular SSID.
47 WEP encryption, wep keys can be specified in the command.
48 …Note: Every time before connecting to an AP scan command (iw dev mlan0 scan) should be used by use…
51 This command will be used to disconnect from an AP.
55 The command will be used to join or create an ibss. Optionally, operating frequency,
60 The command will be used to leave an ibss network.
63 The command will be used to get the connection status. The command will return parameters
83 The command will be used to change the regulatory domain.
[all …]
Dcmdevt.c161 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw()
289 le16_to_cpu(sleep_cfm_buf->command), in mwifiex_dnld_sleep_confirm_cmd()
566 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd()
653 le16_to_cpu(host_cmd->command), in mwifiex_recycle_cmd_node()
669 u16 command; in mwifiex_insert_cmd_to_pending_q() local
678 command = le16_to_cpu(host_cmd->command); in mwifiex_insert_cmd_to_pending_q()
681 if (command == HostCmd_CMD_802_11_PS_MODE_ENH) { in mwifiex_insert_cmd_to_pending_q()
701 command, atomic_read(&adapter->cmd_pending)); in mwifiex_insert_cmd_to_pending_q()
768 if (priv && (host_cmd->command != in mwifiex_exec_next_cmd()
803 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
[all …]
Dsta_cmd.c50 cmd->command = cpu_to_le16(HostCmd_CMD_RSSI_INFO); in mwifiex_cmd_802_11_rssi_info()
89 cmd->command = cpu_to_le16(HostCmd_CMD_MAC_CONTROL); in mwifiex_cmd_mac_control()
121 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_SNMP_MIB); in mwifiex_cmd_802_11_snmp_mib()
155 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_GET_LOG); in mwifiex_cmd_802_11_get_log()
179 cmd->command = cpu_to_le16(HostCmd_CMD_TX_RATE_CFG); in mwifiex_cmd_tx_rate_cfg()
253 cmd->command = cpu_to_le16(HostCmd_CMD_TXPWR_CFG); in mwifiex_cmd_tx_power_cfg()
297 cmd->command = cpu_to_le16(HostCmd_CMD_RF_TX_PWR); in mwifiex_cmd_rf_tx_power()
314 cmd->command = cpu_to_le16(HostCmd_CMD_RF_ANTENNA); in mwifiex_cmd_rf_antenna()
358 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_HS_CFG_ENH); in mwifiex_cmd_802_11_hs_cfg()
408 cmd->command = cpu_to_le16(HostCmd_CMD_802_11_MAC_ADDRESS); in mwifiex_cmd_802_11_mac_address()
[all …]
/linux-4.4.14/tools/power/cpupower/bench/
Dcpufreq-bench_script.sh73 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
76 eval "$command"
83 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
86 eval "$command"
93 …command="${command} /var/log/cpufreq-bench/up_threshold_${up_threshold}_sampling_rate_${sampling_r…
96 echo "$command"
97 eval "$command"
/linux-4.4.14/drivers/i2c/busses/
Di2c-nforce2-s4985.c47 u8 command, int size, in nforce2_access_virt0() argument
59 command, size, data); in nforce2_access_virt0()
73 u8 command, int size, in nforce2_access_channel() argument
97 command, size, data); in nforce2_access_channel()
106 u8 command, int size, in nforce2_access_virt1() argument
110 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt1()
116 u8 command, int size, in nforce2_access_virt2() argument
120 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt2()
126 u8 command, int size, in nforce2_access_virt3() argument
130 return nforce2_access_channel(adap, addr, flags, read_write, command, in nforce2_access_virt3()
[all …]
Di2c-amd756-s4882.c49 u8 command, int size, in amd756_access_virt0() argument
62 command, size, data); in amd756_access_virt0()
77 u8 command, int size, in amd756_access_channel() argument
102 command, size, data); in amd756_access_channel()
111 u8 command, int size, in amd756_access_virt1() argument
115 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt1()
121 u8 command, int size, in amd756_access_virt2() argument
125 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt2()
131 u8 command, int size, in amd756_access_virt3() argument
135 return amd756_access_channel(adap, addr, flags, read_write, command, in amd756_access_virt3()
[all …]
Di2c-xgene-slimpro.c277 u8 command, int size, in xgene_slimpro_i2c_xfer() argument
292 ret = slimpro_i2c_wr(ctx, addr, command, SMBUS_CMD_LEN, in xgene_slimpro_i2c_xfer()
299 ret = slimpro_i2c_rd(ctx, addr, command, SMBUS_CMD_LEN, in xgene_slimpro_i2c_xfer()
305 ret = slimpro_i2c_wr(ctx, addr, command, SMBUS_CMD_LEN, in xgene_slimpro_i2c_xfer()
312 ret = slimpro_i2c_rd(ctx, addr, command, SMBUS_CMD_LEN, in xgene_slimpro_i2c_xfer()
318 ret = slimpro_i2c_wr(ctx, addr, command, SMBUS_CMD_LEN, in xgene_slimpro_i2c_xfer()
325 ret = slimpro_i2c_blkrd(ctx, addr, command, in xgene_slimpro_i2c_xfer()
333 ret = slimpro_i2c_blkwr(ctx, addr, command, in xgene_slimpro_i2c_xfer()
343 command, in xgene_slimpro_i2c_xfer()
350 ret = slimpro_i2c_blkwr(ctx, addr, command, in xgene_slimpro_i2c_xfer()
Di2c-amd8111.c193 unsigned short flags, char read_write, u8 command, int size, in amd8111_access() argument
213 command); in amd8111_access()
221 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
234 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
251 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
274 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
292 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
310 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
Di2c-sibyte.c38 u8 command, int size, union i2c_smbus_data * data) in smbus_xfer() argument
59 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); in smbus_xfer()
65 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); in smbus_xfer()
78 csr_out32(V_SMB_CMD(command), SMB_CSR(adap, R_SMB_CMD)); in smbus_xfer()
Di2c-isch.c148 u8 command, int size, union i2c_smbus_data *data) in sch_access() argument
181 outb(command, SMBHSTCMD); in sch_access()
186 outb(command, SMBHSTCMD); in sch_access()
193 outb(command, SMBHSTCMD); in sch_access()
202 outb(command, SMBHSTCMD); in sch_access()
Di2c-highlander.c115 u8 command, int len) in highlander_i2c_command() argument
118 u16 cmd = (command << 8) | command; in highlander_i2c_command()
122 cmd = command << 8; in highlander_i2c_command()
280 u8 command, int size, in highlander_i2c_smbus_xfer() argument
289 addr, command, read_write, size); in highlander_i2c_smbus_xfer()
340 highlander_i2c_command(dev, command, dev->buf_len); in highlander_i2c_smbus_xfer()
Di2c-pasemi.c175 u16 addr, unsigned short flags, char read_write, u8 command, in pasemi_smb_xfer() argument
199 TXFIFO_WR(smbus, MTXFIFO_STOP | command); in pasemi_smb_xfer()
203 TXFIFO_WR(smbus, command); in pasemi_smb_xfer()
213 TXFIFO_WR(smbus, command); in pasemi_smb_xfer()
224 TXFIFO_WR(smbus, command); in pasemi_smb_xfer()
244 TXFIFO_WR(smbus, command); in pasemi_smb_xfer()
254 TXFIFO_WR(smbus, command); in pasemi_smb_xfer()
Di2c-ismt.c378 unsigned short flags, char read_write, u8 command, in ismt_access() argument
422 desc->wr_len_cmd = command; in ismt_access()
442 priv->dma_buffer[0] = command; in ismt_access()
448 desc->wr_len_cmd = command; in ismt_access()
462 priv->dma_buffer[0] = command; in ismt_access()
468 desc->wr_len_cmd = command; in ismt_access()
482 priv->dma_buffer[0] = command; in ismt_access()
495 priv->dma_buffer[0] = command; in ismt_access()
503 desc->wr_len_cmd = command; in ismt_access()
523 priv->dma_buffer[0] = command; in ismt_access()
[all …]
Dscx200_acb.c81 u8 command; member
152 outb(iface->command, ACBSDA); in scx200_acb_machine()
278 char rw, u8 command, int size, in scx200_acb_smbus_xfer() argument
295 buffer = rw ? &data->byte : &command; in scx200_acb_smbus_xfer()
322 size, address, command, len, rw); in scx200_acb_smbus_xfer()
332 iface->command = command; in scx200_acb_smbus_xfer()
Di2c-viapro.c199 unsigned short flags, char read_write, u8 command, in vt596_access() argument
211 outb_p(command, SMBHSTCMD); in vt596_access()
215 outb_p(command, SMBHSTCMD); in vt596_access()
221 outb_p(command, SMBHSTCMD); in vt596_access()
229 outb_p(command, SMBHSTCMD); in vt596_access()
241 outb_p(command, SMBHSTCMD); in vt596_access()
Di2c-sis96x.c160 u8 command, int size, union i2c_smbus_data * data) in sis96x_access() argument
173 sis96x_write(SMB_CMD, command); in sis96x_access()
179 sis96x_write(SMB_CMD, command); in sis96x_access()
188 sis96x_write(SMB_CMD, command); in sis96x_access()
Di2c-amd756.c191 u8 command, int size, union i2c_smbus_data * data) in amd756_access() argument
206 outb_p(command, SMB_HOST_DATA); in amd756_access()
212 outb_p(command, SMB_HOST_COMMAND); in amd756_access()
220 outb_p(command, SMB_HOST_COMMAND); in amd756_access()
228 outb_p(command, SMB_HOST_COMMAND); in amd756_access()
/linux-4.4.14/arch/m68k/68000/
Dm68VZ328.c63 static void __init init_hardware(char *command, int size) in init_hardware() argument
149 static void __init init_hardware(char *command, int size) in _bsc0()
158 strcpy(p, command); in _bsc0()
160 command[0] = 0; in _bsc0()
170 static void __init init_hardware(char *command, int size) in init_hardware() argument
178 void __init config_BSP(char *command, int size) in config_BSP() argument
182 init_hardware(command, size); in config_BSP()
Dm68EZ328.c56 void __init config_BSP(char *command, int len) in _bsc0()
68 if (p) strcpy(p,command); in _bsc0()
69 else command[0] = 0; in _bsc0()
/linux-4.4.14/sound/drivers/opl3/
Dopl3_drums.c92 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
96 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
100 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
104 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
108 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set()
112 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set()
126 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
130 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set()
149 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
159 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
[all …]
Dopl3_lib.c105 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect()
107 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect()
114 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 0xff); in snd_opl3_detect()
116 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER2_MASK | OPL3_TIMER1_START); in snd_opl3_detect()
122 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect()
124 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect()
170 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 256 - ticks); /* timer 1 count */ in snd_opl3_timer1_start()
171 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_opl3_timer1_start()
186 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #1 */ in snd_opl3_timer1_stop()
207 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER2, 256 - ticks); /* timer 1 count */ in snd_opl3_timer2_start()
[all …]
Dopl3_synth.c382 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
387 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset()
393 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TEST, OPL3_ENABLE_WAVE_SELECT); in snd_opl3_reset()
394 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, 0x00); /* Melodic mode */ in snd_opl3_reset()
428 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
441 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
496 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
505 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
514 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
[all …]
Dopl3_midi.c414 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
422 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
432 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
439 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
486 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
491 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
496 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
501 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
506 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
518 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
[all …]
/linux-4.4.14/drivers/input/serio/
Dlibps2.c128 static int ps2_adjust_timeout(struct ps2dev *ps2dev, int command, int timeout) in ps2_adjust_timeout() argument
130 switch (command) { in ps2_adjust_timeout()
183 int __ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command) in __ps2_command() argument
186 int send = (command >> 12) & 0xf; in __ps2_command()
187 int receive = (command >> 8) & 0xf; in __ps2_command()
202 ps2dev->flags = command == PS2_CMD_GETID ? PS2_FLAG_WAITID : 0; in __ps2_command()
214 if (ps2_sendbyte(ps2dev, command & 0xff, in __ps2_command()
215 command == PS2_CMD_RESET_BAT ? 1000 : 200)) { in __ps2_command()
230 timeout = msecs_to_jiffies(command == PS2_CMD_RESET_BAT ? 4000 : 500); in __ps2_command()
237 timeout = ps2_adjust_timeout(ps2dev, command, timeout); in __ps2_command()
[all …]
Di8042-jazzio.h27 #define I8042_COMMAND_REG ((unsigned long)&jazz_kh->command)
28 #define I8042_STATUS_REG ((unsigned long)&jazz_kh->command)
38 return jazz_kh->command; in i8042_read_status()
48 jazz_kh->command = val; in i8042_write_command()
Di8042-ip22io.h32 #define I8042_COMMAND_REG ((unsigned long)&sgioc->kbdmouse.command)
33 #define I8042_STATUS_REG ((unsigned long)&sgioc->kbdmouse.command)
43 return sgioc->kbdmouse.command; in i8042_read_status()
53 sgioc->kbdmouse.command = val; in i8042_write_command()
/linux-4.4.14/tools/usb/usbip/src/
Dutils.c30 char command[SYSFS_BUS_ID_SIZE + 4]; in modify_match_busid() local
40 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", busid); in modify_match_busid()
42 snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", busid); in modify_match_busid()
44 rc = write_sysfs_attribute(match_busid_attr_path, command, in modify_match_busid()
45 sizeof(command)); in modify_match_busid()
Dusbip.c46 struct command { struct
53 static const struct command cmds[] = { argument
107 const struct command *cmd; in usbip_help()
139 static int run_command(const struct command *cmd, int argc, char *argv[]) in run_command()
/linux-4.4.14/arch/mips/jazz/
Dreset.c17 status = jazz_kh->command; in jazz_write_output()
27 status = jazz_kh->command; in jazz_write_command()
29 jazz_kh->command = val; in jazz_write_command()
34 return jazz_kh->command; in jazz_read_status()
48 void jazz_machine_restart(char *command) in jazz_machine_restart() argument
/linux-4.4.14/include/linux/
Di2c.h81 unsigned short flags, char read_write, u8 command,
90 u8 command);
92 u8 command, u8 value);
94 u8 command);
96 u8 command, u16 value);
99 i2c_smbus_read_word_swapped(const struct i2c_client *client, u8 command) in i2c_smbus_read_word_swapped() argument
101 s32 value = i2c_smbus_read_word_data(client, command); in i2c_smbus_read_word_swapped()
108 u8 command, u16 value) in i2c_smbus_write_word_swapped() argument
110 return i2c_smbus_write_word_data(client, command, swab16(value)); in i2c_smbus_write_word_swapped()
115 u8 command, u8 *values);
[all …]
Dlibps2.h49 int __ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command);
50 int ps2_command(struct ps2dev *ps2dev, unsigned char *param, int command);
Di8042.h64 int i8042_command(unsigned char *param, int command);
81 static inline int i8042_command(unsigned char *param, int command) in i8042_command() argument
/linux-4.4.14/Documentation/w1/
Dw1.netlink28 userspace command for bus master
31 userspace command for slave device
43 [struct w1_netlink_cmd] - command for given master or slave device.
44 __u8 cmd - command opcode.
45 W1_CMD_READ - read command
46 W1_CMD_WRITE - write command
47 W1_CMD_SEARCH - search command
48 W1_CMD_ALARM_SEARCH - alarm search command
49 W1_CMD_TOUCH - touch command
56 __u16 len - length of data for this command
[all …]
/linux-4.4.14/net/irda/
Dirlap_frame.c48 int command);
316 __u8 command, discovery_t *discovery) in irlap_send_discovery_xid_frame() argument
324 s, S, command); in irlap_send_discovery_xid_frame()
338 if (command) { in irlap_send_discovery_xid_frame()
349 if (command) in irlap_send_discovery_xid_frame()
380 if (!command || (frame->slotnr == 0xff)) { in irlap_send_discovery_xid_frame()
582 void irlap_send_rr_frame(struct irlap_cb *self, int command) in irlap_send_rr_frame() argument
594 frame->caddr |= (command) ? CMD_FRAME : 0; in irlap_send_rr_frame()
633 struct irlap_info *info, int command) in irlap_recv_rr_frame() argument
638 if (command) in irlap_recv_rr_frame()
[all …]
/linux-4.4.14/drivers/media/pci/bt8xx/
Ddst_ca.c74 static void put_command_and_length(u8 *data, int command, int length) in put_command_and_length() argument
76 data[0] = (command >> 16) & 0xff; in put_command_and_length()
77 data[1] = (command >> 8) & 0xff; in put_command_and_length()
78 data[2] = command & 0xff; in put_command_and_length()
157 static u8 command[8] = {0x07, 0x40, 0x01, 0x00, 0x01, 0x00, 0x00, 0xff}; in ca_get_app_info() local
159 put_checksum(&command[0], command[0]); in ca_get_app_info()
160 if ((dst_put_ci(state, command, sizeof(command), state->messages, GET_REPLY)) < 0) { in ca_get_app_info()
318 u32 command = 0; in ca_get_message() local
327 command = command | p_ca_message->msg[i]; in ca_get_message()
329 command = command << 8; in ca_get_message()
[all …]
/linux-4.4.14/Documentation/isdn/
DINTERFACE103 command = event-type. (one of the constants ISDN_STAT_...)
110 int (*command)(isdn_ctrl*);
120 command = command to perform. (one of the constants ISDN_CMD_...)
121 arg = depends on command.
122 num = depends on command.
212 All commands will be performed by calling the function command() described
213 above from within the LL. The field command of the struct-parameter will
214 contain the desired command, the field driver is always set to the
225 This command is intended for performing ioctl-calls for configuring
232 called with the field command set to 1.
[all …]
DINTERFACE.fax11 command ISDN_CMD_SETL3 (parm.fax). This pointer expires in case of hangup
24 capability-values and the command-codes between LL and HL.
61 If the phase changes because of an AT command, the LL driver
72 ISDN_TTY_FAX_DR signals +FDR command to HL
74 ISDN_TTY_FAX_DT signals +FDT command to HL
76 ISDN_TTY_FAX_ET signals +FET command to HL
131 Value of +FET command in send-mode.
157 (+FNBC is not a known class 2 fax command, I added this to change the
/linux-4.4.14/drivers/input/touchscreen/
Dad7879-spi.c36 u16 *command; in ad7879_spi_xfer() local
47 command = spi_data; in ad7879_spi_xfer()
48 command[0] = cmd; in ad7879_spi_xfer()
51 command[1] = *tx_buf; in ad7879_spi_xfer()
52 tx_buf = &command[1]; in ad7879_spi_xfer()
54 rx_buf = &command[2]; in ad7879_spi_xfer()
58 xfers[0].tx_buf = command; in ad7879_spi_xfer()
75 _rx_buf[0] = command[2]; in ad7879_spi_xfer()
/linux-4.4.14/arch/mips/kernel/
Dreset.c23 void (*_machine_restart)(char *command);
29 void machine_restart(char *command) in machine_restart() argument
32 _machine_restart(command); in machine_restart()
38 do_kernel_restart(command); in machine_restart()
/linux-4.4.14/drivers/isdn/gigaset/
Di4l.c134 response.command = ISDN_STAT_BSENT; in gigaset_skb_sent()
184 response.command = ISDN_STAT_L1ERR; in gigaset_isdn_rcv_err()
206 cntrl->driver, cntrl->command, cntrl->arg); in command_from_LL()
215 switch (cntrl->command) { in command_from_LL()
411 cntrl->command); in command_from_LL()
429 isdn_ctrl command; in gigaset_i4l_cmd() local
431 command.driver = cs->myid; in gigaset_i4l_cmd()
432 command.command = cmd; in gigaset_i4l_cmd()
433 command.arg = 0; in gigaset_i4l_cmd()
434 iif->statcallb(&command); in gigaset_i4l_cmd()
[all …]
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_bsg.h40 uint32_t command; member
47 uint32_t command; member
58 uint32_t command; member
67 uint32_t command; member
73 uint32_t command; member
82 uint32_t command; member
95 uint32_t command; member
115 uint32_t command; member
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-i2c.c47 u16 command, int flags, u8 *data) in go7007_i2c_xfer() argument
58 command, addr); in go7007_i2c_xfer()
62 *data, command, addr); in go7007_i2c_xfer()
88 go7007_write_addr(go, I2C_LO_ADDR_REG_ADDR, command); in go7007_i2c_xfer()
94 (addr << 9) | (command >> 8)); in go7007_i2c_xfer()
105 (addr << 9) | 0x0100 | (command >> 8)); in go7007_i2c_xfer()
138 u8 command, int size, union i2c_smbus_data *data) in go7007_smbus_xfer() argument
144 return go7007_i2c_xfer(go, addr, read_write == I2C_SMBUS_READ, command, in go7007_smbus_xfer()
/linux-4.4.14/drivers/usb/host/
Dxhci.c94 cmd = readl(&xhci->op_regs->command); in xhci_quiesce()
96 writel(cmd, &xhci->op_regs->command); in xhci_quiesce()
132 temp = readl(&xhci->op_regs->command); in xhci_start()
136 writel(temp, &xhci->op_regs->command); in xhci_start()
164 u32 command; in xhci_reset() local
175 command = readl(&xhci->op_regs->command); in xhci_reset()
176 command |= CMD_RESET; in xhci_reset()
177 writel(command, &xhci->op_regs->command); in xhci_reset()
189 ret = xhci_handshake(&xhci->op_regs->command, in xhci_reset()
642 temp = readl(&xhci->op_regs->command); in xhci_run()
[all …]
Dehci-timer.c22 ehci->command |= bit; in ehci_set_command_bit()
23 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit()
26 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit()
32 ehci->command &= ~bit; in ehci_clear_command_bit()
33 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit()
36 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit()
112 want = (ehci->command & CMD_ASE) ? STS_ASS : 0; in ehci_poll_ASS()
158 want = (ehci->command & CMD_PSE) ? STS_PSS : 0; in ehci_poll_PSS()
347 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog()
Dehci-hcd.c210 ehci->command &= ~CMD_RUN; in ehci_halt()
211 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt()
213 ehci_writel(ehci, temp, &ehci->regs->command); in ehci_halt()
245 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset() local
252 command |= CMD_RESET; in ehci_reset()
253 dbg_cmd (ehci, "reset", command); in ehci_reset()
254 ehci_writel(ehci, command, &ehci->regs->command); in ehci_reset()
257 retval = ehci_handshake(ehci, &ehci->regs->command, in ehci_reset()
292 temp = (ehci->command << 10) & (STS_ASS | STS_PSS); in ehci_quiesce()
298 ehci->command &= ~(CMD_ASE | CMD_PSE); in ehci_quiesce()
[all …]
Dehci-dbg.c218 dbg_command_buf (char *buf, unsigned len, const char *label, u32 command) in dbg_command_buf() argument
223 label, label [0] ? " " : "", command, in dbg_command_buf()
224 (command & CMD_HIRD) ? " HIRD" : "", in dbg_command_buf()
225 (command & CMD_PPCEE) ? " PPCEE" : "", in dbg_command_buf()
226 (command & CMD_FSP) ? " FSP" : "", in dbg_command_buf()
227 (command & CMD_ASPE) ? " ASPE" : "", in dbg_command_buf()
228 (command & CMD_PSPE) ? " PSPE" : "", in dbg_command_buf()
229 (command & CMD_PARK) ? " park" : "(park)", in dbg_command_buf()
230 CMD_PARK_CNT (command), in dbg_command_buf()
231 (command >> 16) & 0x3f, in dbg_command_buf()
[all …]
Doxu210hp-hcd.c127 const char *label, u32 command) in dbg_command_buf() argument
131 label, label[0] ? " " : "", command, in dbg_command_buf()
132 (command & CMD_PARK) ? "park" : "(park)", in dbg_command_buf()
133 CMD_PARK_CNT(command), in dbg_command_buf()
134 (command >> 16) & 0x3f, in dbg_command_buf()
135 (command & CMD_LRESET) ? " LReset" : "", in dbg_command_buf()
136 (command & CMD_IAAD) ? " IAAD" : "", in dbg_command_buf()
137 (command & CMD_ASE) ? " Async" : "", in dbg_command_buf()
138 (command & CMD_PSE) ? " Periodic" : "", in dbg_command_buf()
139 fls_strings[(command >> 2) & 0x3], in dbg_command_buf()
[all …]
/linux-4.4.14/drivers/iio/adc/
Dad7291.c85 u16 command; member
116 u16 command; in ad7291_event_handler() local
129 command = chip->command | AD7291_ALERT_CLEAR; in ad7291_event_handler()
130 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
132 command = chip->command & ~AD7291_ALERT_CLEAR; in ad7291_event_handler()
133 ad7291_i2c_write(chip, AD7291_COMMAND, command); in ad7291_event_handler()
283 regval = chip->command; in ad7291_write_event_config()
310 chip->command = regval; in ad7291_write_event_config()
337 if (chip->command & AD7291_AUTOCYCLE) { in ad7291_read_raw()
342 regval = chip->command & (~AD7291_VOLTAGE_MASK); in ad7291_read_raw()
[all …]
/linux-4.4.14/drivers/block/mtip32xx/
Dmtip32xx.c577 int tag, struct mtip_cmd *command, int status) in mtip_completion() argument
579 struct completion *waiting = command->comp_data; in mtip_completion()
584 command->comp_func = NULL; in mtip_completion()
585 command->comp_data = NULL; in mtip_completion()
590 int tag, struct mtip_cmd *command, int status) in mtip_null_completion() argument
722 fis = (struct host_to_dev_fis *)cmd->command; in mtip_handle_tfe()
726 fis->command == ATA_CMD_SET_FEATURES) in mtip_handle_tfe()
731 fis->command == ATA_CMD_FPDMA_WRITE)) { in mtip_handle_tfe()
734 fis->command == ATA_CMD_FPDMA_WRITE ? in mtip_handle_tfe()
784 struct mtip_cmd *command; in mtip_workq_sdbfx() local
[all …]
/linux-4.4.14/drivers/char/
Dtb0219.c38 static void (*old_machine_restart)(char *command);
133 static inline int set_led(char command) in set_led() argument
135 tb0219_write(TB0219_LED, command); in set_led()
140 static inline int set_gpio_output_pin(unsigned int pin, char command) in set_gpio_output_pin() argument
145 if (command != '0' && command != '1') in set_gpio_output_pin()
150 if (command == '0') in set_gpio_output_pin()
267 static void tb0219_restart(char *command) in tb0219_restart() argument
/linux-4.4.14/Documentation/i2c/
Dfunctionality24 I2C_FUNC_SMBUS_QUICK Handles the SMBus write_quick command
25 I2C_FUNC_SMBUS_READ_BYTE Handles the SMBus read_byte command
26 I2C_FUNC_SMBUS_WRITE_BYTE Handles the SMBus write_byte command
27 I2C_FUNC_SMBUS_READ_BYTE_DATA Handles the SMBus read_byte_data command
28 I2C_FUNC_SMBUS_WRITE_BYTE_DATA Handles the SMBus write_byte_data command
29 I2C_FUNC_SMBUS_READ_WORD_DATA Handles the SMBus read_word_data command
30 I2C_FUNC_SMBUS_WRITE_WORD_DATA Handles the SMBus write_byte_data command
31 I2C_FUNC_SMBUS_PROC_CALL Handles the SMBus process_call command
32 I2C_FUNC_SMBUS_READ_BLOCK_DATA Handles the SMBus read_block_data command
33 I2C_FUNC_SMBUS_WRITE_BLOCK_DATA Handles the SMBus write_block_data command
[all …]
Dsmbus-protocol16 SMBus adapters and I2C adapters (the SMBus command set is automatically
67 the previous SMBus command.
143 This command selects a device register (through the Comm byte), sends
155 This command reads a block of up to 32 bytes from a device, from a
168 The opposite of the Block Read command, this writes up to 32 bytes to
183 This command selects a device register (through the Comm byte), sends
195 This command is sent from a SMBus device acting as a master to the
197 It is the same form as Write Word, with the command code replaced by the
254 This command reads a block of bytes from a device, from a
266 The opposite of the Block Read command, this writes bytes to
[all …]
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c746 u32 command = 0; in ixgb_read_phy_reg() local
753 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
758 IXGB_WRITE_REG(hw, MSCA, command); in ixgb_read_phy_reg()
771 command = IXGB_READ_REG(hw, MSCA); in ixgb_read_phy_reg()
773 if ((command & IXGB_MSCA_MDI_COMMAND) == 0) in ixgb_read_phy_reg()
777 ASSERT((command & IXGB_MSCA_MDI_COMMAND) == 0); in ixgb_read_phy_reg()
780 command = ((reg_address << IXGB_MSCA_NP_ADDR_SHIFT) | in ixgb_read_phy_reg()
785 IXGB_WRITE_REG(hw, MSCA, command); in ixgb_read_phy_reg()
798 command = IXGB_READ_REG(hw, MSCA); in ixgb_read_phy_reg()
800 if ((command & IXGB_MSCA_MDI_COMMAND) == 0) in ixgb_read_phy_reg()
[all …]
/linux-4.4.14/drivers/pci/hotplug/
Dpciehp_pci.c83 u16 command; in pciehp_unconfigure_device() local
118 pci_read_config_word(dev, PCI_COMMAND, &command); in pciehp_unconfigure_device()
119 command &= ~(PCI_COMMAND_MASTER | PCI_COMMAND_SERR); in pciehp_unconfigure_device()
120 command |= PCI_COMMAND_INTX_DISABLE; in pciehp_unconfigure_device()
121 pci_write_config_word(dev, PCI_COMMAND, command); in pciehp_unconfigure_device()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c410 struct dmae_cmd *command = p_hwfn->dmae_info.p_dmae_cmd; in qed_dmae_post_command() local
415 if ((((command->dst_addr_lo == 0) && (command->dst_addr_hi == 0)) || in qed_dmae_post_command()
416 ((command->src_addr_lo == 0) && (command->src_addr_hi == 0)))) { in qed_dmae_post_command()
421 le32_to_cpu(command->opcode), in qed_dmae_post_command()
422 le16_to_cpu(command->opcode_b), in qed_dmae_post_command()
423 le16_to_cpu(command->length), in qed_dmae_post_command()
424 le32_to_cpu(command->src_addr_hi), in qed_dmae_post_command()
425 le32_to_cpu(command->src_addr_lo), in qed_dmae_post_command()
426 le32_to_cpu(command->dst_addr_hi), in qed_dmae_post_command()
427 le32_to_cpu(command->dst_addr_lo)); in qed_dmae_post_command()
[all …]
/linux-4.4.14/sound/drivers/
Dportman2x4.c224 int command = ((port + 4) << 1); in portman_write_midi() local
235 command |= INT_EN; in portman_write_midi()
243 portman_write_command(pm, command); in portman_write_midi()
261 portman_write_command(pm, command | STROBE); in portman_write_midi()
272 portman_write_command(pm, command); in portman_write_midi()
377 int command = INT_EN; in portman_data_avail() local
380 command |= RXDATA0; in portman_data_avail()
383 command |= RXDATA1; in portman_data_avail()
387 portman_write_command(pm, command); in portman_data_avail()
404 unsigned char command = 0; in portman_flush_input() local
[all …]
/linux-4.4.14/drivers/media/usb/gspca/
Dsn9c2028.c72 static int sn9c2028_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_command() argument
76 PDEBUG(D_USBO, "sending command %02x%02x%02x%02x%02x%02x", command[0], in sn9c2028_command()
77 command[1], command[2], command[3], command[4], command[5]); in sn9c2028_command()
79 memcpy(gspca_dev->usb_buf, command, 6); in sn9c2028_command()
129 static int sn9c2028_long_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_long_command() argument
134 status = sn9c2028_command(gspca_dev, command); in sn9c2028_long_command()
160 static int sn9c2028_short_command(struct gspca_dev *gspca_dev, u8 *command) in sn9c2028_short_command() argument
164 err_code = sn9c2028_command(gspca_dev, command); in sn9c2028_short_command()
Dfinepix.c63 static int command(struct gspca_dev *gspca_dev, in command() function
109 ret = command(gspca_dev, 1); in dostream()
201 ret = command(gspca_dev, 0); in sd_start()
220 ret = command(gspca_dev, 1); in sd_start()
/linux-4.4.14/include/net/irda/
Dirlap_frame.h143 __u8 command,
152 void irlap_send_rr_frame(struct irlap_cb *self, int command);
158 void irlap_resend_rejected_frames(struct irlap_cb *, int command);
159 void irlap_resend_rejected_frame(struct irlap_cb *self, int command);
162 __u8 caddr, int command);
/linux-4.4.14/drivers/spi/
Dspi-tegra20-sflash.c267 u32 command; in tegra_sflash_start_transfer_one() local
282 command = tsd->def_command_reg; in tegra_sflash_start_transfer_one()
283 command |= SPI_BIT_LENGTH(t->bits_per_word - 1); in tegra_sflash_start_transfer_one()
284 command |= SPI_CS_VAL_HIGH; in tegra_sflash_start_transfer_one()
286 command &= ~SPI_MODES; in tegra_sflash_start_transfer_one()
288 command |= SPI_CK_SDA_FALLING; in tegra_sflash_start_transfer_one()
291 command |= SPI_ACTIVE_SCLK_DRIVE_HIGH; in tegra_sflash_start_transfer_one()
293 command |= SPI_ACTIVE_SCLK_DRIVE_LOW; in tegra_sflash_start_transfer_one()
294 command |= SPI_CS0_EN << spi->chip_select; in tegra_sflash_start_transfer_one()
296 command = tsd->command_reg; in tegra_sflash_start_transfer_one()
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Ddebugfs-olpc10 To execute a command, write data with the format: CC:N A A A A
11 CC is the (hex) command, N is the count of expected reply bytes, and A A A A
15 a command. Hex reply bytes will be returned, *whether or not* they came from
16 the immediately previous command.
/linux-4.4.14/Documentation/s390/
D3270.txt19 the command "DEF GRAF <hex-address>" This paper presumes you will be
29 workstation. With the DEF GRAF command, an application such as xterm,
70 2. Use the DIAL command in that window.
91 command "DIAL <vmguestname>"). Since the line-mode major number is
116 the telinit command with the q operand:
135 the command, for example,
145 2. Use the DIAL command instead of the LOGIN command to connect
156 A. Is the driver loaded? Use the lsmod command (no operands)
158 the command "insmod tub3270". Does that command give error
162 above? Use the grep command to find out; for instance, issue
[all …]
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dcmd.c230 le16_to_cpu(cmdnode->cmdbuf->command)); in lbtf_queue_cmd()
242 uint16_t command; in lbtf_submit_command() local
253 command = le16_to_cpu(cmd->command); in lbtf_submit_command()
256 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbtf_submit_command()
595 le16_to_cpu(cmd->command)); in lbtf_execute_next_command()
608 uint16_t command, struct cmd_header *in_cmd, int in_cmd_size, in __lbtf_cmd_async() argument
641 cmdnode->cmdbuf->command = cpu_to_le16(command); in __lbtf_cmd_async()
646 lbtf_deb_host("PREP_CMD: command 0x%04x\n", command); in __lbtf_cmd_async()
657 void lbtf_cmd_async(struct lbtf_private *priv, uint16_t command, in lbtf_cmd_async() argument
661 __lbtf_cmd_async(priv, command, in_cmd, in_cmd_size, NULL, 0); in lbtf_cmd_async()
[all …]
/linux-4.4.14/drivers/hid/
Dhid-roccat-common.c111 uint command, void const *buf, uint size) in roccat_common2_send_with_status() argument
115 retval = roccat_common2_send(usb_dev, command, buf, size); in roccat_common2_send_with_status()
135 size_t real_size, uint command) in roccat_common2_sysfs_read() argument
150 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in roccat_common2_sysfs_read()
159 size_t real_size, uint command) in roccat_common2_sysfs_write() argument
171 retval = roccat_common2_send_with_status(usb_dev, command, buf, real_size); in roccat_common2_sysfs_write()
Dhid-roccat-kovaplus.h32 uint8_t command; /* KOVAPLUS_COMMAND_ACTUAL_PROFILE */ member
38 uint8_t command; /* KOVAPLUS_COMMAND_PROFILE_SETTINGS */ member
50 uint8_t command; /* KOVAPLUS_COMMAND_PROFILE_BUTTONS */ member
57 uint8_t command; /* KOVAPLUS_COMMAND_INFO */ member
Dhid-roccat-arvo.h18 uint8_t command; /* ARVO_COMMAND_MODE_KEY */ member
31 uint8_t command; /* ARVO_COMMAND_KEY_MASK */ member
37 uint8_t command; /* ARVO_COMMAND_ACTUAL_PROFILE */ member
Dhid-roccat-common.h23 uint8_t command; member
33 uint command, void const *buf, uint size);
45 size_t real_size, uint command);
48 size_t real_size, uint command);
Dhid-roccat-pyra.h31 uint8_t command; /* PYRA_COMMAND_SETTINGS */ member
37 uint8_t command; /* PYRA_COMMAND_PROFILE_SETTINGS */ member
52 uint8_t command; /* PYRA_COMMAND_INFO */ member
Dhid-roccat-lua.c31 size_t real_size, uint command) in lua_sysfs_read() argument
45 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in lua_sysfs_read()
53 size_t real_size, uint command) in lua_sysfs_write() argument
64 retval = roccat_common2_send(usb_dev, command, buf, real_size); in lua_sysfs_write()
Dhid-roccat-isku.c36 static int isku_receive(struct usb_device *usb_dev, uint command, in isku_receive() argument
39 return roccat_common2_receive(usb_dev, command, buf, size); in isku_receive()
56 buf.command = ISKU_COMMAND_ACTUAL_PROFILE; in isku_set_actual_profile()
122 size_t real_size, uint command) in isku_sysfs_read() argument
137 retval = isku_receive(usb_dev, command, buf, count); in isku_sysfs_read()
145 size_t real_size, uint command) in isku_sysfs_write() argument
157 retval = roccat_common2_send_with_status(usb_dev, command, in isku_sysfs_write()
Dhid-roccat-arvo.c66 temp_buf.command = ARVO_COMMAND_MODE_KEY; in arvo_sysfs_set_mode_key()
116 temp_buf.command = ARVO_COMMAND_KEY_MASK; in arvo_sysfs_set_key_mask()
173 temp_buf.command = ARVO_COMMAND_ACTUAL_PROFILE; in arvo_sysfs_set_actual_profile()
192 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() argument
204 retval = roccat_common2_send(usb_dev, command, buf, real_size); in arvo_sysfs_write()
212 size_t count, size_t real_size, uint command) in arvo_sysfs_read() argument
227 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in arvo_sysfs_read()
/linux-4.4.14/Documentation/video4linux/cx2341x/
Dfw-upload.txt19 - Issue the FWapi command to stop the encoder if it is running. Wait for the
20 command to complete.
21 - Issue the FWapi command to stop the decoder if it is running. Wait for the
22 command to complete.
23 - Issue the I2C command to the digitizer to stop emitting VSYNC events.
24 - Issue the FWapi command to halt the encoder's firmware.
26 - Issue the FWapi command to halt the decoder's firmware.
/linux-4.4.14/drivers/mtd/nand/
Dcafe_nand.c158 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command, in cafe_nand_cmdfunc() argument
167 command, column, page_addr); in cafe_nand_cmdfunc()
169 if (command == NAND_CMD_ERASE2 || command == NAND_CMD_PAGEPROG) { in cafe_nand_cmdfunc()
171 cafe_writel(cafe, cafe->ctl2 | 0x100 | command, NAND_CTRL2); in cafe_nand_cmdfunc()
183 command == NAND_CMD_READOOB) { in cafe_nand_cmdfunc()
185 command = NAND_CMD_READ0; in cafe_nand_cmdfunc()
209 ctl1 = 0x80000000 | command | (cafe->ctl1 & CTRL1_CHIPSELECT); in cafe_nand_cmdfunc()
212 if (command == NAND_CMD_READID || command == NAND_CMD_STATUS) { in cafe_nand_cmdfunc()
218 } else if (command == NAND_CMD_READ0 || command == NAND_CMD_READ1 || in cafe_nand_cmdfunc()
219 command == NAND_CMD_READOOB || command == NAND_CMD_RNDOUT) { in cafe_nand_cmdfunc()
[all …]
Dnuc900_nand.c136 static void nuc900_nand_command_lp(struct mtd_info *mtd, unsigned int command, in nuc900_nand_command_lp() argument
144 if (command == NAND_CMD_READOOB) { in nuc900_nand_command_lp()
146 command = NAND_CMD_READ0; in nuc900_nand_command_lp()
149 write_cmd_reg(nand, command & 0xff); in nuc900_nand_command_lp()
155 !nand_opcode_8bits(command)) in nuc900_nand_command_lp()
172 switch (command) { in nuc900_nand_command_lp()
188 write_cmd_reg(nand, command); in nuc900_nand_command_lp()
Dsh_flctl.c698 static void flctl_cmdfunc(struct mtd_info *mtd, unsigned int command, in flctl_cmdfunc() argument
707 if (command != NAND_CMD_PAGEPROG) in flctl_cmdfunc()
710 switch (command) { in flctl_cmdfunc()
719 set_cmd_regs(mtd, command, (NAND_CMD_READSTART << 8) in flctl_cmdfunc()
720 | command); in flctl_cmdfunc()
722 set_cmd_regs(mtd, command, command); in flctl_cmdfunc()
740 set_cmd_regs(mtd, command, (NAND_CMD_READSTART << 8) in flctl_cmdfunc()
744 set_cmd_regs(mtd, command, command); in flctl_cmdfunc()
755 set_cmd_regs(mtd, command, (NAND_CMD_RNDOUTSTART << 8) in flctl_cmdfunc()
756 | command); in flctl_cmdfunc()
[all …]
Dau1550nd.c268 static void au1550_command(struct mtd_info *mtd, unsigned command, int column, int page_addr) in au1550_command() argument
280 if (command == NAND_CMD_SEQIN) { in au1550_command()
296 ctx->write_byte(mtd, command); in au1550_command()
308 !nand_opcode_8bits(command)) in au1550_command()
315 if (command == NAND_CMD_READ0 || in au1550_command()
316 command == NAND_CMD_READ1 || in au1550_command()
317 command == NAND_CMD_READOOB) { in au1550_command()
346 switch (command) { in au1550_command()
Dhisi504_nand.c143 unsigned int command; member
173 if (host->command == NAND_CMD_ERASE2) { in wait_controller_finished()
207 if (host->command == NAND_CMD_READOOB) in hisi_nfc_dma_transfer()
374 if (host->command == NAND_CMD_STATUS) in hisi_nfc_read_byte()
379 if (host->command == NAND_CMD_READID) in hisi_nfc_read_byte()
417 unsigned int command = host->command; in set_addr() local
427 !nand_opcode_8bits(command)) in set_addr()
440 if (host->command == NAND_CMD_ERASE1) in set_addr()
448 static void hisi_nfc_cmdfunc(struct mtd_info *mtd, unsigned command, int column, in hisi_nfc_cmdfunc() argument
456 host->command = command; in hisi_nfc_cmdfunc()
[all …]
Dpxa3xx_nand.c895 static void prepare_start_command(struct pxa3xx_nand_info *info, int command) in prepare_start_command() argument
913 switch (command) { in prepare_start_command()
933 if (command == NAND_CMD_READ0 || in prepare_start_command()
934 command == NAND_CMD_READOOB || in prepare_start_command()
935 command == NAND_CMD_SEQIN) { in prepare_start_command()
943 static int prepare_set_command(struct pxa3xx_nand_info *info, int command, in prepare_set_command() argument
960 if (command == NAND_CMD_SEQIN) in prepare_set_command()
966 switch (command) { in prepare_set_command()
974 if (command == NAND_CMD_READOOB) in prepare_set_command()
1008 | command; in prepare_set_command()
[all …]
Dmxc_nand.c1125 static void mxc_nand_command(struct mtd_info *mtd, unsigned command, in mxc_nand_command() argument
1132 command, column, page_addr); in mxc_nand_command()
1138 switch (command) { in mxc_nand_command()
1141 host->devtype_data->send_cmd(host, command, false); in mxc_nand_command()
1148 host->devtype_data->send_cmd(host, command, true); in mxc_nand_command()
1151 command, column, page_addr); in mxc_nand_command()
1157 if (command == NAND_CMD_READ0) in mxc_nand_command()
1162 command = NAND_CMD_READ0; /* only READ0 is valid */ in mxc_nand_command()
1164 host->devtype_data->send_cmd(host, command, false); in mxc_nand_command()
1167 command, column, page_addr); in mxc_nand_command()
[all …]
/linux-4.4.14/drivers/net/wimax/i2400m/
Di2400m.h744 hdr->command = cpu_to_le32( in i2400m_brh_set_opcode()
745 (le32_to_cpu(hdr->command) & ~I2400M_BRH_OPCODE_MASK) in i2400m_brh_set_opcode()
752 return le32_to_cpu(hdr->command) & I2400M_BRH_OPCODE_MASK; in i2400m_brh_get_opcode()
758 return (le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_MASK) in i2400m_brh_get_response()
765 return le32_to_cpu(hdr->command) & I2400M_BRH_USE_CHECKSUM; in i2400m_brh_get_use_checksum()
772 return le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_REQUIRED; in i2400m_brh_get_response_required()
778 return le32_to_cpu(hdr->command) & I2400M_BRH_DIRECT_ACCESS; in i2400m_brh_get_direct_access()
784 return (le32_to_cpu(hdr->command) & I2400M_BRH_SIGNATURE_MASK) in i2400m_brh_get_signature()
/linux-4.4.14/drivers/misc/
Dvexpress-syscfg.c60 u32 command, status; in vexpress_syscfg_exec() local
67 command = readl(syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
68 if (WARN_ON(command & SYS_CFGCTRL_START)) in vexpress_syscfg_exec()
71 command = func->template[index]; in vexpress_syscfg_exec()
72 command |= SYS_CFGCTRL_START; in vexpress_syscfg_exec()
73 command |= write ? SYS_CFGCTRL_WRITE : 0; in vexpress_syscfg_exec()
80 func, command, *data); in vexpress_syscfg_exec()
83 writel(command, syscfg->base + SYS_CFGCTRL); in vexpress_syscfg_exec()
/linux-4.4.14/drivers/char/agp/
Duninorth-agp.c229 u32 command, scratch, status; in uninorth_agp_enable() local
236 command = agp_collect_device_status(bridge, mode, status); in uninorth_agp_enable()
237 command |= PCI_AGP_COMMAND_AGP; in uninorth_agp_enable()
244 command &= ~AGPSTAT2_4X; in uninorth_agp_enable()
252 if ((command >> AGPSTAT_RQ_DEPTH_SHIFT) > 7) in uninorth_agp_enable()
253 command = (command & ~AGPSTAT_RQ_DEPTH) in uninorth_agp_enable()
263 command); in uninorth_agp_enable()
274 agp_device_command(command, (status & AGPSTAT_MODE_3_0) != 0); in uninorth_agp_enable()
277 agp_device_command(command, false); in uninorth_agp_enable()
347 u32 command; in agp_uninorth_resume() local
[all …]
Dsis-agp.c78 u32 command; in sis_delayed_enable() local
84 pci_read_config_dword(agp_bridge->dev, agp_bridge->capndx + PCI_AGP_STATUS, &command); in sis_delayed_enable()
85 command = agp_collect_device_status(bridge, mode, command); in sis_delayed_enable()
86 command |= AGPSTAT_AGP_ENABLE; in sis_delayed_enable()
87 rate = (command & 0x7) << 2; in sis_delayed_enable()
97 pci_write_config_dword(device, agp + PCI_AGP_COMMAND, command); in sis_delayed_enable()
Dparisc-agp.c205 u32 command; in parisc_agp_enable() local
207 command = readl(info->lba_regs + info->lba_cap_offset + PCI_AGP_STATUS); in parisc_agp_enable()
209 command = agp_collect_device_status(bridge, mode, command); in parisc_agp_enable()
210 command |= 0x00000100; in parisc_agp_enable()
212 writel(command, info->lba_regs + info->lba_cap_offset + PCI_AGP_COMMAND); in parisc_agp_enable()
214 agp_device_command(command, (mode & AGP8X_MODE) != 0); in parisc_agp_enable()
Dsworks-agp.c402 u32 command; in serverworks_agp_enable() local
406 &command); in serverworks_agp_enable()
408 command = agp_collect_device_status(bridge, mode, command); in serverworks_agp_enable()
410 command &= ~0x10; /* disable FW */ in serverworks_agp_enable()
411 command &= ~0x08; in serverworks_agp_enable()
413 command |= 0x100; in serverworks_agp_enable()
417 command); in serverworks_agp_enable()
419 agp_device_command(command, false); in serverworks_agp_enable()
/linux-4.4.14/arch/mips/
DKconfig.debug36 bool "Built-in kernel command line"
40 by default specifies the kernel command line options. However,
42 default kernel command line or add a few extra options to it.
44 command line options directly into the kernel. For that, you
48 The built-in options will be concatenated to the default command
50 command line will be ignored and replaced by the built-in string.
53 the command line from the firmware or the second-stage bootloader.
56 string "Default kernel command string"
62 when you want to add some extra options to the command line or ignore
63 the default command line, you can supply some command-line options at
[all …]
/linux-4.4.14/drivers/net/ethernet/i825xx/
D82596.c229 unsigned short command; member
292 unsigned short command; member
419 dev->name, str, lp->scb.status, lp->scb.command); in wait_istat()
429 while (--delcnt && lp->scb.command) in wait_cmd()
433 dev->name, str, lp->scb.status, lp->scb.command); in wait_cmd()
445 while (--delcnt && c->command) in wait_cfg()
469 &lp->scb, lp->scb.status, lp->scb.command, in i596_display_data()
478 cmd, cmd->status, cmd->command, cmd->b_next); in i596_display_data()
688 lp->scb.command = 0; in init_i596_mem()
710 lp->cf_cmd.cmd.command = CmdConfigure; in init_i596_mem()
[all …]
Dlib82596.c196 unsigned short command; member
276 unsigned short command; member
388 while (--delcnt && dma->scb.command) { in wait_cmd()
396 SWAP16(dma->scb.command)); in wait_cmd()
417 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), in i596_display_data()
429 cmd, SWAP16(cmd->status), SWAP16(cmd->command), in i596_display_data()
598 dma->scb.command = 0; in init_i596_mem()
604 dma->cf_cmd.cmd.command = SWAP16(CmdConfigure); in init_i596_mem()
610 dma->sa_cmd.cmd.command = SWAP16(CmdSASetup); in init_i596_mem()
615 dma->tdr_cmd.cmd.command = SWAP16(CmdTDR); in init_i596_mem()
[all …]
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_proto.c40 request->command = msg->command; in prepare_packet()
79 status_msg->command = EC_CMD_GET_COMMS_STATUS; in send_command()
123 out[1] = msg->command; in cros_ec_prepare_tx()
142 msg->command); in cros_ec_check_result()
146 msg->command, msg->result); in cros_ec_check_result()
168 msg->command = EC_CMD_PASSTHRU_OFFSET(devidx) | EC_CMD_GET_PROTOCOL_INFO; in cros_ec_host_command_proto_query()
201 msg->command = EC_CMD_HELLO; in cros_ec_host_command_proto_query_v2()
358 if (msg->command < EC_CMD_PASSTHRU_OFFSET(1)) { in cros_ec_cmd_xfer()
Dcros_ec_sysfs.c116 msg->command = EC_CMD_REBOOT_EC + ec->cmd_offset; in store_ec_reboot()
152 msg->command = EC_CMD_GET_VERSION + ec->cmd_offset; in show_ec_version()
180 msg->command = EC_CMD_GET_BUILD_INFO + ec->cmd_offset; in show_ec_version()
196 msg->command = EC_CMD_GET_CHIP_INFO + ec->cmd_offset; in show_ec_version()
220 msg->command = EC_CMD_GET_BOARD_VERSION + ec->cmd_offset; in show_ec_version()
257 msg->command = EC_CMD_FLASH_INFO + ec->cmd_offset; in show_ec_flashinfo()
/linux-4.4.14/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt3 Basic structure used in network communication is following command:
19 Commands can be embedded into transaction command (which in turn has own command),
25 @cmd - command number, which specifies command to be processed. Following
50 but size of the requested data is incorporated here. It does not include size of the command
53 @id - id of the object this command operates on. Each command can use it for own purpose.
55 @start - start of the object this command operates on. Each command can use it for own purpose.
62 This command is used to sync content of the remote dir to the client.
71 This command is used to read data from remote server.
124 @size - incorporates all embedded command sizes including theirs header sizes.
140 Metadata update command.
/linux-4.4.14/tools/perf/Documentation/
Dperf-lock.txt16 and statistics with this 'perf lock' command.
18 'perf lock record <command>' records lock events
19 between start and end <command>. And this command
Dperf-mem.txt11 'perf mem' [<options>] (record [<command>] | report)
15 "perf mem record" runs a command and gathers memory operation data
28 <command>...::
29 Any command you can specify in a shell.
Dperf-help.txt16 command and a list of the most commonly used perf commands are printed
22 If a perf command is named, a manual page for that command is brought
Dperf-script.txt12 'perf script' [<options>] record <script> [<record-options>] <command>
14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command>
19 This command reads the input file and displays the trace recorded.
31 'perf script record <script> <command>' to record the events required
34 language extension. If <command> is not specified, the events are
41 record <script>' is used and should be present for this command to
45 'perf script <script> <required-script-args> <command>' to both
49 actual script name minus any language extension. If <command> is
52 should be specified before <command>. This mode doesn't allow for
75 <command>...::
[all …]
Dperf-stat.txt6 perf-stat - Run a command and gather performance counter statistics
11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] -- <command> [<options>]
16 This command runs a command and gathers performance counter statistics
22 <command>...::
23 Any command you can specify in a shell.
75 repeat command and print average + stddev (max: 100). 0 means forever.
114 corresponding events, i.e., they always refer to events defined earlier on the command
/linux-4.4.14/Documentation/input/
Dsentelic.txt12 @4. Issuing the "Get device ID" command (0xF2) and waits for the response;
196 0: left button is generated by the on-pad command
290 0: left button is generated by the on-pad command
330 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
358 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
393 Bit4 => 0: The LEFT button is generated by on-pad command(OPC)
428 command. Host will receive the packet which Middle, Right, Left button will
503 1. send 0xf3 PS/2 command to FSP;
505 2. send 0x66 PS/2 command to FSP;
507 3. send 0x88 PS/2 command to FSP;
[all …]
Datarikbd.txt118 this mode by sending an 'Interrogate Joystick' command to the ikbd.
132 command in this mode not only stop the output but also temporarily stops
141 until reset or commanded into another mode. The PAUSE command in this mode not
179 the mouse. After any joystick command, the ikbd assumes that joysticks are
180 connected to both Joystick0 and Joystick1. Any mouse command (except MOUSE
182 both buttons are logically connected to it. If a mouse disable command is
184 assigned to Joystick1 (until the mouse is reenabled by another mouse command).
197 N.B. The RESET command is the only two byte command understood by the ikbd.
198 Any byte following an 0x80 command byte other than 0x01 is ignored (and causes
202 Executing the RESET command returns the keyboard to its default (power-up)
[all …]
Duserio.txt33 "type" describes the type of command that is being sent. This can be any one
35 that goes along with the command. In the event that the command doesn't have an
37 Each command should be sent by writing the struct directly to the character
38 device. In the event that the command you send is invalid, an error will be
40 to the kernel log. Only one command can be sent at a time, any additional data
41 written to the character device after the initial command will be ignored.
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-bus.c116 dprintk(DBGLVL_BUS, " .command = 0x%x\n", m->command); in saa7164_bus_dumpmsg()
230 msg->command = (__force u32)cpu_to_le32(msg->command); in saa7164_bus_set()
298 msg->command = le32_to_cpu((__force __le32)msg->command); in saa7164_bus_set()
394 msg_tmp.command = le32_to_cpu((__force __le32)msg_tmp.command); in saa7164_bus_get()
405 if ((msg_tmp.id != msg->id) || (msg_tmp.command != msg->command) || in saa7164_bus_get()
479 msg->command = le32_to_cpu((__force __le32)msg->command); in saa7164_bus_get()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dcafe-driver.c169 u16 addr, u8 command, u8 value) in cafe_smbus_write_data() argument
184 rval = value | ((command << TWSIC1_ADDR_SHIFT) & TWSIC1_ADDR); in cafe_smbus_write_data()
215 command, value); in cafe_smbus_write_data()
220 command, value); in cafe_smbus_write_data()
248 u16 addr, u8 command, u8 *value) in cafe_smbus_read_data() argument
263 rval = TWSIC1_READ | ((command << TWSIC1_ADDR_SHIFT) & TWSIC1_ADDR); in cafe_smbus_read_data()
274 cam_err(cam, "SMBUS read (%02x/%02x) error\n", addr, command); in cafe_smbus_read_data()
279 command); in cafe_smbus_read_data()
291 unsigned short flags, char rw, u8 command, in cafe_smbus_xfer() argument
307 ret = cafe_smbus_write_data(cam, addr, command, data->byte); in cafe_smbus_xfer()
[all …]
/linux-4.4.14/tools/perf/
Dbuiltin-probe.c51 int command; /* Command short_name */ member
222 if (params.command == 'L') { in opt_show_lines()
228 params.command = opt->short_name; in opt_show_lines()
248 params.command = opt->short_name; in opt_show_vars()
257 params.command = opt->short_name; in opt_add_probe_event()
268 params.command = opt->short_name; in opt_set_filter_with_command()
534 if (params.command && params.command != 'a') { in __cmd_probe()
543 params.command = 'a'; in __cmd_probe()
562 switch (params.command) { in __cmd_probe()
/linux-4.4.14/arch/s390/kernel/
Druntime_instr.c57 SYSCALL_DEFINE1(s390_runtime_instr, int, command) in SYSCALL_DEFINE1() argument
64 if (command == S390_RUNTIME_INSTR_STOP) { in SYSCALL_DEFINE1()
71 if (command != S390_RUNTIME_INSTR_START) in SYSCALL_DEFINE1()
/linux-4.4.14/arch/frv/mb93090-mb00/
Dpci-frv.c108 u16 command; in pcibios_allocate_resources() local
112 pci_read_config_word(dev, PCI_COMMAND, &command); in pcibios_allocate_resources()
120 disabled = !(command & PCI_COMMAND_IO); in pcibios_allocate_resources()
122 disabled = !(command & PCI_COMMAND_MEMORY); in pcibios_allocate_resources()
/linux-4.4.14/drivers/staging/vt6656/
Dwcmd.c59 priv->command = priv->cmd_queue[priv->cmd_dequeue_idx]; in vnt_cmd_complete()
65 switch (priv->command) { in vnt_cmd_complete()
169 int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) in vnt_schedule_command() argument
175 priv->cmd_queue[priv->cmd_enqueue_idx] = command; in vnt_schedule_command()
/linux-4.4.14/drivers/i2c/muxes/
Di2c-mux-pca9541.c92 static int pca9541_reg_write(struct i2c_client *client, u8 command, u8 val) in pca9541_reg_write() argument
104 buf[0] = command; in pca9541_reg_write()
115 command, in pca9541_reg_write()
126 static int pca9541_reg_read(struct i2c_client *client, u8 command) in pca9541_reg_read() argument
138 .buf = &command in pca9541_reg_read()
158 command, in pca9541_reg_read()
/linux-4.4.14/fs/cifs/
Dsmb2misc.c103 int command; in smb2_check_message() local
142 command = le16_to_cpu(hdr->Command); in smb2_check_message()
143 if (command >= NUMBER_OF_SMB2_COMMANDS) { in smb2_check_message()
144 cifs_dbg(VFS, "Illegal SMB2 command %d\n", command); in smb2_check_message()
148 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()
149 if (command != SMB2_OPLOCK_BREAK_HE && (hdr->Status == 0 || in smb2_check_message()
153 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()
155 } else if (command == SMB2_OPLOCK_BREAK_HE && (hdr->Status == 0) in smb2_check_message()
177 if (command == SMB2_CREATE_HE && in smb2_check_message()
181 if (clc_len + 20 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message()
/linux-4.4.14/drivers/usb/serial/
Dwhiteheat.c162 static int firm_send_command(struct usb_serial_port *port, __u8 command,
259 __u8 *command; in whiteheat_attach() local
266 command = kmalloc(2, GFP_KERNEL); in whiteheat_attach()
267 if (!command) in whiteheat_attach()
269 command[0] = WHITEHEAT_GET_HW_INFO; in whiteheat_attach()
270 command[1] = 0; in whiteheat_attach()
281 ret = usb_bulk_msg(serial->dev, pipe, command, 2, in whiteheat_attach()
307 } else if (result[0] != command[0]) { in whiteheat_attach()
331 kfree(command); in whiteheat_attach()
347 kfree(command); in whiteheat_attach()
[all …]
/linux-4.4.14/Documentation/block/
Dpr.txt67 This ioctl command registers a new reservation if the new_key argument
78 This ioctl command reserves the device and thus restricts access for other
86 This ioctl command releases the reservation specified by key and flags
92 This ioctl command releases the existing reservation referred to by
99 This ioctl command works like IOC_PR_PREEMPT except that it also aborts
100 any outstanding command sent over a connection identified by old_key.
104 This ioctl command unregisters both key and any other reservation key
Dcmdline-partition.txt1 Embedded device command line partition parsing
4 Support for reading the block device partition table from the command line.
10 The format for the command line is just like mtdparts:
/linux-4.4.14/tools/build/
DBuild.include38 # Echo command
60 # - command line to create object 'cmd_object :='
71 # if_changed_dep - execute command if any prerequisite is newer than
72 # target, or command line has changed and update
78 # if_changed - execute command if any prerequisite is newer than
79 # target, or command line has changed
/linux-4.4.14/Documentation/powerpc/
Dqe_firmware.txt127 | 0 | General | Indicates that prior to each host command |
128 | | push command | given by the application, the software must |
129 | | | assert a special host command (push command)|
134 | | RX INIT | command, the host must issue another special|
135 | | push command | command (push command) and immediately |
137 | | | command. (This makes the sequence of |
144 | | command | command: "Add/Remove entry in Hash Lookup |
146 | | | must issue another command. |
151 | | command | some pointers in the Ethernet thread pages |
157 | | command | INIT command, user must issue this command |
/linux-4.4.14/sound/usb/line6/
Dmidibuf.c136 int command; in line6_midibuf_read() local
156 command = this->buf[this->pos_read]; in line6_midibuf_read()
158 if (command & 0x80) { in line6_midibuf_read()
159 midi_length = midibuf_message_length(command); in line6_midibuf_read()
160 this->command_prev = command; in line6_midibuf_read()
/linux-4.4.14/arch/cris/arch-v32/mach-fs/
Ddram_init.S71 ; Issue NOP command
81 ; Issue initialization command sequence
85 move.b [$r2+], $r6 ; Load command
88 ; Wait 80 ns between each command
92 cmp.d $r2, $r3 ; Last command?
/linux-4.4.14/drivers/staging/comedi/drivers/
Dni_usb6501.c174 static int ni6501_port_command(struct comedi_device *dev, int command, in ni6501_port_command() argument
183 if (command != SET_PORT_DIR && !bitmap) in ni6501_port_command()
188 switch (command) { in ni6501_port_command()
237 if (command == READ_PORT) { in ni6501_port_command()
256 static int ni6501_counter_command(struct comedi_device *dev, int command, in ni6501_counter_command() argument
265 if ((command == READ_COUNTER || command == WRITE_COUNTER) && !val) in ni6501_counter_command()
270 switch (command) { in ni6501_counter_command()
321 if (command == READ_COUNTER) { in ni6501_counter_command()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dsleep-s3c2410.S53 orr r7, r7, #S3C2410_REFRESH_SELF @ SDRAM sleep command
55 orr r9, r9, #S3C2410_CLKCON_POWER @ power down command
65 streq r7, [r4] @ SDRAM sleep command
/linux-4.4.14/drivers/media/i2c/soc_camera/
Dmt9t112.c148 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read() argument
154 command = swab16(command); in __mt9t112_reg_read()
159 msg[0].buf = (u8 *)&command; in __mt9t112_reg_read()
180 u16 command, u16 data) in __mt9t112_reg_write() argument
186 command = swab16(command); in __mt9t112_reg_write()
189 memcpy(buf + 0, &command, 2); in __mt9t112_reg_write()
209 u16 command, in __mt9t112_reg_mask_set() argument
213 int val = __mt9t112_reg_read(client, command); in __mt9t112_reg_mask_set()
220 return __mt9t112_reg_write(client, command, val); in __mt9t112_reg_mask_set()
224 static int __mt9t112_mcu_read(const struct i2c_client *client, u16 command) in __mt9t112_mcu_read() argument
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c311 uint32_t command; in ahd_pci_map_registers() local
319 command = ahd_pci_read_config(ahd->dev_softc, PCIR_COMMAND, 4); in ahd_pci_map_registers()
320 command &= ~(PCIM_CMD_PORTEN|PCIM_CMD_MEMEN); in ahd_pci_map_registers()
331 command | PCIM_CMD_MEMEN, 4); in ahd_pci_map_registers()
346 command |= PCIM_CMD_MEMEN; in ahd_pci_map_registers()
365 command |= PCIM_CMD_PORTEN; in ahd_pci_map_registers()
376 ahd_pci_write_config(ahd->dev_softc, PCIR_COMMAND, command, 4); in ahd_pci_map_registers()
Daic7xxx_osm_pci.c388 uint32_t command; in ahc_pci_map_registers() local
396 command = ahc_pci_read_config(ahc->dev_softc, PCIR_COMMAND, 4); in ahc_pci_map_registers()
397 command &= ~(PCIM_CMD_PORTEN|PCIM_CMD_MEMEN); in ahc_pci_map_registers()
406 command | PCIM_CMD_MEMEN, 4); in ahc_pci_map_registers()
425 command |= PCIM_CMD_MEMEN; in ahc_pci_map_registers()
444 command |= PCIM_CMD_PORTEN; in ahc_pci_map_registers()
454 ahc_pci_write_config(ahc->dev_softc, PCIR_COMMAND, command, 4); in ahc_pci_map_registers()
/linux-4.4.14/drivers/net/wireless/libertas/
Dcmd.c959 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { in lbs_queue_cmd()
968 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) in lbs_queue_cmd()
981 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_queue_cmd()
993 uint16_t command; in lbs_submit_command() local
1008 command = le16_to_cpu(cmd->command); in lbs_submit_command()
1011 if (command == CMD_802_11_SCAN || command == CMD_802_11_ASSOCIATE) in lbs_submit_command()
1015 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbs_submit_command()
1028 if (command == CMD_802_11_DEEP_SLEEP) { in lbs_submit_command()
1343 if (is_command_allowed_in_ps(le16_to_cpu(cmd->command))) { in lbs_execute_next_command()
1348 le16_to_cpu(cmd->command), in lbs_execute_next_command()
[all …]
/linux-4.4.14/drivers/input/mouse/
Dtouchkit_ps2.c73 int command; in touchkit_ps2_detect() local
77 command = TOUCHKIT_SEND_PARMS(2, 3, TOUCHKIT_CMD); in touchkit_ps2_detect()
79 if (ps2_command(&psmouse->ps2dev, param, command)) in touchkit_ps2_detect()
Dtrackpoint.c108 unsigned char command; member
140 trackpoint_write(&psmouse->ps2dev, attr->command, value); in trackpoint_set_int_attr()
148 .command = _command, \
176 trackpoint_toggle_bit(&psmouse->ps2dev, attr->command, attr->mask); in trackpoint_set_bit_attr()
187 .command = _command, \
201 _attr->command, _attr->mask, _tp->_name); \
210 trackpoint_attr_##_name.command, \
/linux-4.4.14/drivers/acpi/
Dsbshc.c109 u8 address, u8 command, u8 *data, u8 length) in acpi_smbus_transaction() argument
127 smb_hc_write(hc, ACPI_SMB_COMMAND, command); in acpi_smbus_transaction()
166 u8 command, u8 *data) in acpi_smbus_read() argument
168 return acpi_smbus_transaction(hc, protocol, address, command, data, 0); in acpi_smbus_read()
174 u8 command, u8 *data, u8 length) in acpi_smbus_write() argument
176 return acpi_smbus_transaction(hc, protocol, address, command, data, length); in acpi_smbus_write()
Dec.c156 u8 command; member
270 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command) in acpi_ec_write_cmd() argument
272 ec_dbg_raw("EC_SC(W) = 0x%2.2x", command); in acpi_ec_write_cmd()
273 outb(command, ec->command_addr); in acpi_ec_write_cmd()
465 (ec->curr && ec->curr->command == ACPI_EC_COMMAND_QUERY)) in acpi_ec_guard_event()
498 if (ec->curr->command == ACPI_EC_COMMAND_QUERY) { in ec_transaction_transition()
552 if (t->command == ACPI_EC_COMMAND_QUERY) in advance_transaction()
568 (t->command == ACPI_EC_COMMAND_QUERY)) { in advance_transaction()
576 acpi_ec_write_cmd(ec, t->command); in advance_transaction()
683 ec_dbg_req("Command(%s) started", acpi_ec_cmd_string(t->command)); in acpi_ec_transaction_unlocked()
[all …]
Dsbshc.h28 u8 command, u8 * data);
30 u8 command, u8 * data, u8 length);
/linux-4.4.14/drivers/crypto/caam/
Ddesc_constr.h105 static inline void append_cmd(u32 *desc, u32 command) in append_cmd() argument
109 *cmd = command; in append_cmd()
127 static inline u32 *write_cmd(u32 *desc, u32 command) in write_cmd() argument
129 *desc = command; in write_cmd()
135 u32 command) in append_cmd_ptr() argument
137 append_cmd(desc, command | len); in append_cmd_ptr()
143 unsigned int len, u32 command) in append_cmd_ptr_extlen() argument
145 append_cmd(desc, command); in append_cmd_ptr_extlen()
146 if (!(command & (SQIN_RTO | SQIN_PRE))) in append_cmd_ptr_extlen()
152 u32 command) in append_cmd_data() argument
[all …]
/linux-4.4.14/arch/mn10300/unit-asb2305/
Dpci-asb2305.c131 u16 command; in pcibios_allocate_resources() local
135 pci_read_config_word(dev, PCI_COMMAND, &command); in pcibios_allocate_resources()
143 disabled = !(command & PCI_COMMAND_IO); in pcibios_allocate_resources()
145 disabled = !(command & PCI_COMMAND_MEMORY); in pcibios_allocate_resources()
/linux-4.4.14/arch/nios2/
DKconfig104 string "Default kernel command string"
110 some command-line options at build time by entering them here. In
115 bool "Force default kernel command string"
118 Set this to have arguments from the default kernel command string
122 bool "Ignore kernel command string from DTB"
131 bool "Passed kernel command line from u-boot"
134 Use bootargs env variable from u-boot for kernel command line.
135 will override "Default kernel command string".
/linux-4.4.14/arch/m68k/68360/
Dconfig.c131 void __init config_BSP(char *command, int len) in _bsc0()
161 strcpy(p,command); in _bsc0()
163 command[0] = 0; in _bsc0()
/linux-4.4.14/arch/mips/lasat/
Dreset.c29 static void lasat_machine_restart(char *command);
35 static void lasat_machine_restart(char *command) in lasat_machine_restart() argument
/linux-4.4.14/drivers/rtc/
Drtc-rx8581.c58 s32 (*read_block_data)(const struct i2c_client *client, u8 command,
60 s32 (*write_block_data)(const struct i2c_client *client, u8 command,
66 static int rx8581_read_block_data(const struct i2c_client *client, u8 command, in rx8581_read_block_data() argument
72 data = i2c_smbus_read_byte_data(client, command + i); in rx8581_read_block_data()
80 static int rx8581_write_block_data(const struct i2c_client *client, u8 command, in rx8581_write_block_data() argument
86 ret = i2c_smbus_write_byte_data(client, command + i, in rx8581_write_block_data()
Drtc-ds1307.c117 s32 (*read_block_data)(const struct i2c_client *client, u8 command,
119 s32 (*write_block_data)(const struct i2c_client *client, u8 command,
191 u8 command, u8 length, u8 *values) in ds1307_read_block_data_once() argument
196 data = i2c_smbus_read_byte_data(client, command + i); in ds1307_read_block_data_once()
204 static s32 ds1307_read_block_data(const struct i2c_client *client, u8 command, in ds1307_read_block_data() argument
212 ret = ds1307_read_block_data_once(client, command, length, values); in ds1307_read_block_data()
222 ret = ds1307_read_block_data_once(client, command, length, in ds1307_read_block_data()
230 static s32 ds1307_write_block_data(const struct i2c_client *client, u8 command, in ds1307_write_block_data() argument
246 ret = i2c_smbus_write_byte_data(client, command + i, in ds1307_write_block_data()
251 ret = ds1307_read_block_data_once(client, command, length, in ds1307_write_block_data()
[all …]
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei-amt-version.c263 uint32_t command; member
282 .command = AMT_HOST_IF_CODE_VERSIONS_REQUEST,
347 static uint32_t amt_verify_response_header(uint32_t command, in amt_verify_response_header() argument
356 } else if (resp_hdr->command != command) { in amt_verify_response_header()
368 const unsigned char *command, ssize_t command_sz, in amt_host_if_call() argument
386 command, command_sz, acmd->send_timeout); in amt_host_if_call()
/linux-4.4.14/Documentation/
Dbtmrvl.txt82 This command displays current auto sleep status.
85 This command display the power save state.
88 This command display the host sleep state.
91 This command displays the value of Tx download ready flag.
96 Use hcitool to issue raw hci command, refer to hcitool manual
/linux-4.4.14/drivers/media/pci/smipcie/
Dsmipcie-ir.c57 u32 command = 0xFFFFFFFF; in smi_decode_rc5() local
93 command = 0; in smi_decode_rc5()
98 command |= (1 << (BITS_PER_COMMAND - in smi_decode_rc5()
104 command = 0xFFFFFFFF; in smi_decode_rc5()
111 return command; in smi_decode_rc5()
/linux-4.4.14/drivers/net/ethernet/seeq/
Dether3.c122 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
135 ether3_outw(priv(dev)->regs.command | CMD_FIFOREAD, REG_COMMAND); in ether3_setbuffer()
137 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
277 priv(dev)->regs.command = 0; in ether3_init_2()
305 ether3_outw(priv(dev)->regs.command, REG_COMMAND); in ether3_init_2()
328 priv(dev)->regs.command = 0; in ether3_init_for_open()
353 priv(dev)->regs.command = CMD_ENINTRX | CMD_ENINTTX; in ether3_init_for_open()
354 ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND); in ether3_init_for_open()
423 priv(dev)->regs.command = 0; in ether3_close()
533 ether3_outw(priv(dev)->regs.command | CMD_TXON, REG_COMMAND); in ether3_sendpacket()
[all …]
/linux-4.4.14/drivers/s390/char/
Dsclp.h129 sclp_cmdw_t command; /* sclp command to execute */ member
182 int sclp_service_call(sclp_cmdw_t command, void *sccb);
183 int sclp_sync_request(sclp_cmdw_t command, void *sccb);
184 int sclp_sync_request_timeout(sclp_cmdw_t command, void *sccb, int timeout);
/linux-4.4.14/arch/powerpc/kernel/
Dftrace.c458 void arch_ftrace_update_code(int command) in arch_ftrace_update_code() argument
460 if (command & FTRACE_UPDATE_CALLS) in arch_ftrace_update_code()
462 else if (command & FTRACE_DISABLE_CALLS) in arch_ftrace_update_code()
465 if (command & FTRACE_UPDATE_TRACE_FUNC) in arch_ftrace_update_code()
468 if (command & FTRACE_START_FUNC_RET) in arch_ftrace_update_code()
470 else if (command & FTRACE_STOP_FUNC_RET) in arch_ftrace_update_code()
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks_command.c103 unsigned int command, in efw_transaction() argument
139 header->command = cpu_to_be32(command); in efw_transaction()
153 (be32_to_cpu(header->command) != command) || in efw_transaction()
157 be32_to_cpu(header->command), in efw_transaction()
/linux-4.4.14/arch/arm/kernel/
Dftrace.c40 int *command = data; in __ftrace_modify_code() local
43 ftrace_modify_all_code(*command); in __ftrace_modify_code()
49 void arch_ftrace_update_code(int command) in arch_ftrace_update_code() argument
51 stop_machine(__ftrace_modify_code, &command, NULL); in arch_ftrace_update_code()
/linux-4.4.14/drivers/isdn/pcbit/
Dcallbacks.c104 ictl.command = ISDN_STAT_DCONN; in cb_out_2()
139 ictl.command = ISDN_STAT_ICALL; in cb_in_1()
260 ictl.command = ISDN_STAT_BHUP; in cb_disc_1()
300 ictl.command = ISDN_STAT_BHUP; in cb_disc_3()
341 ictl.command = ISDN_STAT_BCONN; in cb_open()
/linux-4.4.14/sound/pci/oxygen/
Dxonar_hdmi.c29 static void hdmi_write_command(struct oxygen *chip, u8 command, in hdmi_write_command() argument
37 oxygen_write_uart(chip, command); in hdmi_write_command()
41 checksum = 0xfb + 0xef + command + count; in hdmi_write_command()
/linux-4.4.14/drivers/media/common/b2c2/
Dflexcop-sram.c78 u32 command;
81 command = bank | addr | 0x04000000 | (*buf << 0x10);
93 write_reg_dw(adapter, 0x700, command);
103 u32 command, value;
106 command = bank | addr | 0x04008000;
118 write_reg_dw(adapter, 0x700, command);
/linux-4.4.14/drivers/atm/
Dambassador.h351 __be32 command; member
408 } command; typedef
544 command * start;
545 command * in;
546 command * out;
547 command * limit;
/linux-4.4.14/fs/autofs4/
Ddev-ioctl.c622 static int _autofs_dev_ioctl(unsigned int command, struct autofs_dev_ioctl __user *user) in _autofs_dev_ioctl() argument
636 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
638 if (_IOC_TYPE(command) != _IOC_TYPE(AUTOFS_DEV_IOCTL_IOC_FIRST) || in _autofs_dev_ioctl()
648 err = validate_dev_ioctl(command, param); in _autofs_dev_ioctl()
658 AUTOFS_WARN("unknown command 0x%08x", command); in _autofs_dev_ioctl()
711 static long autofs_dev_ioctl(struct file *file, uint command, ulong u) in autofs_dev_ioctl() argument
714 err = _autofs_dev_ioctl(command, (struct autofs_dev_ioctl __user *) u); in autofs_dev_ioctl()
719 static long autofs_dev_ioctl_compat(struct file *file, uint command, ulong u) in autofs_dev_ioctl_compat() argument
721 return (long) autofs_dev_ioctl(file, command, (ulong) compat_ptr(u)); in autofs_dev_ioctl_compat()
/linux-4.4.14/Documentation/blockdev/
Dcciss.txt86 with simple mode, each command completion requires an interrupt, while with
88 possible to have multiple command completions indicated by a single
155 kicks into gear whenever a SCSI command fails to complete within a
156 certain amount of time (which can vary depending on the command).
159 to abort the command. If that doesn't work, the device is reset.
166 implements the first two of these actions, aborting the command, and
169 obey a reset command, though in most circumstances they will. In
170 the case that the command cannot be aborted and the device cannot be
174 successfully reset or the tardy command is successfully aborted, the
175 tape drive may still not allow i/o to continue until some command
/linux-4.4.14/drivers/ide/
Dide-disk.c74 cmd->tf.command = ide_rw_cmds[index + lba48 + write]; in ide_tf_set_cmd()
213 tf->command = ATA_CMD_READ_NATIVE_MAX_EXT; in idedisk_read_native_max_address()
215 tf->command = ATA_CMD_READ_NATIVE_MAX; in idedisk_read_native_max_address()
255 tf->command = ATA_CMD_SET_MAX_EXT; in idedisk_set_max_address()
258 tf->command = ATA_CMD_SET_MAX; in idedisk_set_max_address()
449 cmd->tf.command = ATA_CMD_FLUSH_EXT; in idedisk_prep_fn()
451 cmd->tf.command = ATA_CMD_FLUSH; in idedisk_prep_fn()
515 cmd.tf.command = ATA_CMD_SET_FEATURES; in ide_do_setfeature()
588 cmd.tf.command = ATA_CMD_FLUSH_EXT; in do_idedisk_flushcache()
590 cmd.tf.command = ATA_CMD_FLUSH; in do_idedisk_flushcache()
[all …]
Dide-taskfile.c51 cmd->tf.device, cmd->tf.command); in ide_tf_dump()
64 cmd.tf.command = ATA_CMD_ID_ATA; in taskfile_lib_get_identify()
66 cmd.tf.command = ATA_CMD_ID_ATAPI; in taskfile_lib_get_identify()
125 tp_ops->exec_command(hwif, tf->command); in do_rw_taskfile()
154 int retries = (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) ? 5 : 1; in task_no_data_intr()
167 if (custom && tf->command == ATA_CMD_SET_MULTI) { in task_no_data_intr()
172 } else if (custom && tf->command == ATA_CMD_INIT_DEV_PARAMS) { in task_no_data_intr()
182 if (custom && tf->command == ATA_CMD_SET_MULTI) in task_no_data_intr()
185 if (custom == 0 || tf->command == ATA_CMD_IDLEIMMEDIATE || in task_no_data_intr()
186 tf->command == ATA_CMD_CHK_POWER) { in task_no_data_intr()
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-reset.c29 void machine_restart(char *command) __noreturn;
36 static void ip27_machine_restart(char *command) in ip27_machine_restart() argument
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dpcm.c332 struct dbdma_cmd *command; in i2sbus_pcm_prepare() local
378 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare()
379 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
397 for (i = 0; i < nperiods; i++, command++, offset += periodsize) { in i2sbus_pcm_prepare()
398 command->command = cpu_to_le16(cmd); in i2sbus_pcm_prepare()
399 command->cmd_dep = cpu_to_le32(stopaddr); in i2sbus_pcm_prepare()
400 command->phy_addr = cpu_to_le32(offset); in i2sbus_pcm_prepare()
401 command->req_count = cpu_to_le16(periodsize); in i2sbus_pcm_prepare()
405 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in i2sbus_pcm_prepare()
406 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare()
[all …]
/linux-4.4.14/drivers/infiniband/core/
Duverbs_main.c704 flags = (hdr.command & in ib_uverbs_write()
708 __u32 command; in ib_uverbs_write() local
710 if (hdr.command & ~(__u32)(IB_USER_VERBS_CMD_FLAGS_MASK | in ib_uverbs_write()
716 command = hdr.command & IB_USER_VERBS_CMD_COMMAND_MASK; in ib_uverbs_write()
718 if (command >= ARRAY_SIZE(uverbs_cmd_table) || in ib_uverbs_write()
719 !uverbs_cmd_table[command]) { in ib_uverbs_write()
725 command != IB_USER_VERBS_CMD_GET_CONTEXT) { in ib_uverbs_write()
730 if (!(ib_dev->uverbs_cmd_mask & (1ull << command))) { in ib_uverbs_write()
740 ret = uverbs_cmd_table[command](file, ib_dev, in ib_uverbs_write()
746 __u32 command; in ib_uverbs_write() local
[all …]
/linux-4.4.14/drivers/power/
Dbq2415x_charger.c311 enum bq2415x_command command) in bq2415x_exec_command() argument
315 switch (command) { in bq2415x_exec_command()
1099 enum bq2415x_command command; in bq2415x_sysfs_show_status() local
1103 command = BQ2415X_OTG_STATUS; in bq2415x_sysfs_show_status()
1105 command = BQ2415X_CHARGE_STATUS; in bq2415x_sysfs_show_status()
1107 command = BQ2415X_BOOST_STATUS; in bq2415x_sysfs_show_status()
1109 command = BQ2415X_FAULT_STATUS; in bq2415x_sysfs_show_status()
1113 ret = bq2415x_exec_command(bq, command); in bq2415x_sysfs_show_status()
1406 enum bq2415x_command command; in bq2415x_sysfs_set_enable() local
1414 command = val ? BQ2415X_CHARGE_TERMINATION_ENABLE : in bq2415x_sysfs_set_enable()
[all …]
/linux-4.4.14/drivers/scsi/aacraid/
Dcommsup.c437 int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, in aac_fib_send() argument
487 hw_fib->header.Command = cpu_to_le16(command); in aac_fib_send()
518 …bCommand = %d.\n", le32_to_cpu(((struct aac_query_mount *)fib_data(fibptr))->command))); in aac_fib_send()
914 switch (le32_to_cpu(aifcmd->command)) { in aac_handle_aif()
1307 struct scsi_cmnd *command; in _aac_reset_adapter() local
1417 list_for_each_entry(command, &dev->cmd_list, list) in _aac_reset_adapter()
1418 if (command->SCp.phase == AAC_OWNER_FIRMWARE) { in _aac_reset_adapter()
1419 command->SCp.buffer = (struct scatterlist *)command_list; in _aac_reset_adapter()
1420 command_list = command; in _aac_reset_adapter()
1424 while ((command = command_list)) { in _aac_reset_adapter()
[all …]
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddi_defs.h49 word command; /* command = 0x0100 */ member
53 word command; /* command = 0x0300 */ member
63 word command; /* command = 0x0600 */ member
/linux-4.4.14/drivers/hwmon/
Dshtc1.c56 const unsigned char *command; member
69 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values()
167 data->command = data->setup.blocking_io ? in shtc1_select_command()
173 data->command = data->setup.blocking_io ? in shtc1_select_command()
/linux-4.4.14/arch/powerpc/boot/dts/
Dep8248e.dts141 fsl,cpm-command = <0x1d000000>;
154 fsl,cpm-command = <0x00800000>;
168 fsl,cpm-command = <0x12000300>;
181 fsl,cpm-command = <0x16200300>;
192 fsl,cpm-command = <0x2e600000>;
/linux-4.4.14/drivers/usb/wusbcore/
Ddev-sysfs.c37 unsigned command; in wusb_disconnect_store() local
40 if (sscanf(buf, "%u", &command) != 1) in wusb_disconnect_store()
42 if (command == 0) in wusb_disconnect_store()
/linux-4.4.14/Documentation/kbuild/
Dheaders_install.txt4 The "make headers_install" command exports the kernel's header files in a
23 The "make headers_install" command can be run in the top level directory of the
32 the command:
42 The command "make headers_install_all" exports headers for all architectures
/linux-4.4.14/drivers/isdn/divert/
Disdn_divert.c69 cs->ics.command = ISDN_CMD_HANGUP; /* cancel action */ in deflect_timer_expire()
79 cs->ics.command = ISDN_CMD_REDIR; /* protocol */ in deflect_timer_expire()
165 cs->ics.command = ISDN_CMD_PROT_IO; /* protocol specific io */ in cf_command()
227 ic.command = ISDN_CMD_HANGUP; in deflect_extern_action()
240 ic.command = ISDN_CMD_ALERT; in deflect_extern_action()
255 ic.command = ISDN_CMD_REDIR; in deflect_extern_action()
397 if (((dv->rule.callopt == 1) && (ic->command == ISDN_STAT_ICALLW)) || in isdn_divert_icall()
398 ((dv->rule.callopt == 2) && (ic->command == ISDN_STAT_ICALL))) in isdn_divert_icall()
495 (ic->command == ISDN_STAT_ICALLW) ? "1" : "0", in isdn_divert_icall()
784 switch (ic->command) { in isdn_divert_stat_callback()
[all …]
/linux-4.4.14/drivers/usb/early/
Dehci-dbgp.c82 dbgp_printk(" ehci cmd : %08x", readl(&ehci_regs->command)); in dbgp_ehci_status()
445 cmd = readl(&ehci_regs->command); in dbgp_ehci_startup()
448 writel(cmd, &ehci_regs->command); in dbgp_ehci_startup()
476 cmd = readl(&ehci_regs->command); in dbgp_ehci_controller_reset()
478 writel(cmd, &ehci_regs->command); in dbgp_ehci_controller_reset()
480 cmd = readl(&ehci_regs->command); in dbgp_ehci_controller_reset()
520 cmd = readl(&ehci_regs->command); in _dbgp_external_startup()
522 writel(cmd, &ehci_regs->command); in _dbgp_external_startup()
925 cmd = readl(&ehci_regs->command); in early_dbgp_write()
936 writel(cmd, &ehci_regs->command); in early_dbgp_write()
[all …]
/linux-4.4.14/drivers/ata/
Dlibata-acpi.c562 tf->command = gtf->tf[6]; /* 0x1f7 */ in ata_acpi_gtf_to_tf()
573 if (tf->command == ATA_CMD_SET_FEATURES && in ata_acpi_filter_tf()
584 if (tf->command == ATA_CMD_CONF_OVERLAY && in ata_acpi_filter_tf()
589 if (tf->command == ATA_CMD_SEC_FREEZE_LOCK) in ata_acpi_filter_tf()
593 if ((!ptf || ptf->command != ATA_CMD_READ_NATIVE_MAX) && in ata_acpi_filter_tf()
594 tf->command == ATA_CMD_SET_MAX && in ata_acpi_filter_tf()
600 if (tf->command == ATA_CMD_SET_FEATURES && in ata_acpi_filter_tf()
683 rtf.command, rtf.feature); in ata_acpi_run_tf()
691 err_mask, rtf.command, rtf.feature); in ata_acpi_run_tf()
700 descr = ata_get_cmd_descript(tf.command); in ata_acpi_run_tf()
[all …]
/linux-4.4.14/drivers/tty/serial/
Dmpc52xx_uart.c119 void (*command)(struct uart_port *port, u8 cmd); member
150 out_8(&PSC(port)->command, cmd); in mpc52xx_psc_command()
155 out_8(&PSC(port)->command, MPC52xx_PSC_SEL_MODE_REG_1); in mpc52xx_psc_set_mode()
193 out_8(&PSC(port)->command, MPC52xx_PSC_SEL_MODE_REG_1); in mpc52xx_psc_get_mr1()
370 .command = mpc52xx_psc_command,
400 .command = mpc52xx_psc_command,
927 out_8(&PSC_5125(port)->command, cmd); in mpc5125_psc_command()
998 .command = mpc5125_psc_command,
1033 .command = mpc52xx_psc_command,
1110 psc_ops->command(port, MPC52xx_PSC_START_BRK); in mpc52xx_uart_break_ctl()
[all …]

12345678