Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.c296 _base_get_chain(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _base_get_chain() argument
305 chain_virt = base_chain + (smid * ioc->facts.MaxChainDepth * in _base_get_chain()
322 _base_get_chain_phys(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _base_get_chain_phys() argument
331 chain_phys = base_chain_phys + (smid * ioc->facts.MaxChainDepth * in _base_get_chain_phys()
348 _base_get_buffer_bar0(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _base_get_buffer_bar0() argument
355 return chain_end + (smid * 64 * 1024); in _base_get_buffer_bar0()
369 _base_get_buffer_phys_bar0(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _base_get_buffer_phys_bar0() argument
375 return chain_end_phys + (smid * 64 * 1024); in _base_get_buffer_phys_bar0()
418 void *mpi_request, u16 smid) in _clone_sg_entries() argument
457 scmd = mpt3sas_scsih_scsi_lookup_get(ioc, smid); in _clone_sg_entries()
[all …]
Dmpt3sas_ctl.c93 _ctl_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _ctl_display_some_debug() argument
102 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _ctl_display_some_debug()
194 ioc_info(ioc, "%s: %s, smid(%d)\n", calling_function_name, desc, smid); in _ctl_display_some_debug()
258 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_ctl_done() argument
269 if (ioc->ctl_cmds.smid != smid) in mpt3sas_ctl_done()
286 smid); in mpt3sas_ctl_done()
299 sense_data = mpt3sas_base_get_sense_buffer(ioc, smid); in mpt3sas_ctl_done()
304 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt3sas_ctl_done()
500 mpt3sas_base_free_smid(ioc, ioc->ctl_cmds.smid); in mpt3sas_ctl_clear_outstanding_ioctls()
582 u16 smid; in _ctl_set_task_mid() local
[all …]
Dmpt3sas_base.h523 u16 smid; member
881 u16 smid; member
897 u16 smid; member
980 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device);
988 typedef void (*NVME_BUILD_PRP)(struct MPT3SAS_ADAPTER *ioc, u16 smid,
994 typedef void (*PUT_SMID_IO_FP_HIP) (struct MPT3SAS_ADAPTER *ioc, u16 smid,
996 typedef void (*PUT_SMID_DEFAULT) (struct MPT3SAS_ADAPTER *ioc, u16 smid);
1652 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index,
1708 void *mpt3sas_base_get_msg_frame(struct MPT3SAS_ADAPTER *ioc, u16 smid);
1709 void *mpt3sas_base_get_sense_buffer(struct MPT3SAS_ADAPTER *ioc, u16 smid);
[all …]
Dmpt3sas_transport.c292 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_transport_done() argument
300 if (ioc->transport_cmds.smid != smid) in mpt3sas_transport_done()
361 u16 smid; in _transport_expander_report_manufacture() local
388 smid = mpt3sas_base_get_smid(ioc, ioc->transport_cb_idx); in _transport_expander_report_manufacture()
389 if (!smid) { in _transport_expander_report_manufacture()
396 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture()
397 ioc->transport_cmds.smid = smid; in _transport_expander_report_manufacture()
407 mpt3sas_base_free_smid(ioc, smid); in _transport_expander_report_manufacture()
433 ioc->put_smid_default(ioc, smid); in _transport_expander_report_manufacture()
1268 u16 smid; in _transport_get_expander_phy_error_log() local
[all …]
Dmpt3sas_scsih.c80 static u8 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid);
1694 int smid; in _scsih_scsi_lookup_find_by_target() local
1697 for (smid = 1; in _scsih_scsi_lookup_find_by_target()
1698 smid <= ioc->shost->can_queue; smid++) { in _scsih_scsi_lookup_find_by_target()
1699 scmd = mpt3sas_scsih_scsi_lookup_get(ioc, smid); in _scsih_scsi_lookup_find_by_target()
1724 int smid; in _scsih_scsi_lookup_find_by_lun() local
1727 for (smid = 1; smid <= ioc->shost->can_queue; smid++) { in _scsih_scsi_lookup_find_by_lun()
1729 scmd = mpt3sas_scsih_scsi_lookup_get(ioc, smid); in _scsih_scsi_lookup_find_by_lun()
1749 mpt3sas_scsih_scsi_lookup_get(struct MPT3SAS_ADAPTER *ioc, u16 smid) in mpt3sas_scsih_scsi_lookup_get() argument
1754 u16 tag = smid - 1; in mpt3sas_scsih_scsi_lookup_get()
[all …]
Dmpt3sas_config.c98 _config_display_some_debug(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _config_display_some_debug() argument
104 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _config_display_some_debug()
178 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug()
252 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_config_done() argument
259 if (ioc->config_cmds.smid != smid) in mpt3sas_config_done()
270 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt3sas_config_done()
271 ioc->config_cmds.smid = USHRT_MAX; in mpt3sas_config_done()
300 u16 smid; in _config_request() local
368 smid = mpt3sas_base_get_smid(ioc, ioc->config_cb_idx); in _config_request()
369 if (!smid) { in _config_request()
[all …]
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c3550 u16 smid, num_completed; in complete_cmd_fusion() local
3588 smid = le16_to_cpu(reply_desc->SMID); in complete_cmd_fusion()
3589 cmd_fusion = fusion->cmd_list[smid - 1]; in complete_cmd_fusion()
3900 mfi_cmd->context.smid = cmd->index; in build_mpt_mfi_pass_thru()
3949 index = cmd->context.smid; in build_mpt_cmd()
4302 u16 smid; in megasas_refire_mgmt_cmd() local
4315 smid = le16_to_cpu(cmd_mfi->context.smid); in megasas_refire_mgmt_cmd()
4318 if (!smid) in megasas_refire_mgmt_cmd()
4321 req_desc = megasas_get_request_descriptor(instance, smid - 1); in megasas_refire_mgmt_cmd()
4553 cmd_mfi->context.smid = cmd_fusion->index; in megasas_issue_tm()
[all …]
Dmegaraid_sas.h2595 u16 smid; member
/linux-6.1.9/drivers/scsi/arcmsr/
Darcmsr.h973 uint32_t smid; member
Darcmsr_hba.c808 ccb_tmp->smid = (u32)i << 16; in arcmsr_alloc_ccb_pool()
1917 ccb_post_stamp = (ccb->smid | ((arc_cdb_size - 1) >> 6)); in arcmsr_post_ccb()
1934 ccb_post_stamp = (ccb->smid | arc_cdb_size); in arcmsr_post_ccb()
/linux-6.1.9/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h720 __le16 smid; /* 0x10 */ member