Searched refs:cmd (Results 1 - 25 of 2398) sorted by relevance

1234567891011>>

/drivers/gpu/drm/nouveau/
H A Dnouveau_ioctl.h4 long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
5 long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
/drivers/net/wireless/ti/wl18xx/
H A Dcmd.c22 #include "../wlcore/cmd.h"
26 #include "cmd.h"
32 struct wl18xx_cmd_channel_switch *cmd; local
36 wl1271_debug(DEBUG_ACX, "cmd channel switch");
38 cmd = kzalloc(sizeof(*cmd), GFP_KERNEL);
39 if (!cmd) {
44 cmd->role_id = wlvif->role_id;
45 cmd->channel = ch_switch->chandef.chan->hw_value;
46 cmd
84 struct wl18xx_cmd_smart_config_start *cmd; local
112 struct wl1271_cmd_header *cmd; local
138 struct wl18xx_cmd_smart_config_set_group_key *cmd; local
[all...]
H A Dscan.c26 static void wl18xx_adjust_channels(struct wl18xx_cmd_scan_params *cmd, argument
29 memcpy(cmd->passive, cmd_channels->passive, sizeof(cmd->passive));
30 memcpy(cmd->active, cmd_channels->active, sizeof(cmd->active));
31 cmd->dfs = cmd_channels->dfs;
32 cmd->passive_active = cmd_channels->passive_active;
34 memcpy(cmd->channels_2, cmd_channels->channels_2,
35 sizeof(cmd->channels_2));
36 memcpy(cmd
44 struct wl18xx_cmd_scan_params *cmd; local
170 struct wl18xx_cmd_scan_params *cmd; local
[all...]
/drivers/scsi/
H A Dscsi_lib_dma.c17 * @cmd: scsi command
22 int scsi_dma_map(struct scsi_cmnd *cmd) argument
26 if (scsi_sg_count(cmd)) {
27 struct device *dev = cmd->device->host->dma_dev;
29 nseg = dma_map_sg(dev, scsi_sglist(cmd), scsi_sg_count(cmd),
30 cmd->sc_data_direction);
40 * @cmd: scsi command
42 void scsi_dma_unmap(struct scsi_cmnd *cmd) argument
44 if (scsi_sg_count(cmd)) {
[all...]
/drivers/isdn/sc/
H A Devent.c43 isdn_ctrl cmd; local
54 memcpy(&cmd.parm.length, Data, sizeof(cmd.parm.length));
57 memcpy(&cmd.parm.setup, Data, sizeof(cmd.parm.setup));
60 strlcpy(cmd.parm.num, Data, sizeof(cmd.parm.num));
64 cmd.command = event;
65 cmd.driver = sc_adapter[card]->driverId;
66 cmd
[all...]
/drivers/staging/dgnc/
H A Ddgnc_utils.h5 char *dgnc_ioctl_name(int cmd);
/drivers/target/iscsi/
H A Discsi_target_erl1.c121 struct iscsi_cmd *cmd,
129 spin_lock_bh(&cmd->r2t_lock);
131 spin_unlock_bh(&cmd->r2t_lock);
135 spin_unlock_bh(&cmd->r2t_lock);
137 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T);
143 struct iscsi_cmd *cmd,
155 if ((cmd->cmd_flags & ICF_GOT_DATACK_SNACK) &&
156 (begrun <= cmd->acked_data_sn)) {
160 " protocol error.\n", cmd
120 iscsit_send_recovery_r2t_for_snack( struct iscsi_cmd *cmd, struct iscsi_r2t *r2t) argument
142 iscsit_handle_r2t_snack( struct iscsi_cmd *cmd, unsigned char *buf, u32 begrun, u32 runlength) argument
201 iscsit_create_recovery_datain_values_datasequenceinorder_yes( struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) argument
247 iscsit_create_recovery_datain_values_datasequenceinorder_no( struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) argument
405 iscsit_handle_recovery_datain( struct iscsi_cmd *cmd, unsigned char *buf, u32 begrun, u32 runlength) argument
474 struct iscsi_cmd *cmd; local
506 struct iscsi_cmd *cmd = NULL; local
569 struct iscsi_cmd *cmd = NULL; local
599 iscsit_send_recovery_r2t( struct iscsi_cmd *cmd, u32 offset, u32 xfer_len) argument
613 iscsit_dataout_datapduinorder_no_fbit( struct iscsi_cmd *cmd, struct iscsi_pdu *pdu) argument
689 iscsit_recalculate_dataout_values( struct iscsi_cmd *cmd, u32 pdu_offset, u32 pdu_length, u32 *r2t_offset, u32 *r2t_length) argument
766 iscsit_recover_dataout_sequence( struct iscsi_cmd *cmd, u32 pdu_offset, u32 pdu_length) argument
881 struct iscsi_cmd *cmd = NULL; local
922 iscsit_execute_cmd(struct iscsi_cmd *cmd, int ooo) argument
1068 iscsit_handle_ooo_cmdsn( struct iscsi_session *sess, struct iscsi_cmd *cmd, u32 cmdsn) argument
1108 iscsit_set_dataout_timeout_values( struct iscsi_cmd *cmd, u32 *offset, u32 *length) argument
1155 struct iscsi_cmd *cmd = (struct iscsi_cmd *) data; local
1232 iscsit_mod_dataout_timer(struct iscsi_cmd *cmd) argument
1254 iscsit_start_dataout_timer( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
1276 iscsit_stop_dataout_timer(struct iscsi_cmd *cmd) argument
[all...]
H A Discsi_target_tmr.c39 struct iscsi_cmd *cmd,
43 struct iscsi_conn *conn = cmd->conn;
44 struct iscsi_tmr_req *tmr_req = cmd->tmr_req;
45 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req;
114 struct iscsi_cmd *cmd,
118 struct iscsi_conn *conn = cmd->conn;
120 struct iscsi_tmr_req *tmr_req = cmd->tmr_req;
121 struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req;
186 struct iscsi_cmd *cmd,
193 ret = iscsit_remove_cmd_from_connection_recovery(cmd, ses
38 iscsit_tmr_abort_task( struct iscsi_cmd *cmd, unsigned char *buf) argument
113 iscsit_tmr_task_reassign( struct iscsi_cmd *cmd, unsigned char *buf) argument
185 iscsit_task_reassign_remove_cmd( struct iscsi_cmd *cmd, struct iscsi_conn_recovery *cr, struct iscsi_session *sess) argument
206 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
234 iscsit_task_reassign_complete_write( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
306 iscsit_task_reassign_complete_read( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
359 iscsit_task_reassign_complete_none( struct iscsi_cmd *cmd, struct iscsi_tmr_req *tmr_req) argument
374 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
423 struct iscsi_cmd *cmd; local
462 iscsit_tmr_post_handler(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
485 iscsit_task_reassign_prepare_unsolicited_dataout( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
557 struct iscsi_cmd *cmd = tmr_req->ref_cmd; local
[all...]
H A Discsi_target_erl2.c36 struct iscsi_cmd *cmd,
40 struct iscsi_conn *conn = cmd->conn;
42 cmd->next_burst_len = 0;
43 cmd->read_data_done = 0;
46 if ((cmd->next_burst_len +
49 cmd->read_data_done +=
51 cmd->next_burst_len +=
54 cmd->read_data_done +=
56 cmd->next_burst_len);
57 cmd
35 iscsit_create_conn_recovery_datain_values( struct iscsi_cmd *cmd, __be32 exp_data_sn) argument
63 iscsit_create_conn_recovery_dataout_values( struct iscsi_cmd *cmd) argument
129 struct iscsi_cmd *cmd, *cmd_tmp; local
206 iscsit_remove_cmd_from_connection_recovery( struct iscsi_cmd *cmd, struct iscsi_session *sess) argument
228 struct iscsi_cmd *cmd, *cmd_tmp; local
276 struct iscsi_cmd *cmd, *cmd_tmp; local
317 struct iscsi_cmd *cmd, *cmd_tmp; local
[all...]
/drivers/misc/ibmasm/
H A Ddot_command.h55 struct dot_command_header *cmd = (struct dot_command_header *)buffer; local
56 return sizeof(struct dot_command_header) + cmd->command_size + cmd->data_size;
62 unsigned char *cmd = buffer + sizeof(struct dot_command_header); local
67 if ((cmd[0] == 6) && (cmd[1] == 3) && (cmd[2] == 1))
70 if ((cmd[0] == 7) && (cmd[1] == 1))
72 if (cmd[
[all...]
H A Dcommand.c36 struct command *cmd; local
41 cmd = kzalloc(sizeof(struct command), GFP_KERNEL);
42 if (cmd == NULL)
46 cmd->buffer = kzalloc(buffer_size, GFP_KERNEL);
47 if (cmd->buffer == NULL) {
48 kfree(cmd);
51 cmd->buffer_size = buffer_size;
53 kref_init(&cmd->kref);
54 cmd->lock = &sp->lock;
56 cmd
68 struct command *cmd = to_command(kref); local
77 enqueue_command(struct service_processor *sp, struct command *cmd) argument
84 struct command *cmd; local
119 ibmasm_exec_command(struct service_processor *sp, struct command *cmd) argument
162 ibmasm_wait_for_response(struct command *cmd, int timeout) argument
177 struct command *cmd = sp->current_command; local
[all...]
/drivers/md/
H A Ddm-cache-metadata.c202 static int superblock_read_lock(struct dm_cache_metadata *cmd, argument
205 return dm_bm_read_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION,
209 static int superblock_lock_zero(struct dm_cache_metadata *cmd, argument
212 return dm_bm_write_lock_zero(cmd->bm, CACHE_SUPERBLOCK_LOCATION,
216 static int superblock_lock(struct dm_cache_metadata *cmd, argument
219 return dm_bm_write_lock(cmd->bm, CACHE_SUPERBLOCK_LOCATION,
252 static void __setup_mapping_info(struct dm_cache_metadata *cmd) argument
261 dm_array_info_init(&cmd->info, cmd->tm, &vt);
263 if (cmd
269 __save_sm_root(struct dm_cache_metadata *cmd) argument
282 __copy_sm_root(struct dm_cache_metadata *cmd, struct cache_disk_superblock *disk_super) argument
290 __write_initial_superblock(struct dm_cache_metadata *cmd) argument
345 __format_metadata(struct dm_cache_metadata *cmd) argument
385 __check_incompat_features(struct cache_disk_superblock *disk_super, struct dm_cache_metadata *cmd) argument
413 __open_metadata(struct dm_cache_metadata *cmd) argument
461 __open_or_format_metadata(struct dm_cache_metadata *cmd, bool format_device) argument
477 __create_persistent_data_objects(struct dm_cache_metadata *cmd, bool may_format_device) argument
496 __destroy_persistent_data_objects(struct dm_cache_metadata *cmd) argument
524 read_superblock_fields(struct dm_cache_metadata *cmd, struct cache_disk_superblock *disk_super) argument
551 __begin_transaction_flags(struct dm_cache_metadata *cmd, flags_mutator mutator) argument
570 __begin_transaction(struct dm_cache_metadata *cmd) argument
591 __commit_transaction(struct dm_cache_metadata *cmd, flags_mutator mutator) argument
678 struct dm_cache_metadata *cmd; local
708 dm_cache_metadata_close(struct dm_cache_metadata *cmd) argument
717 block_unmapped_or_clean(struct dm_cache_metadata *cmd, dm_cblock_t b, bool *result) argument
737 blocks_are_unmapped_or_clean(struct dm_cache_metadata *cmd, dm_cblock_t begin, dm_cblock_t end, bool *result) argument
761 dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size) argument
798 dm_cache_discard_bitset_resize(struct dm_cache_metadata *cmd, sector_t discard_block_size, dm_oblock_t new_nr_entries) argument
821 __set_discard(struct dm_cache_metadata *cmd, dm_oblock_t b) argument
827 __clear_discard(struct dm_cache_metadata *cmd, dm_oblock_t b) argument
833 __is_discarded(struct dm_cache_metadata *cmd, dm_oblock_t b, bool *is_discarded) argument
841 __discard(struct dm_cache_metadata *cmd, dm_oblock_t dblock, bool discard) argument
854 dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_oblock_t dblock, bool discard) argument
866 __load_discards(struct dm_cache_metadata *cmd, load_discard_fn fn, void *context) argument
891 dm_cache_load_discards(struct dm_cache_metadata *cmd, load_discard_fn fn, void *context) argument
903 dm_cache_size(struct dm_cache_metadata *cmd) argument
914 __remove(struct dm_cache_metadata *cmd, dm_cblock_t cblock) argument
929 dm_cache_remove_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock) argument
940 __insert(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock) argument
956 dm_cache_insert_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock) argument
972 struct dm_cache_metadata *cmd; member in struct:thunk
977 policy_unchanged(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument
1005 hints_array_initialized(struct dm_cache_metadata *cmd) argument
1010 hints_array_available(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument
1026 struct dm_cache_metadata *cmd = thunk->cmd; local
1047 __load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) argument
1063 dm_cache_load_mappings(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy, load_mapping_fn fn, void *context) argument
1089 __dump_mappings(struct dm_cache_metadata *cmd) argument
1094 dm_cache_dump(struct dm_cache_metadata *cmd) argument
1101 dm_cache_changed_this_transaction(struct dm_cache_metadata *cmd) argument
1112 __dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty) argument
1142 dm_cache_set_dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty) argument
1154 dm_cache_metadata_get_stats(struct dm_cache_metadata *cmd, struct dm_cache_statistics *stats) argument
1162 dm_cache_metadata_set_stats(struct dm_cache_metadata *cmd, struct dm_cache_statistics *stats) argument
1170 dm_cache_commit(struct dm_cache_metadata *cmd, bool clean_shutdown) argument
1188 dm_cache_get_free_metadata_block_count(struct dm_cache_metadata *cmd, dm_block_t *result) argument
1200 dm_cache_get_metadata_dev_size(struct dm_cache_metadata *cmd, dm_block_t *result) argument
1214 begin_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument
1259 struct dm_cache_metadata *cmd = context; local
1272 write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument
1285 dm_cache_write_hints(struct dm_cache_metadata *cmd, struct dm_cache_policy *policy) argument
1296 dm_cache_metadata_all_clean(struct dm_cache_metadata *cmd, bool *result) argument
[all...]
H A Ddm-cache-metadata.h61 void dm_cache_metadata_close(struct dm_cache_metadata *cmd);
68 int dm_cache_resize(struct dm_cache_metadata *cmd, dm_cblock_t new_cache_size);
69 dm_cblock_t dm_cache_size(struct dm_cache_metadata *cmd);
71 int dm_cache_discard_bitset_resize(struct dm_cache_metadata *cmd,
77 int dm_cache_load_discards(struct dm_cache_metadata *cmd,
80 int dm_cache_set_discard(struct dm_cache_metadata *cmd, dm_oblock_t dblock, bool discard);
82 int dm_cache_remove_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock);
83 int dm_cache_insert_mapping(struct dm_cache_metadata *cmd, dm_cblock_t cblock, dm_oblock_t oblock);
84 int dm_cache_changed_this_transaction(struct dm_cache_metadata *cmd);
89 int dm_cache_load_mappings(struct dm_cache_metadata *cmd,
[all...]
/drivers/mmc/core/
H A Dsd_ops.c28 struct mmc_command cmd = {0}; local
33 cmd.opcode = MMC_APP_CMD;
36 cmd.arg = card->rca << 16;
37 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_AC;
39 cmd.arg = 0;
40 cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R1 | MMC_CMD_BCR;
43 err = mmc_wait_for_cmd(host, &cmd, 0);
48 if (!mmc_host_is_spi(host) && !(cmd.resp[0] & R1_APP_CMD))
60 * @cmd: MMC command to start
69 struct mmc_command *cmd, in
68 mmc_wait_for_app_cmd(struct mmc_host *host, struct mmc_card *card, struct mmc_command *cmd, int retries) argument
124 struct mmc_command cmd = {0}; local
152 struct mmc_command cmd = {0}; local
198 struct mmc_command cmd = {0}; local
230 struct mmc_command cmd = {0}; local
252 struct mmc_command cmd = {0}; local
311 struct mmc_command cmd = {0}; local
356 struct mmc_command cmd = {0}; local
[all...]
/drivers/media/dvb-frontends/
H A Dsi2168.c22 static int si2168_cmd_execute(struct si2168 *s, struct si2168_cmd *cmd) argument
29 if (cmd->wlen) {
30 /* write cmd and args for firmware */
31 ret = i2c_master_send(s->client, cmd->args, cmd->wlen);
34 } else if (ret != cmd->wlen) {
40 if (cmd->rlen) {
41 /* wait cmd execution terminate */
45 ret = i2c_master_recv(s->client, cmd->args, cmd
86 struct si2168_cmd cmd; local
166 struct si2168_cmd cmd; local
361 struct si2168_cmd cmd; local
520 struct si2168_cmd cmd; local
[all...]
/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_gmr.c45 uint32_t *cmd; local
47 uint32_t define_size = sizeof(define_cmd) + sizeof(*cmd);
49 uint32_t remap_size = VMW_PPN_SIZE * num_pages + (sizeof(remap_cmd) + sizeof(*cmd)) * remap_num;
54 cmd_orig = cmd = vmw_fifo_reserve(dev_priv, cmd_size);
55 if (unlikely(cmd == NULL))
61 *cmd++ = SVGA_CMD_DEFINE_GMR2;
62 memcpy(cmd, &define_cmd, sizeof(define_cmd));
63 cmd += sizeof(define_cmd) / sizeof(*cmd);
71 remap_cmd.flags = (VMW_PPN_SIZE > sizeof(*cmd))
111 uint32_t *cmd; local
[all...]
/drivers/target/
H A Dtarget_core_transport.c68 static void transport_complete_task_attr(struct se_cmd *cmd);
69 static void transport_handle_queue_full(struct se_cmd *cmd,
71 static int transport_put_cmd(struct se_cmd *cmd);
519 * Called with cmd->t_state_lock held.
521 static void target_remove_from_state_list(struct se_cmd *cmd) argument
523 struct se_device *dev = cmd->se_dev;
529 if (cmd->transport_state & CMD_T_BUSY)
533 if (cmd->state_active) {
534 list_del(&cmd->state_list);
535 cmd
540 transport_cmd_check_stop(struct se_cmd *cmd, bool remove_from_lists, bool write_pending) argument
594 transport_cmd_check_stop_to_fabric(struct se_cmd *cmd) argument
599 transport_lun_remove_cmd(struct se_cmd *cmd) argument
610 transport_cmd_finish_abort(struct se_cmd *cmd, int remove) argument
629 struct se_cmd *cmd = container_of(work, struct se_cmd, work); local
639 transport_get_sense_buffer(struct se_cmd *cmd) argument
658 target_complete_cmd(struct se_cmd *cmd, u8 scsi_status) argument
710 target_complete_cmd_with_length(struct se_cmd *cmd, u8 scsi_status, int length) argument
727 target_add_to_state_list(struct se_cmd *cmd) argument
751 struct se_cmd *cmd, *cmd_tmp; local
774 transport_dump_cmd_direction(struct se_cmd *cmd) argument
1067 target_cmd_size_check(struct se_cmd *cmd, unsigned int size) argument
1119 transport_init_se_cmd( struct se_cmd *cmd, struct target_core_fabric_ops *tfo, struct se_session *se_sess, u32 data_length, int data_direction, int task_attr, unsigned char *sense_buffer) argument
1151 transport_check_alloc_task_attr(struct se_cmd *cmd) argument
1179 target_setup_cmd_from_cdb(struct se_cmd *cmd, unsigned char *cdb) argument
1257 transport_handle_cdb_direct( struct se_cmd *cmd) argument
1297 transport_generic_map_mem_to_cmd(struct se_cmd *cmd, struct scatterlist *sgl, u32 sgl_count, struct scatterlist *sgl_bidi, u32 sgl_bidi_count) argument
1572 target_stop_cmd(struct se_cmd *cmd, unsigned long *flags) argument
1596 transport_generic_request_failure(struct se_cmd *cmd, sense_reason_t sense_reason) argument
1693 __target_execute_cmd(struct se_cmd *cmd) argument
1709 target_handle_task_attr(struct se_cmd *cmd) argument
1762 target_execute_cmd(struct se_cmd *cmd) argument
1816 struct se_cmd *cmd; local
1840 transport_complete_task_attr(struct se_cmd *cmd) argument
1869 transport_complete_qf(struct se_cmd *cmd) argument
1910 transport_handle_queue_full( struct se_cmd *cmd, struct se_device *dev) argument
1922 target_check_read_strip(struct se_cmd *cmd) argument
1939 struct se_cmd *cmd = container_of(work, struct se_cmd, work); local
2078 transport_reset_sgl_orig(struct se_cmd *cmd) argument
2094 transport_free_pages(struct se_cmd *cmd) argument
2122 transport_release_cmd(struct se_cmd *cmd) argument
2143 transport_put_cmd(struct se_cmd *cmd) argument
2149 transport_kmap_data_sg(struct se_cmd *cmd) argument
2186 transport_kunmap_data_sg(struct se_cmd *cmd) argument
2246 transport_generic_new_cmd(struct se_cmd *cmd) argument
2318 transport_write_pending_qf(struct se_cmd *cmd) argument
2330 transport_generic_free_cmd(struct se_cmd *cmd, int wait_for_tasks) argument
2522 transport_wait_for_tasks(struct se_cmd *cmd) argument
2568 transport_get_sense_codes( struct se_cmd *cmd, u8 *asc, u8 *ascq) argument
2593 transport_send_check_condition_and_sense(struct se_cmd *cmd, sense_reason_t reason, int from_transport) argument
2850 transport_check_aborted_status(struct se_cmd *cmd, int send_status) argument
2874 transport_send_task_abort(struct se_cmd *cmd) argument
2912 struct se_cmd *cmd = container_of(work, struct se_cmd, work); local
2950 transport_generic_handle_tmr( struct se_cmd *cmd) argument
[all...]
H A Dtarget_core_sbc.c40 sbc_emulate_readcapacity(struct se_cmd *cmd) argument
42 struct se_device *dev = cmd->se_dev;
43 unsigned char *cdb = cmd->t_task_cdb;
78 rbuf = transport_kmap_data_sg(cmd);
80 memcpy(rbuf, buf, min_t(u32, sizeof(buf), cmd->data_length));
81 transport_kunmap_data_sg(cmd);
84 target_complete_cmd_with_length(cmd, GOOD, 8);
89 sbc_emulate_readcapacity_16(struct se_cmd *cmd) argument
91 struct se_device *dev = cmd->se_dev;
92 struct se_session *sess = cmd
144 sbc_get_write_same_sectors(struct se_cmd *cmd) argument
168 sbc_emulate_noop(struct se_cmd *cmd) argument
174 sbc_get_size(struct se_cmd *cmd, u32 sectors) argument
252 sbc_setup_write_same(struct se_cmd *cmd, unsigned char *flags, struct sbc_ops *ops) argument
290 xdreadwrite_callback(struct se_cmd *cmd) argument
348 sbc_execute_rw(struct se_cmd *cmd) argument
354 compare_and_write_post(struct se_cmd *cmd) argument
377 compare_and_write_callback(struct se_cmd *cmd) argument
522 sbc_compare_and_write(struct se_cmd *cmd) argument
559 sbc_set_prot_op_checks(u8 protect, enum target_prot_type prot_type, bool is_write, struct se_cmd *cmd) argument
618 sbc_check_prot(struct se_device *dev, struct se_cmd *cmd, unsigned char *cdb, u32 sectors, bool is_write) argument
669 sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops) argument
995 sbc_execute_unmap(struct se_cmd *cmd, sense_reason_t (*do_unmap_fn)(struct se_cmd *, void *, sector_t, sector_t), void *priv) argument
1080 sbc_dif_generate(struct se_cmd *cmd) argument
1159 sbc_dif_copy_prot(struct se_cmd *cmd, unsigned int sectors, bool read, struct scatterlist *sg, int sg_off) argument
1200 sbc_dif_verify_write(struct se_cmd *cmd, sector_t start, unsigned int sectors, unsigned int ei_lba, struct scatterlist *sg, int sg_off) argument
1255 __sbc_dif_verify_read(struct se_cmd *cmd, sector_t start, unsigned int sectors, unsigned int ei_lba, struct scatterlist *sg, int sg_off) argument
1314 sbc_dif_read_strip(struct se_cmd *cmd) argument
1324 sbc_dif_verify_read(struct se_cmd *cmd, sector_t start, unsigned int sectors, unsigned int ei_lba, struct scatterlist *sg, int sg_off) argument
[all...]
H A Dtarget_core_tmr.c83 struct se_cmd *cmd,
90 if ((tmr_nacl && (tmr_nacl != cmd->se_sess->se_node_acl)) && tas) {
92 transport_send_task_abort(cmd);
95 transport_cmd_finish_abort(cmd, remove);
99 struct se_cmd *cmd)
106 if (reg->pr_res_key == cmd->pr_res_key)
179 struct se_cmd *cmd; local
193 cmd = tmr_p->task_cmd;
194 if (!cmd) {
203 if (target_check_cdb_and_preempt(preempt_and_abort_list, cmd))
81 core_tmr_handle_tas_abort( struct se_node_acl *tmr_nacl, struct se_cmd *cmd, int tas) argument
98 target_check_cdb_and_preempt(struct list_head *list, struct se_cmd *cmd) argument
242 struct se_cmd *cmd, *next; local
[all...]
/drivers/media/usb/cpia2/
H A Dcpia2_core.c144 struct cpia2_command cmd; local
147 cmd.command = command;
148 cmd.reg_count = 2; /* default */
149 cmd.direction = direction;
156 cmd.req_mode =
158 cmd.start = CPIA2_SYSTEM_DEVICE_HI;
161 cmd.req_mode =
163 cmd.reg_count = 8;
164 cmd.start = CPIA2_SYSTEM_DESCRIP_VID_HI;
167 cmd
520 cpia2_send_command(struct camera_data *cam, struct cpia2_command *cmd) argument
616 struct cpia2_command cmd; local
892 cpia2_send_onebyte_command(struct camera_data *cam, struct cpia2_command *cmd, u8 start, u8 datum) argument
907 struct cpia2_command cmd; local
1146 struct cpia2_command cmd; local
1332 struct cpia2_command cmd; local
1831 struct cpia2_command cmd; local
1891 struct cpia2_command cmd; local
[all...]
/drivers/macintosh/
H A Dsmu.c16 * - maybe avoid some data copies with i2c by directly using the smu cmd
68 u8 cmd; member in struct:smu_cmd_buf
112 struct smu_cmd *cmd; local
118 cmd = list_entry(smu->cmd_list.next, struct smu_cmd, link);
119 smu->cmd_cur = cmd;
120 list_del(&cmd->link);
122 DPRINTK("SMU: starting cmd %x, %d bytes data\n", cmd->cmd,
123 cmd
163 struct smu_cmd *cmd; local
262 smu_queue_cmd(struct smu_cmd *cmd) argument
288 smu_queue_simple(struct smu_simple_cmd *scmd, u8 command, unsigned int data_len, void (*done)(struct smu_cmd *cmd, void *misc), void *misc, ...) argument
293 struct smu_cmd *cmd = &scmd->cmd; local
333 smu_done_complete(struct smu_cmd *cmd, void *misc) argument
342 smu_spinwait_cmd(struct smu_cmd *cmd) argument
381 struct smu_simple_cmd cmd; local
408 struct smu_simple_cmd cmd; local
433 struct smu_simple_cmd cmd; local
449 struct smu_simple_cmd cmd; local
702 smu_i2c_complete_command(struct smu_i2c_cmd *cmd, int fail) argument
754 struct smu_i2c_cmd *cmd = smu->cmd_i2c_cur; local
767 struct smu_i2c_cmd *cmd = misc; local
819 smu_queue_i2c(struct smu_i2c_cmd *cmd) argument
902 struct smu_cmd cmd; local
948 struct smu_simple_cmd cmd; local
1070 struct smu_cmd cmd; member in struct:smu_private
1100 smu_user_cmd_done(struct smu_cmd *cmd, void *misc) argument
[all...]
/drivers/media/tuners/
H A Dsi2157.c22 static int si2157_cmd_execute(struct si2157 *s, struct si2157_cmd *cmd) argument
29 if (cmd->wlen) {
30 /* write cmd and args for firmware */
31 ret = i2c_master_send(s->client, cmd->args, cmd->wlen);
34 } else if (ret != cmd->wlen) {
40 if (cmd->rlen) {
41 /* wait cmd execution terminate */
45 ret = i2c_master_recv(s->client, cmd->args, cmd
85 struct si2157_cmd cmd; local
202 struct si2157_cmd cmd; local
227 struct si2157_cmd cmd; local
325 struct si2157_cmd cmd; local
[all...]
/drivers/staging/comedi/
H A Dcomedi_compat32.h28 long comedi_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
/drivers/net/wireless/iwlwifi/dvm/
H A Dpower.c61 struct iwl_powertable_cmd cmd; member in struct:iwl_power_vec_entry
160 struct iwl_powertable_cmd *cmd,
184 memset(cmd, 0, sizeof(*cmd));
186 *cmd = table[lvl].cmd;
197 max_sleep[i] = le32_to_cpu(cmd->sleep_interval[i]);
201 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]);
204 cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1] =
207 slp_itrvl = le32_to_cpu(cmd
159 iwl_static_sleep_cmd(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, enum iwl_power_level lvl, int period) argument
261 iwl_power_sleep_cam_cmd(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd) argument
272 iwl_set_power(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd) argument
289 iwl_power_build_cmd(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd) argument
330 iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, bool force) argument
380 struct iwl_powertable_cmd cmd; local
[all...]
/drivers/net/wireless/ti/wlcore/
H A Dcmd.c36 #include "cmd.h"
51 * return the cmd status code on success.
56 struct wl1271_cmd_header *cmd; local
67 cmd = buf;
68 cmd->id = cpu_to_le16(id);
69 cmd->status = 0;
113 ret = wlcore_read(wl, wl->cmd_box_addr, cmd, res_len, false);
117 status = le16_to_cpu(cmd->status);
128 * send command to fw and return cmd status on success
229 struct wl12xx_cmd_role_enable *cmd; local
271 struct wl12xx_cmd_role_disable *cmd; local
424 struct wl12xx_cmd_role_start *cmd; local
473 struct wl12xx_cmd_role_stop *cmd; local
509 struct wl12xx_cmd_role_start *cmd; local
584 struct wl12xx_cmd_role_stop *cmd; local
619 struct wl12xx_cmd_role_start *cmd; local
726 struct wl12xx_cmd_role_stop *cmd; local
758 struct wl12xx_cmd_role_start *cmd; local
925 struct cmd_enabledisable_path *cmd; local
1008 struct wl1271_cmd_template_set *cmd; local
1324 struct wl1271_cmd_set_keys *cmd; local
1358 struct wl1271_cmd_set_keys *cmd; local
1427 struct wl1271_cmd_set_keys *cmd; local
1487 struct wl12xx_cmd_set_peer_state *cmd; local
1521 struct wl12xx_cmd_add_peer *cmd; local
1580 struct wl12xx_cmd_remove_peer *cmd; local
1680 struct wl12xx_cmd_regdomain_dfs_config *cmd = NULL; local
1760 struct wl12xx_cmd_config_fwlog *cmd; local
1792 struct wl12xx_cmd_start_fwlog *cmd; local
1818 struct wl12xx_cmd_stop_fwlog *cmd; local
1845 struct wl12xx_cmd_roc *cmd; local
1890 struct wl12xx_cmd_croc *cmd; local
1959 struct wl12xx_cmd_stop_channel_switch *cmd; local
[all...]

Completed in 1452 milliseconds

1234567891011>>