/drivers/scsi/mpt2sas/ |
D | mpt2sas_base.c | 711 _base_display_reply_info(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _base_display_reply_info() argument 728 mpt2sas_base_get_msg_frame(ioc, smid)); in _base_display_reply_info() 746 mpt2sas_base_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_base_done() argument 783 u16 smid; in _base_async_event() local 795 smid = mpt2sas_base_get_smid(ioc, ioc->base_cb_idx); in _base_async_event() 796 if (!smid) { in _base_async_event() 802 ack_request = mpt2sas_base_get_msg_frame(ioc, smid); in _base_async_event() 809 mpt2sas_base_put_smid_default(ioc, smid); in _base_async_event() 830 _base_get_cb_idx(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _base_get_cb_idx() argument 835 if (smid < ioc->hi_priority_smid) { in _base_get_cb_idx() [all …]
|
D | mpt2sas_ctl.c | 122 _ctl_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, in _ctl_display_some_debug() argument 131 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug() 218 ioc->name, calling_function_name, desc, smid); in _ctl_display_some_debug() 274 mpt2sas_ctl_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_ctl_done() argument 284 if (ioc->ctl_cmds.smid != smid) in mpt2sas_ctl_done() 301 smid); in mpt2sas_ctl_done() 307 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt2sas_ctl_done() 471 mpt2sas_base_free_smid(ioc, ioc->ctl_cmds.smid); in mpt2sas_ctl_reset_handler() 574 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid() 619 u16 smid; in _ctl_do_mpt_command() local [all …]
|
D | mpt2sas_base.h | 336 u16 smid; member 535 u16 smid; member 550 u16 smid; member 1000 typedef u8 (*MPT_CALLBACK)(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, 1016 void *mpt2sas_base_get_msg_frame(struct MPT2SAS_ADAPTER *ioc, u16 smid); 1017 void *mpt2sas_base_get_sense_buffer(struct MPT2SAS_ADAPTER *ioc, u16 smid); 1020 u16 smid); 1029 void mpt2sas_base_free_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid); 1030 void mpt2sas_base_put_smid_scsi_io(struct MPT2SAS_ADAPTER *ioc, u16 smid, 1032 void mpt2sas_base_put_smid_hi_priority(struct MPT2SAS_ADAPTER *ioc, u16 smid); [all …]
|
D | mpt2sas_scsih.c | 72 static u8 _scsih_check_for_pending_tm(struct MPT2SAS_ADAPTER *ioc, u16 smid); 877 _scsih_scsi_lookup_get(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get() argument 879 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get() 891 _scsih_scsi_lookup_get_clear(struct MPT2SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get_clear() argument 897 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear() 898 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear() 918 u16 smid; in _scsih_scsi_lookup_find_by_scmd() local 923 smid = 0; in _scsih_scsi_lookup_find_by_scmd() 926 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd() 932 return smid; in _scsih_scsi_lookup_find_by_scmd() [all …]
|
D | mpt2sas_transport.c | 228 mpt2sas_transport_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_transport_done() argument 236 if (ioc->transport_cmds.smid != smid) in mpt2sas_transport_done() 296 u16 smid; in _transport_expander_report_manufacture() local 343 smid = mpt2sas_base_get_smid(ioc, ioc->transport_cb_idx); in _transport_expander_report_manufacture() 344 if (!smid) { in _transport_expander_report_manufacture() 352 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture() 353 ioc->transport_cmds.smid = smid; in _transport_expander_report_manufacture() 362 mpt2sas_base_free_smid(ioc, smid); in _transport_expander_report_manufacture() 405 mpt2sas_base_put_smid_default(ioc, smid); in _transport_expander_report_manufacture() 1086 u16 smid; in _transport_get_expander_phy_error_log() local [all …]
|
D | mpt2sas_config.c | 99 _config_display_some_debug(struct MPT2SAS_ADAPTER *ioc, u16 smid, in _config_display_some_debug() argument 108 mpi_request = mpt2sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug() 164 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug() 240 mpt2sas_config_done(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt2sas_config_done() argument 247 if (ioc->config_cmds.smid != smid) in mpt2sas_config_done() 258 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt2sas_config_done() 260 ioc->config_cmds.smid = USHRT_MAX; in mpt2sas_config_done() 289 u16 smid; in _config_request() local 372 smid = mpt2sas_base_get_smid(ioc, ioc->config_cb_idx); in _config_request() 373 if (!smid) { in _config_request() [all …]
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 689 _base_display_reply_info(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in _base_display_reply_info() argument 707 mpt3sas_base_get_msg_frame(ioc, smid)); in _base_display_reply_info() 732 mpt3sas_base_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_base_done() argument 769 u16 smid; in _base_async_event() local 781 smid = mpt3sas_base_get_smid(ioc, ioc->base_cb_idx); in _base_async_event() 782 if (!smid) { in _base_async_event() 788 ack_request = mpt3sas_base_get_msg_frame(ioc, smid); in _base_async_event() 795 mpt3sas_base_put_smid_default(ioc, smid); in _base_async_event() 816 _base_get_cb_idx(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _base_get_cb_idx() argument 821 if (smid < ioc->hi_priority_smid) { in _base_get_cb_idx() [all …]
|
D | mpt3sas_base.h | 253 u16 smid; member 438 u16 smid; member 452 u16 smid; member 495 struct scsi_cmnd *scmd, u16 smid); 923 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, 939 void *mpt3sas_base_get_msg_frame(struct MPT3SAS_ADAPTER *ioc, u16 smid); 940 void *mpt3sas_base_get_sense_buffer(struct MPT3SAS_ADAPTER *ioc, u16 smid); 942 u16 smid); 951 void mpt3sas_base_free_smid(struct MPT3SAS_ADAPTER *ioc, u16 smid); 952 void mpt3sas_base_put_smid_scsi_io(struct MPT3SAS_ADAPTER *ioc, u16 smid, [all …]
|
D | mpt3sas_ctl.c | 119 _ctl_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _ctl_display_some_debug() argument 128 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug() 215 ioc->name, calling_function_name, desc, smid); in _ctl_display_some_debug() 272 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_ctl_done() argument 282 if (ioc->ctl_cmds.smid != smid) in mpt3sas_ctl_done() 299 smid); in mpt3sas_ctl_done() 305 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt3sas_ctl_done() 469 mpt3sas_base_free_smid(ioc, ioc->ctl_cmds.smid); in mpt3sas_ctl_reset_handler() 572 tm_request->TaskMID = cpu_to_le16(ioc->scsi_lookup[i - 1].smid); in _ctl_set_task_mid() 618 u16 smid; in _ctl_do_mpt_command() local [all …]
|
D | mpt3sas_scsih.c | 75 static u8 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid); 929 _scsih_scsi_lookup_get(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get() argument 931 return ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get() 943 _scsih_scsi_lookup_get_clear(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _scsih_scsi_lookup_get_clear() argument 949 scmd = ioc->scsi_lookup[smid - 1].scmd; in _scsih_scsi_lookup_get_clear() 950 ioc->scsi_lookup[smid - 1].scmd = NULL; in _scsih_scsi_lookup_get_clear() 970 u16 smid; in _scsih_scsi_lookup_find_by_scmd() local 975 smid = 0; in _scsih_scsi_lookup_find_by_scmd() 978 smid = ioc->scsi_lookup[i].smid; in _scsih_scsi_lookup_find_by_scmd() 984 return smid; in _scsih_scsi_lookup_find_by_scmd() [all …]
|
D | mpt3sas_transport.c | 232 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_transport_done() argument 240 if (ioc->transport_cmds.smid != smid) in mpt3sas_transport_done() 300 u16 smid; in _transport_expander_report_manufacture() local 348 smid = mpt3sas_base_get_smid(ioc, ioc->transport_cb_idx); in _transport_expander_report_manufacture() 349 if (!smid) { in _transport_expander_report_manufacture() 357 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture() 358 ioc->transport_cmds.smid = smid; in _transport_expander_report_manufacture() 369 mpt3sas_base_free_smid(ioc, smid); in _transport_expander_report_manufacture() 395 mpt3sas_base_put_smid_default(ioc, smid); in _transport_expander_report_manufacture() 1082 u16 smid; in _transport_get_expander_phy_error_log() local [all …]
|
D | mpt3sas_config.c | 98 _config_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _config_display_some_debug() argument 107 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug() 164 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug() 240 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_config_done() argument 247 if (ioc->config_cmds.smid != smid) in mpt3sas_config_done() 258 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt3sas_config_done() 260 ioc->config_cmds.smid = USHRT_MAX; in mpt3sas_config_done() 289 u16 smid; in _config_request() local 374 smid = mpt3sas_base_get_smid(ioc, ioc->config_cb_idx); in _config_request() 375 if (!smid) { in _config_request() [all …]
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 1711 u16 smid, num_completed; in complete_cmd_fusion() local 1740 smid = reply_desc->SMID; in complete_cmd_fusion() 1742 cmd_fusion = fusion->cmd_list[smid - 1]; in complete_cmd_fusion() 1916 mfi_cmd->context.smid = cmd->index; in build_mpt_mfi_pass_thru() 1974 index = cmd->context.smid; in build_mpt_cmd() 2280 cmd_mfi->context.smid in megasas_reset_fusion()
|
D | megaraid_sas.h | 1429 u16 smid; member
|