Home
last modified time | relevance | path

Searched refs:sas_hba (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c315 *sas_address = mrioc->sas_hba.sas_address; in mpi3mr_get_sas_address()
506 if (mrioc->sas_hba.sas_address == sas_address) in __mpi3mr_sas_node_find_by_sas_address()
507 return &mrioc->sas_hba; in __mpi3mr_sas_node_find_by_sas_address()
1118 (unsigned long long)mrioc->sas_hba.sas_address); in mpi3mr_sas_host_refresh()
1121 (mrioc->sas_hba.num_phys * in mpi3mr_sas_host_refresh()
1132 mrioc->sas_hba.handle = 0; in mpi3mr_sas_host_refresh()
1133 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh()
1140 if (!mrioc->sas_hba.handle) in mpi3mr_sas_host_refresh()
1141 mrioc->sas_hba.handle = le16_to_cpu( in mpi3mr_sas_host_refresh()
1148 mrioc->sas_hba.phy[i].handle = mrioc->sas_hba.handle; in mpi3mr_sas_host_refresh()
[all …]
H A Dmpi3mr_os.c1638 parent_sas_address = mrioc->sas_hba.sas_address; in mpi3mr_sastopochg_evt_bh()
1943 if (!mrioc->sas_hba.num_phys) in mpi3mr_fwevt_bh()
5306 if (mrioc->sas_hba.num_phys) { in mpi3mr_remove()
5307 kfree(mrioc->sas_hba.phy); in mpi3mr_remove()
5308 mrioc->sas_hba.phy = NULL; in mpi3mr_remove()
5309 mrioc->sas_hba.num_phys = 0; in mpi3mr_remove()
H A Dmpi3mr.h1225 struct mpi3mr_sas_node sas_hba; member
/openbmc/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c95 if (ioc->sas_hba.sas_address == sas_address) in _transport_sas_node_find_by_sas_address()
96 return &ioc->sas_hba; in _transport_sas_node_find_by_sas_address()
749 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add()
811 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add()
822 if (sas_node->handle <= ioc->sas_hba.num_phys) in mpt3sas_transport_port_add()
928 if (sas_node->handle <= ioc->sas_hba.num_phys && in mpt3sas_transport_port_remove()
1189 if ((sas_node->handle <= ioc->sas_hba.num_phys) && in mpt3sas_transport_update_links()
1438 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1728 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1787 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
[all …]
H A Dmpt3sas_scsih.c530 if ((handle <= ioc->sas_hba.num_phys) && in _scsih_get_sas_address()
533 *sas_address = ioc->sas_hba.sas_address; in _scsih_get_sas_address()
4677 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
5970 (ioc->sas_hba.num_phys * sizeof(Mpi2SasIOUnit0PhyData_t)); in _scsih_update_vphys_after_reset()
5986 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_update_vphys_after_reset()
6148 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_get_port_table_after_reset()
6163 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_get_port_table_after_reset()
6292 struct _sas_node *sas_node = &ioc->sas_hba; in _scsih_del_phy_part_of_anther_port()
6326 struct _sas_node *sas_node = &ioc->sas_hba; in _scsih_add_or_del_phys_from_existing_port()
6330 for (offset = 0; offset < ioc->sas_hba.num_phys; offset++) { in _scsih_add_or_del_phys_from_existing_port()
[all …]
H A Dmpt3sas_base.h1476 struct _sas_node sas_hba; member
H A Dmpt3sas_ctl.c3078 (unsigned long long)ioc->sas_hba.sas_address); in host_sas_address_show()