Home
last modified time | relevance | path

Searched refs:smid (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_base.c639 _base_display_reply_info(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _base_display_reply_info() argument
651 mpt2sas_base_get_msg_frame(ioc, smid)); in _base_display_reply_info()
669 mpt2sas_base_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_base_done() argument
705 u16 smid; in _base_async_event() local
717 smid = mpt2sas_base_get_smid(ioc, ioc->base_cb_idx); in _base_async_event()
718 if (!smid) { in _base_async_event()
724 ack_request = mpt2sas_base_get_msg_frame(ioc, smid); in _base_async_event()
731 mpt2sas_base_put_smid_default(ioc, smid); in _base_async_event()
752 _base_get_cb_idx(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _base_get_cb_idx() argument
757 if (smid < ioc->hi_priority_smid) { in _base_get_cb_idx()
[all …]
Dmpt2sas_base.h295 u16 smid; member
477 u16 smid; member
492 u16 smid; member
837 typedef u8 (*MPT_CALLBACK)(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
853 void *mpt2sas_base_get_msg_frame(struct MPT2SAS_ADAPTER *ioc, u16 smid);
854 void *mpt2sas_base_get_sense_buffer(struct MPT2SAS_ADAPTER *ioc, u16 smid);
857 u16 smid);
865 void mpt2sas_base_free_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid);
866 void mpt2sas_base_put_smid_scsi_io(struct MPT2SAS_ADAPTER *ioc, u16 smid,
868 void mpt2sas_base_put_smid_hi_priority(struct MPT2SAS_ADAPTER *ioc, u16 smid);
[all …]
Dmpt2sas_ctl.c123 _ctl_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, in _ctl_display_some_debug() argument
132 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug()
219 ioc->name, calling_function_name, desc, smid); in _ctl_display_some_debug()
275 mpt2sas_ctl_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_ctl_done() argument
285 if (ioc->ctl_cmds.smid != smid) in mpt2sas_ctl_done()
302 smid); in mpt2sas_ctl_done()
308 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt2sas_ctl_done()
472 mpt2sas_base_free_smid(ioc, ioc->ctl_cmds.smid); in mpt2sas_ctl_reset_handler()
588 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid()
634 u16 smid; in _ctl_do_mpt_command() local
[all …]
Dmpt2sas_transport.c225 mpt2sas_transport_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_transport_done() argument
233 if (ioc->transport_cmds.smid != smid) in mpt2sas_transport_done()
293 u16 smid; in _transport_expander_report_manufacture() local
341 smid = mpt2sas_base_get_smid(ioc, ioc->transport_cb_idx); in _transport_expander_report_manufacture()
342 if (!smid) { in _transport_expander_report_manufacture()
350 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
351 ioc->transport_cmds.smid = smid; in _transport_expander_report_manufacture()
360 mpt2sas_base_free_smid(ioc, smid); in _transport_expander_report_manufacture()
403 mpt2sas_base_put_smid_default(ioc, smid); in _transport_expander_report_manufacture()
1079 u16 smid; in _transport_get_expander_phy_error_log() local
[all …]
Dmpt2sas_scsih.c73 static u8 _scsih_check_for_pending_tm(struct MPT2SAS_ADAPTER *ioc, u16 smid);
829 _scsih_scsi_lookup_get(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get() argument
831 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get()
843 _scsih_scsi_lookup_get_clear(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get_clear() argument
849 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear()
850 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear()
870 u16 smid; in _scsih_scsi_lookup_find_by_scmd() local
875 smid = 0; in _scsih_scsi_lookup_find_by_scmd()
878 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd()
884 return smid; in _scsih_scsi_lookup_find_by_scmd()
[all …]
Dmpt2sas_config.c100 _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, in _config_display_some_debug() argument
109 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug()
165 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug()
241 mpt2sas_config_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_config_done() argument
248 if (ioc->config_cmds.smid != smid) in mpt2sas_config_done()
259 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt2sas_config_done()
261 ioc->config_cmds.smid = USHRT_MAX; in mpt2sas_config_done()
290 u16 smid; in _config_request() local
373 smid = mpt2sas_base_get_smid(ioc, ioc->config_cb_idx); in _config_request()
374 if (!smid) { in _config_request()
[all …]
/linux-2.6.39/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c704 megasas_return_cmd_for_smid(struct megasas_instance *instance, u16 smid) in megasas_return_cmd_for_smid() argument
710 cmd = fusion->cmd_list[smid - 1]; in megasas_return_cmd_for_smid()
1635 u16 smid, num_completed; in complete_cmd_fusion() local
1664 smid = reply_desc->SMID; in complete_cmd_fusion()
1666 cmd_fusion = fusion->cmd_list[smid - 1]; in complete_cmd_fusion()
1831 mfi_cmd->context.smid = cmd->index; in build_mpt_mfi_pass_thru()
1881 index = cmd->context.smid; in build_mpt_cmd()
2181 cmd_mfi->context.smid in megasas_reset_fusion()
Dmegaraid_sas.h1419 u16 smid; member