/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 283 _base_get_chain(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _base_get_chain() argument 292 chain_virt = base_chain + (smid * ioc->facts.MaxChainDepth * in _base_get_chain() 309 _base_get_chain_phys(struct MPT3SAS_ADAPTER *ioc, u16 smid, in _base_get_chain_phys() argument 318 chain_phys = base_chain_phys + (smid * ioc->facts.MaxChainDepth * in _base_get_chain_phys() 335 _base_get_buffer_bar0(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _base_get_buffer_bar0() argument 342 return chain_end + (smid * 64 * 1024); in _base_get_buffer_bar0() 356 _base_get_buffer_phys_bar0(struct MPT3SAS_ADAPTER *ioc, u16 smid) in _base_get_buffer_phys_bar0() argument 362 return chain_end_phys + (smid * 64 * 1024); in _base_get_buffer_phys_bar0() 405 void *mpi_request, u16 smid) in _clone_sg_entries() argument 444 scmd = mpt3sas_scsih_scsi_lookup_get(ioc, smid); in _clone_sg_entries() [all …]
|
D | mpt3sas_ctl.c | 93 _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() 188 ioc_info(ioc, "%s: %s, smid(%d)\n", calling_function_name, desc, smid); in _ctl_display_some_debug() 252 mpt3sas_ctl_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_ctl_done() argument 263 if (ioc->ctl_cmds.smid != smid) in mpt3sas_ctl_done() 280 smid); in mpt3sas_ctl_done() 293 sense_data = mpt3sas_base_get_sense_buffer(ioc, smid); in mpt3sas_ctl_done() 298 _ctl_display_some_debug(ioc, smid, "ctl_done", mpi_reply); in mpt3sas_ctl_done() 484 mpt3sas_base_free_smid(ioc, ioc->ctl_cmds.smid); in mpt3sas_ctl_after_reset_handler() 566 u16 smid; in _ctl_set_task_mid() local [all …]
|
D | mpt3sas_base.h | 494 u16 smid; member 834 u16 smid; member 850 u16 smid; member 918 struct scsi_cmnd *scmd, u16 smid, struct _pcie_device *pcie_device); 926 typedef void (*NVME_BUILD_PRP)(struct MPT3SAS_ADAPTER *ioc, u16 smid, 932 typedef void (*PUT_SMID_IO_FP_HIP) (struct MPT3SAS_ADAPTER *ioc, u16 smid, 934 typedef void (*PUT_SMID_DEFAULT) (struct MPT3SAS_ADAPTER *ioc, u16 smid); 1462 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, 1492 void *mpt3sas_base_get_msg_frame(struct MPT3SAS_ADAPTER *ioc, u16 smid); 1493 void *mpt3sas_base_get_sense_buffer(struct MPT3SAS_ADAPTER *ioc, u16 smid); [all …]
|
D | mpt3sas_transport.c | 230 mpt3sas_transport_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_transport_done() argument 238 if (ioc->transport_cmds.smid != smid) in mpt3sas_transport_done() 298 u16 smid; in _transport_expander_report_manufacture() local 325 smid = mpt3sas_base_get_smid(ioc, ioc->transport_cb_idx); in _transport_expander_report_manufacture() 326 if (!smid) { in _transport_expander_report_manufacture() 333 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in _transport_expander_report_manufacture() 334 ioc->transport_cmds.smid = smid; in _transport_expander_report_manufacture() 344 mpt3sas_base_free_smid(ioc, smid); in _transport_expander_report_manufacture() 370 ioc->put_smid_default(ioc, smid); in _transport_expander_report_manufacture() 1066 u16 smid; in _transport_get_expander_phy_error_log() local [all …]
|
D | mpt3sas_scsih.c | 79 static u8 _scsih_check_for_pending_tm(struct MPT3SAS_ADAPTER *ioc, u16 smid); 1474 mpt3sas_scsih_scsi_lookup_get(struct MPT3SAS_ADAPTER *ioc, u16 smid) in mpt3sas_scsih_scsi_lookup_get() argument 1480 if (smid > 0 && in mpt3sas_scsih_scsi_lookup_get() 1481 smid <= ioc->scsiio_depth - INTERNAL_SCSIIO_CMDS_COUNT) { in mpt3sas_scsih_scsi_lookup_get() 1482 u32 unique_tag = smid - 1; in mpt3sas_scsih_scsi_lookup_get() 1484 mpi_request = mpt3sas_base_get_msg_frame(ioc, smid); in mpt3sas_scsih_scsi_lookup_get() 1498 if (st->cb_idx == 0xFF || st->smid == 0) in mpt3sas_scsih_scsi_lookup_get() 2573 _scsih_tm_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, u32 reply) in _scsih_tm_done() argument 2579 if (ioc->tm_cmds.smid != smid) in _scsih_tm_done() 2673 u16 smid = 0; in mpt3sas_scsih_issue_tm() 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() 181 le32_to_cpu(mpi_request->PageAddress), smid); in _config_display_some_debug() 255 mpt3sas_config_done(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, in mpt3sas_config_done() argument 262 if (ioc->config_cmds.smid != smid) in mpt3sas_config_done() 272 _config_display_some_debug(ioc, smid, "config_done", mpi_reply); in mpt3sas_config_done() 273 ioc->config_cmds.smid = USHRT_MAX; in mpt3sas_config_done() 302 u16 smid; in _config_request() local 367 smid = mpt3sas_base_get_smid(ioc, ioc->config_cb_idx); in _config_request() 368 if (!smid) { in _config_request() [all …]
|
/Linux-v5.4/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 3521 u16 smid, num_completed; in complete_cmd_fusion() local 3554 smid = le16_to_cpu(reply_desc->SMID); in complete_cmd_fusion() 3555 cmd_fusion = fusion->cmd_list[smid - 1]; in complete_cmd_fusion() 3832 mfi_cmd->context.smid = cmd->index; in build_mpt_mfi_pass_thru() 3881 index = cmd->context.smid; in build_mpt_cmd() 4229 u16 smid; in megasas_refire_mgmt_cmd() local 4242 smid = le16_to_cpu(cmd_mfi->context.smid); in megasas_refire_mgmt_cmd() 4245 if (!smid) in megasas_refire_mgmt_cmd() 4248 req_desc = megasas_get_request_descriptor(instance, smid - 1); in megasas_refire_mgmt_cmd() 4434 cmd_mfi->context.smid = cmd_fusion->index; in megasas_issue_tm() [all …]
|
D | megaraid_sas.h | 2571 u16 smid; member
|
/Linux-v5.4/drivers/scsi/arcmsr/ |
D | arcmsr.h | 876 uint32_t smid; member
|
D | arcmsr_hba.c | 750 ccb_tmp->smid = (u32)i << 16; in arcmsr_alloc_ccb_pool() 1853 ccb_post_stamp = (ccb->smid | ((arc_cdb_size - 1) >> 6)); in arcmsr_post_ccb()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | reg.h | 81 MLXSW_REG_DEFINE(smid, MLXSW_REG_SMID_ID, MLXSW_REG_SMID_LEN); 87 MLXSW_ITEM32(reg, smid, swid, 0x00, 24, 8); 94 MLXSW_ITEM32(reg, smid, mid, 0x00, 0, 16); 100 MLXSW_ITEM_BIT_ARRAY(reg, smid, port, 0x20, 0x20, 1); 106 MLXSW_ITEM_BIT_ARRAY(reg, smid, port_mask, 0x220, 0x20, 1); 111 MLXSW_REG_ZERO(smid, payload); in mlxsw_reg_smid_pack() 10469 MLXSW_REG(smid),
|
D | spectrum_switchdev.c | 785 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set() 1430 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_port_smid_full_entry() 1447 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_port_smid_set()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu.h | 720 __le16 smid; /* 0x10 */ member
|