Searched refs:cmd (Results 26 - 50 of 2398) sorted by relevance

1234567891011>>

/drivers/target/iscsi/
H A Discsi_target_seq_pdu_list.c31 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) argument
37 cmd->init_task_tag);
39 for (i = 0; i < cmd->seq_count; i++) {
40 seq = &cmd->seq_list[i];
49 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) argument
55 cmd->init_task_tag);
57 for (i = 0; i < cmd->pdu_count; i++) {
58 pdu = &cmd->pdu_list[i];
65 static void iscsit_dump_seq_list(struct iscsi_cmd *cmd) {} argument
66 static void iscsit_dump_pdu_list(struct iscsi_cmd *cmd) {} argument
69 iscsit_ordered_seq_lists( struct iscsi_cmd *cmd, u8 type) argument
82 iscsit_ordered_pdu_lists( struct iscsi_cmd *cmd, u8 type) argument
129 iscsit_randomize_pdu_lists( struct iscsi_cmd *cmd, u8 type) argument
179 iscsit_randomize_seq_lists( struct iscsi_cmd *cmd, u8 type) argument
211 iscsit_determine_counts_for_list( struct iscsi_cmd *cmd, struct iscsi_build_list *bl, u32 *seq_count, u32 *pdu_count) argument
295 iscsit_do_build_pdu_and_seq_lists( struct iscsi_cmd *cmd, struct iscsi_build_list *bl) argument
496 iscsit_build_pdu_and_seq_lists( struct iscsi_cmd *cmd, u32 immediate_data_length) argument
571 iscsit_get_pdu_holder( struct iscsi_cmd *cmd, u32 offset, u32 length) argument
595 iscsit_get_pdu_holder_for_seq( struct iscsi_cmd *cmd, struct iscsi_seq *seq) argument
672 iscsit_get_seq_holder( struct iscsi_cmd *cmd, u32 offset, u32 length) argument
[all...]
H A Discsi_target.c497 static int iscsit_queue_rsp(struct iscsi_conn *conn, struct iscsi_cmd *cmd) argument
499 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state);
503 static void iscsit_aborted_task(struct iscsi_conn *conn, struct iscsi_cmd *cmd) argument
505 bool scsi_cmd = (cmd->iscsi_opcode == ISCSI_OP_SCSI_CMD);
508 if (!list_empty(&cmd->i_conn_node))
509 list_del_init(&cmd->i_conn_node);
512 __iscsit_free_cmd(cmd, scsi_cmd, true);
651 struct iscsi_cmd *cmd; local
677 iscsit_add_reject_from_cmd( struct iscsi_cmd *cmd, u8 reason, bool add_to_conn, unsigned char *buf) argument
721 iscsit_add_reject_cmd(struct iscsi_cmd *cmd, u8 reason, unsigned char *buf) argument
727 iscsit_reject_cmd(struct iscsi_cmd *cmd, u8 reason, unsigned char *buf) argument
736 iscsit_map_iovec( struct iscsi_cmd *cmd, struct kvec *iov, u32 data_offset, u32 data_length) argument
772 iscsit_unmap_iovec(struct iscsi_cmd *cmd) argument
786 struct iscsi_cmd *cmd, *cmd_p; local
813 iscsit_allocate_iovecs(struct iscsi_cmd *cmd) argument
829 iscsit_setup_scsi_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
1042 iscsit_set_unsoliticed_dataout(struct iscsi_cmd *cmd) argument
1052 iscsit_process_scsi_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr) argument
1116 iscsit_get_immediate_data(struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, bool dump_payload) argument
1172 iscsit_handle_scsi_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
1204 iscsit_do_crypto_hash_sg( struct hash_desc *hash, struct iscsi_cmd *cmd, u32 data_offset, u32 data_length, u32 padding, u8 *pad_bytes) argument
1271 struct iscsi_cmd *cmd = NULL; local
1396 iscsit_get_dataout(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_data *hdr) argument
1461 iscsit_check_dataout_payload(struct iscsi_cmd *cmd, struct iscsi_data *hdr, bool data_crc_failed) argument
1501 struct iscsi_cmd *cmd = NULL; local
1521 iscsit_setup_nop_out(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_nopout *hdr) argument
1588 iscsit_process_nop_out(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_nopout *hdr) argument
1646 iscsit_handle_nop_out(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
1753 iscsit_handle_task_mgt_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
1968 iscsit_setup_text_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_text *hdr) argument
2006 iscsit_process_text_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, struct iscsi_text *hdr) argument
2062 iscsit_handle_text_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
2157 iscsit_logout_closesession(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2187 iscsit_logout_closeconnection(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2235 iscsit_logout_removeconnforrecovery(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2265 iscsit_handle_logout_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf) argument
2409 iscsit_handle_immediate_data( struct iscsi_cmd *cmd, struct iscsi_scsi_req *hdr, u32 length) argument
2501 struct iscsi_cmd *cmd; local
2538 iscsit_send_conn_drop_async_message( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2594 iscsit_build_datain_pdu(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_datain *datain, struct iscsi_data_rsp *hdr, bool set_statsn) argument
2638 iscsit_send_datain(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2760 iscsit_build_logout_rsp(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_logout_rsp *hdr) argument
2855 iscsit_send_logout(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
2888 iscsit_build_nopin_rsp(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_nopin *hdr, bool nopout_response) argument
2918 iscsit_send_unsolicited_nopin( struct iscsi_cmd *cmd, struct iscsi_conn *conn, int want_response) argument
2962 iscsit_send_nopin(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3029 iscsit_send_r2t( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3108 iscsit_build_r2ts_for_cmd( struct iscsi_conn *conn, struct iscsi_cmd *cmd, bool recovery) argument
3185 iscsit_build_rsp_pdu(struct iscsi_cmd *cmd, struct iscsi_conn *conn, bool inc_stat_sn, struct iscsi_scsi_rsp *hdr) argument
3219 iscsit_send_response(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3315 iscsit_build_task_mgt_rsp(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_tm_rsp *hdr) argument
3338 iscsit_send_task_mgt_rsp(struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3394 iscsit_build_sendtargets_response(struct iscsi_cmd *cmd, enum iscsit_transport_type network_transport) argument
3525 iscsit_build_text_rsp(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_text_rsp *hdr, enum iscsit_transport_type network_transport) argument
3560 iscsit_send_text_rsp( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3615 iscsit_build_reject(struct iscsi_cmd *cmd, struct iscsi_conn *conn, struct iscsi_reject *hdr) argument
3631 iscsit_send_reject( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
3734 iscsit_immediate_queue(struct iscsi_conn *conn, struct iscsi_cmd *cmd, int state) argument
3781 struct iscsi_cmd *cmd; local
3800 iscsit_response_queue(struct iscsi_conn *conn, struct iscsi_cmd *cmd, int state) argument
3918 struct iscsi_cmd *cmd; local
3992 struct iscsi_cmd *cmd; local
4179 struct iscsi_cmd *cmd = NULL, *cmd_tmp = NULL; local
4204 struct iscsi_cmd *cmd; local
4572 iscsit_logout_post_handler( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
[all...]
H A Discsi_target_util.c61 * Called with cmd->r2t_lock held.
64 struct iscsi_cmd *cmd,
80 r2t->r2t_sn = (!r2t_sn) ? cmd->r2t_sn++ : r2t_sn;
83 list_add_tail(&r2t->r2t_list, &cmd->cmd_r2t_list);
84 spin_unlock_bh(&cmd->r2t_lock);
86 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, ISTATE_SEND_R2T);
88 spin_lock_bh(&cmd->r2t_lock);
93 struct iscsi_cmd *cmd,
99 spin_lock_bh(&cmd
63 iscsit_add_r2t_to_list( struct iscsi_cmd *cmd, u32 offset, u32 xfer_len, int recovery, u32 r2t_sn) argument
92 iscsit_get_r2t_for_eos( struct iscsi_cmd *cmd, u32 offset, u32 length) argument
114 iscsit_get_r2t_from_list(struct iscsi_cmd *cmd) argument
135 iscsit_free_r2t(struct iscsi_r2t *r2t, struct iscsi_cmd *cmd) argument
141 iscsit_free_r2ts_from_list(struct iscsi_cmd *cmd) argument
157 struct iscsi_cmd *cmd; local
184 iscsit_get_seq_holder_for_datain( struct iscsi_cmd *cmd, u32 seq_send_order) argument
197 iscsit_get_seq_holder_for_r2t(struct iscsi_cmd *cmd) argument
218 iscsit_get_holder_for_r2tsn( struct iscsi_cmd *cmd, u32 r2t_sn) argument
279 iscsit_sequence_cmd(struct iscsi_conn *conn, struct iscsi_cmd *cmd, unsigned char *buf, __be32 cmdsn) argument
330 iscsit_check_unsolicited_dataout(struct iscsi_cmd *cmd, unsigned char *buf) argument
378 struct iscsi_cmd *cmd; local
399 struct iscsi_cmd *cmd; local
424 struct iscsi_cmd *cmd = NULL; local
446 struct iscsi_cmd *cmd = NULL; local
492 iscsit_add_cmd_to_immediate_queue( struct iscsi_cmd *cmd, struct iscsi_conn *conn, u8 state) argument
538 iscsit_remove_cmd_from_immediate_queue( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
567 iscsit_add_cmd_to_response_queue( struct iscsi_cmd *cmd, struct iscsi_conn *conn, u8 state) argument
613 iscsit_remove_cmd_from_response_queue( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
687 iscsit_release_cmd(struct iscsi_cmd *cmd) argument
710 __iscsit_free_cmd(struct iscsi_cmd *cmd, bool scsi_cmd, bool check_queues) argument
730 iscsit_free_cmd(struct iscsi_cmd *cmd, bool shutdown) argument
932 struct iscsi_cmd *cmd; local
1153 iscsit_send_tx_data( struct iscsi_cmd *cmd, struct iscsi_conn *conn, int use_misc) argument
1186 iscsit_fe_sendpage_sg( struct iscsi_cmd *cmd, struct iscsi_conn *conn) argument
[all...]
H A Discsi_target_device.c54 void iscsit_increment_maxcmdsn(struct iscsi_cmd *cmd, struct iscsi_session *sess) argument
56 if (cmd->immediate_cmd || cmd->maxcmdsn_inc)
59 cmd->maxcmdsn_inc = 1;
H A Discsi_target_erl0.c39 struct iscsi_cmd *cmd)
41 struct iscsi_conn *conn = cmd->conn;
46 if (cmd->unsolicited_data) {
47 cmd->seq_start_offset = cmd->write_data_done;
48 cmd->seq_end_offset = (cmd->write_data_done +
49 ((cmd->se_cmd.data_length >
51 conn->sess->sess_ops->FirstBurstLength : cmd->se_cmd.data_length));
58 if (!cmd
38 iscsit_set_dataout_sequence_values( struct iscsi_cmd *cmd) argument
74 iscsit_dataout_within_command_recovery_check( struct iscsi_cmd *cmd, unsigned char *buf) argument
140 iscsit_dataout_check_unsolicited_sequence( struct iscsi_cmd *cmd, unsigned char *buf) argument
215 iscsit_dataout_check_sequence( struct iscsi_cmd *cmd, unsigned char *buf) argument
344 iscsit_dataout_check_datasn( struct iscsi_cmd *cmd, unsigned char *buf) argument
395 iscsit_dataout_pre_datapduinorder_yes( struct iscsi_cmd *cmd, unsigned char *buf) argument
457 iscsit_dataout_pre_datapduinorder_no( struct iscsi_cmd *cmd, unsigned char *buf) argument
489 iscsit_dataout_update_r2t(struct iscsi_cmd *cmd, u32 offset, u32 length) argument
508 iscsit_dataout_update_datapduinorder_no( struct iscsi_cmd *cmd, u32 data_sn, int f_bit) argument
541 iscsit_dataout_post_crc_passed( struct iscsi_cmd *cmd, unsigned char *buf) argument
652 iscsit_dataout_post_crc_failed( struct iscsi_cmd *cmd, unsigned char *buf) argument
690 iscsit_check_pre_dataout( struct iscsi_cmd *cmd, unsigned char *buf) argument
728 iscsit_check_post_dataout( struct iscsi_cmd *cmd, unsigned char *buf, u8 data_crc_failed) argument
[all...]
/drivers/net/wireless/libertas/
H A Dcmd.c15 #include "cmd.h"
63 * @cmd: the command ID
67 static u8 is_command_allowed_in_ps(u16 cmd) argument
69 switch (cmd) {
90 struct cmd_ds_get_hw_spec cmd; local
96 memset(&cmd, 0, sizeof(cmd));
97 cmd.hdr.size = cpu_to_le16(sizeof(cmd));
98 memcpy(cmd
236 struct cmd_ds_802_11_ps_mode cmd; local
272 struct cmd_ds_802_11_sleep_params cmd; local
365 lbs_ret_host_sleep_activate(struct lbs_private *priv, unsigned long dummy, struct cmd_header *cmd) argument
378 struct cmd_header cmd; local
438 struct cmd_ds_802_11_snmp_mib cmd; local
488 struct cmd_ds_802_11_snmp_mib cmd; local
533 struct cmd_ds_802_11_rf_tx_power cmd; local
565 struct cmd_ds_802_11_rf_tx_power cmd; local
594 struct cmd_ds_802_11_monitor_mode cmd; local
624 struct cmd_ds_802_11_rf_channel cmd; local
671 struct cmd_ds_802_11_rf_channel cmd; local
708 struct cmd_ds_802_11_rssi cmd; local
743 struct cmd_ds_802_11d_domain_info cmd; local
869 struct cmd_ds_reg_access cmd; local
914 struct cmd_ds_reg_access cmd; local
991 struct cmd_header *cmd; local
1075 __lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd, int result) argument
1096 lbs_complete_command(struct lbs_private *priv, struct cmd_ctrl_node *cmd, int result) argument
1107 struct cmd_ds_802_11_radio_control cmd; local
1150 struct cmd_ds_mac_control cmd; local
1165 struct cmd_ds_mac_control cmd; local
1314 struct cmd_header *cmd; local
1569 struct cmd_ds_802_11_tpc_cfg cmd; local
1601 struct cmd_ds_802_11_pa_cfg cmd; local
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_ioc32.c45 * \param cmd command.
49 long nouveau_compat_ioctl(struct file *filp, unsigned int cmd, argument
52 unsigned int nr = DRM_IOCTL_NR(cmd);
57 return drm_compat_ioctl(filp, cmd, arg);
64 ret = (*fn)(filp, cmd, arg);
66 ret = nouveau_drm_ioctl(filp, cmd, arg);
/drivers/net/wireless/ti/wl1251/
H A Dcmd.c1 #include "cmd.h"
23 struct wl1251_cmd_header *cmd; local
28 cmd = buf;
29 cmd->id = id;
30 cmd->status = 0;
72 wl1251_debug(DEBUG_CMD, "cmd test");
114 wl1251_debug(DEBUG_CMD, "cmd interrogate");
131 if (acx->cmd.status != CMD_STATUS_SUCCESS)
133 acx->cmd.status);
152 wl1251_debug(DEBUG_CMD, "cmd configur
208 struct cmd_enabledisable_path *cmd; local
244 struct cmd_enabledisable_path *cmd; local
352 struct cmd_read_write_memory *cmd; local
392 struct wl1251_cmd_packet_template *cmd; local
428 struct wl1251_cmd_scan *cmd; local
494 struct wl1251_cmd_trigger_scan_to *cmd; local
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Doffloading.c70 struct iwl_wowlan_config_cmd_v2 *cmd)
82 cmd->qos_seq[i] = cpu_to_le16(seq);
96 } cmd = {}; local
100 .data[0] = &cmd,
118 nsc = cmd.v3s.ns_config;
120 addrs = cmd.v3s.targ_addrs;
123 nsc = cmd.v3l.ns_config;
125 addrs = cmd.v3l.targ_addrs;
158 cmd.v3s.num_valid_ipv6_addrs = cpu_to_le32(i);
160 cmd
69 iwl_mvm_set_wowlan_qos_seq(struct iwl_mvm_sta *mvm_ap_sta, struct iwl_wowlan_config_cmd_v2 *cmd) argument
[all...]
H A Dpower.c81 struct iwl_beacon_filter_cmd *cmd,
85 le32_to_cpu(cmd->ba_enable_beacon_abort));
87 le32_to_cpu(cmd->ba_escape_timer));
89 le32_to_cpu(cmd->bf_debug_flag));
91 le32_to_cpu(cmd->bf_enable_beacon_filter));
93 le32_to_cpu(cmd->bf_energy_delta));
95 le32_to_cpu(cmd->bf_escape_timer));
97 le32_to_cpu(cmd->bf_roaming_energy_delta));
99 le32_to_cpu(cmd->bf_roaming_state));
101 le32_to_cpu(cmd
80 iwl_mvm_beacon_filter_send_cmd(struct iwl_mvm *mvm, struct iwl_beacon_filter_cmd *cmd, u32 flags) argument
112 iwl_mvm_beacon_filter_set_cqm_params(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_beacon_filter_cmd *cmd) argument
128 iwl_mvm_power_log(struct iwl_mvm *mvm, struct iwl_mac_power_cmd *cmd) argument
165 iwl_mvm_power_configure_uapsd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_power_cmd *cmd) argument
307 iwl_mvm_power_build_cmd(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_mac_power_cmd *cmd) argument
426 struct iwl_mac_power_cmd cmd = {}; local
440 struct iwl_device_power_cmd cmd = { local
487 iwl_mvm_power_uapsd_misbehaving_ap_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, struct iwl_device_cmd *cmd) argument
667 struct iwl_mac_power_cmd cmd = {}; local
737 iwl_mvm_beacon_filter_debugfs_parameters(struct ieee80211_vif *vif, struct iwl_beacon_filter_cmd *cmd) argument
771 _iwl_mvm_enable_beacon_filter(struct iwl_mvm *mvm, struct ieee80211_vif *vif, struct iwl_beacon_filter_cmd *cmd, u32 cmd_flags, bool d0i3) argument
800 struct iwl_beacon_filter_cmd cmd = { local
813 struct iwl_beacon_filter_cmd cmd = { local
832 struct iwl_beacon_filter_cmd cmd = {}; local
955 struct iwl_mac_power_cmd cmd = {}; local
[all...]
/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb_accel.c49 __u32 cmd[6]; local
51 cmd[0] = (GDC_TYPE_SETREGISTER << 24) | (1 << 16) | GDC_REG_MODE_BITMAP;
53 cmd[1] = (2 << 7) | (GDC_ROP_COPY << 9);
54 cmd[2] = GDC_TYPE_BLTCOPYP << 24;
57 cmd[2] |= GDC_CMD_BLTCOPY_TOP_LEFT << 16;
59 cmd[2] |= GDC_CMD_BLTCOPY_BOTTOM_LEFT << 16;
61 cmd[2] |= GDC_CMD_BLTCOPY_TOP_RIGHT << 16;
63 cmd[2] |= GDC_CMD_BLTCOPY_BOTTOM_RIGHT << 16;
65 cmd[3] = (area->sy << 16) | area->sx;
66 cmd[
75 mb86290fb_imageblit1(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
124 mb86290fb_imageblit8(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
163 mb86290fb_imageblit16(u32 *cmd, u16 step, u16 dx, u16 dy, u16 width, u16 height, u32 fgcolor, u32 bgcolor, const struct fb_image *image, struct fb_info *info) argument
192 u32 *cmd = NULL; local
261 u32 cmd[7]; local
[all...]
/drivers/block/rsxx/
H A Dcregs.c33 struct creg_cmd *cmd,
112 static void creg_issue_cmd(struct rsxx_cardinfo *card, struct creg_cmd *cmd) argument
119 iowrite32(cmd->addr, card->regmap + CREG_ADD);
120 iowrite32(cmd->cnt8, card->regmap + CREG_CNT);
122 if (cmd->op == CREG_OP_WRITE) {
123 if (cmd->buf) {
124 st = copy_to_creg_data(card, cmd->cnt8,
125 cmd->buf, cmd->stream);
135 iowrite32(cmd
170 struct creg_cmd *cmd; local
209 struct creg_cmd *cmd; local
239 struct creg_cmd *cmd; local
313 struct creg_cmd *cmd = NULL; local
371 creg_cmd_done_cb(struct rsxx_cardinfo *card, struct creg_cmd *cmd, int st) argument
535 rsxx_issue_card_cmd(struct rsxx_cardinfo *card, u32 cmd) argument
609 read_hw_log_done(struct rsxx_cardinfo *card, struct creg_cmd *cmd, int st) argument
667 issue_reg_cmd(struct rsxx_cardinfo *card, struct rsxx_reg_access *cmd, int read) argument
681 struct rsxx_reg_access cmd; local
710 struct creg_cmd *cmd = NULL; local
756 struct creg_cmd *cmd; local
[all...]
/drivers/scsi/
H A Datari_NCR5380.c275 #define NEXT(cmd) ((Scsi_Cmnd *)(cmd)->host_scribble)
276 #define SET_NEXT(cmd,next) ((cmd)->host_scribble = (void *)(next))
277 #define NEXTADDR(cmd) ((Scsi_Cmnd **)&(cmd)->host_scribble)
280 #define H_NO(cmd) (cmd)->device->host->host_no
319 /* -1 for TAG_NONE is not possible with unsigned char cmd->tag */
362 static int is_lun_busy(Scsi_Cmnd *cmd, in argument
387 cmd_get_tag(Scsi_Cmnd *cmd, int should_be_tagged) argument
419 cmd_free_tag(Scsi_Cmnd *cmd) argument
473 merge_contiguous_buffers(Scsi_Cmnd *cmd) argument
510 initialize_SCp(Scsi_Cmnd *cmd) argument
715 lprint_Scsi_Cmnd(Scsi_Cmnd *cmd) argument
761 show_Scsi_Cmnd(Scsi_Cmnd *cmd, struct seq_file *m) argument
886 NCR5380_queue_command_lck(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) argument
1328 collect_stats(struct NCR5380_hostdata* hostdata, Scsi_Cmnd *cmd) argument
1383 NCR5380_select(struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag) argument
1985 Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected; local
2619 NCR5380_abort(Scsi_Cmnd *cmd) argument
2826 NCR5380_bus_reset(Scsi_Cmnd *cmd) argument
[all...]
H A Din2000.c207 static inline void write_3393_cmd(struct IN2000_hostdata *hostdata, uchar cmd) argument
212 write1_io(cmd, IO_WD_DATA);
257 static int is_dir_out(Scsi_Cmnd * cmd) argument
259 switch (cmd->cmnd[0]) {
336 static int in2000_queuecommand_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) argument
342 instance = cmd->device->host;
345 DB(DB_QUEUE_COMMAND, scmd_printk(KERN_DEBUG, cmd, "Q-%02x(", cmd->cmnd[0]))
348 * - host_scribble is the pointer to the next cmd in the input queue
349 * - scsi_done points to the routine we call when a cmd i
448 Scsi_Cmnd *cmd, *prev; local
747 transfer_bytes(Scsi_Cmnd * cmd, int data_in_dir) argument
837 Scsi_Cmnd *patch, *cmd; local
1642 in2000_bus_reset(Scsi_Cmnd * cmd) argument
1678 __in2000_abort(Scsi_Cmnd * cmd) argument
1799 in2000_abort(Scsi_Cmnd * cmd) argument
2218 Scsi_Cmnd *cmd; local
[all...]
H A Dsun3_NCR5380.c262 #define NEXT(cmd) ((struct scsi_cmnd *)(cmd)->host_scribble)
263 #define SET_NEXT(cmd, next) ((cmd)->host_scribble = (void *)(next))
264 #define NEXTADDR(cmd) ((struct scsi_cmnd **)&((cmd)->host_scribble))
267 #define H_NO(cmd) (cmd)->device->host->host_no
308 /* -1 for TAG_NONE is not possible with unsigned char cmd->tag */
356 static int is_lun_busy(struct scsi_cmnd *cmd, in argument
381 cmd_get_tag(struct scsi_cmnd *cmd, int should_be_tagged) argument
414 cmd_free_tag(struct scsi_cmnd *cmd) argument
467 initialize_SCp(struct scsi_cmnd *cmd) argument
661 lprint_Scsi_Cmnd(Scsi_Cmnd *cmd) argument
707 show_Scsi_Cmnd(Scsi_Cmnd *cmd, struct seq_file *m) argument
834 NCR5380_queue_command_lck(struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) argument
1266 collect_stats(struct NCR5380_hostdata *hostdata, struct scsi_cmnd *cmd) argument
1323 NCR5380_select(struct Scsi_Host *instance, struct scsi_cmnd *cmd, int tag) argument
1914 struct scsi_cmnd *cmd = (struct scsi_cmnd *) hostdata->connected; local
2604 NCR5380_abort(struct scsi_cmnd *cmd) argument
2795 NCR5380_bus_reset(struct scsi_cmnd *cmd) argument
[all...]
/drivers/ide/
H A Dide-taskfile.c27 void ide_tf_readback(ide_drive_t *drive, struct ide_cmd *cmd) argument
35 tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf);
37 if (cmd->tf_flags & IDE_TFLAG_LBA48) {
40 tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob);
44 void ide_tf_dump(const char *s, struct ide_cmd *cmd) argument
48 "lbam 0x%02x lbah 0x%02x dev 0x%02x cmd 0x%02x\n",
49 s, cmd->tf.feature, cmd
59 struct ide_cmd cmd; local
81 struct ide_cmd *cmd = &hwif->cmd; local
151 struct ide_cmd *cmd = &hwif->cmd; local
223 ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, unsigned int write, unsigned int len) argument
281 ide_pio_datablock(ide_drive_t *drive, struct ide_cmd *cmd, unsigned int write) argument
306 ide_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) argument
324 ide_finish_cmd(ide_drive_t *drive, struct ide_cmd *cmd, u8 stat) argument
347 struct ide_cmd *cmd = &drive->hwif->cmd; local
403 pre_task_out_intr(ide_drive_t *drive, struct ide_cmd *cmd) argument
426 ide_raw_taskfile(ide_drive_t *drive, struct ide_cmd *cmd, u8 *buf, u16 nsect) argument
460 ide_no_data_taskfile(ide_drive_t *drive, struct ide_cmd *cmd) argument
472 struct ide_cmd cmd; local
[all...]
/drivers/mmc/core/
H A Dsdio_ops.c24 struct mmc_command cmd = {0}; local
29 cmd.opcode = SD_IO_SEND_OP_COND;
30 cmd.arg = ocr;
31 cmd.flags = MMC_RSP_SPI_R4 | MMC_RSP_R4 | MMC_CMD_BCR;
34 err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
50 if (cmd.resp[1] & MMC_CARD_BUSY)
53 if (cmd.resp[0] & MMC_CARD_BUSY)
63 *rocr = cmd.resp[mmc_host_is_spi(host) ? 1 : 0];
71 struct mmc_command cmd = {0}; local
81 cmd
125 struct mmc_command cmd = {0}; local
[all...]
H A Dmmc_ops.c30 struct mmc_command cmd = {0}; local
35 cmd.opcode = MMC_SEND_STATUS;
37 cmd.arg = card->rca << 16;
38 cmd.flags = MMC_RSP_SPI_R2 | MMC_RSP_R1 | MMC_CMD_AC;
40 cmd.flags &= ~MMC_RSP_CRC;
42 err = mmc_wait_for_cmd(card->host, &cmd, MMC_CMD_RETRIES);
50 *status = cmd.resp[0];
63 struct mmc_command cmd = {0}; local
67 cmd.opcode = MMC_SELECT_CARD;
70 cmd
106 struct mmc_command cmd = {0}; local
119 struct mmc_command cmd = {0}; local
155 struct mmc_command cmd = {0}; local
196 struct mmc_command cmd = {0}; local
217 struct mmc_command cmd = {0}; local
237 struct mmc_command cmd = {0}; local
264 struct mmc_command cmd = {0}; local
390 struct mmc_command cmd = {0}; local
405 struct mmc_command cmd = {0}; local
438 struct mmc_command cmd = {0}; local
551 struct mmc_command cmd = {0}; local
647 struct mmc_command cmd = {0}; local
[all...]
/drivers/net/wireless/libertas_tf/
H A Dcmd.c85 struct cmd_ds_get_hw_spec cmd; local
91 memset(&cmd, 0, sizeof(cmd));
92 cmd.hdr.size = cpu_to_le16(sizeof(cmd));
93 memcpy(cmd.permanentaddr, priv->current_addr, ETH_ALEN);
94 ret = lbtf_cmd_with_response(priv, CMD_GET_HW_SPEC, &cmd);
98 priv->fwcapinfo = le32_to_cpu(cmd.fwcapinfo);
102 priv->fwrelease = le32_to_cpu(cmd.fwrelease);
107 cmd
156 struct cmd_ds_802_11_rf_channel cmd; local
171 struct cmd_ds_802_11_beacon_set cmd; local
194 struct cmd_ds_802_11_beacon_control cmd; local
240 struct cmd_header *cmd; local
308 lbtf_complete_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmd, int result) argument
322 struct cmd_ds_mac_multicast_addr cmd; local
344 struct cmd_ds_set_mode cmd; local
357 struct cmd_ds_set_bssid cmd; local
371 struct cmd_ds_802_11_mac_address cmd; local
387 struct cmd_ds_802_11_radio_control cmd; local
425 struct cmd_ds_mac_control cmd; local
567 struct cmd_header *cmd; local
[all...]
/drivers/media/pci/ivtv/
H A Divtv-gpio.h27 int ivtv_reset_tuner_gpio(void *dev, int component, int cmd, int value);
H A Divtv-mailbox.h29 int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]);
30 int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...);
31 int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...);
32 int ivtv_api_func(void *priv, u32 cmd, int in, int out, u32 data[CX2341X_MBOX_MAX_DATA]);
/drivers/media/usb/pwc/
H A Dpwc-dec1.c27 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd) argument
H A Dpwc-dec1.h37 void pwc_dec1_init(struct pwc_device *pdev, const unsigned char *cmd);
/drivers/staging/android/ion/
H A Dcompat_ion.h23 long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
/drivers/misc/ibmasm/
H A Dr_heartbeat.c63 struct command *cmd; local
67 cmd = ibmasm_new_command(sp, sizeof rhb_dot_cmd);
68 if (!cmd)
72 memcpy(cmd->buffer, (void *)&rhb_dot_cmd, sizeof rhb_dot_cmd);
73 cmd->status = IBMASM_CMD_PENDING;
74 ibmasm_exec_command(sp, cmd);
75 ibmasm_wait_for_response(cmd, IBMASM_CMD_TIMEOUT_NORMAL);
77 if (cmd->status != IBMASM_CMD_COMPLETE)
89 command_put(cmd);

Completed in 523 milliseconds

1234567891011>>