Home
last modified time | relevance | path

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

/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c318 *sas_address = mrioc->sas_hba.sas_address; in mpi3mr_get_sas_address()
511 if (mrioc->sas_hba.sas_address == sas_address) in __mpi3mr_sas_node_find_by_sas_address()
512 return &mrioc->sas_hba; in __mpi3mr_sas_node_find_by_sas_address()
1140 (unsigned long long)mrioc->sas_hba.sas_address); in mpi3mr_sas_host_refresh()
1143 (mrioc->sas_hba.num_phys * in mpi3mr_sas_host_refresh()
1154 mrioc->sas_hba.handle = 0; in mpi3mr_sas_host_refresh()
1155 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh()
1162 if (!mrioc->sas_hba.handle) in mpi3mr_sas_host_refresh()
1163 mrioc->sas_hba.handle = le16_to_cpu( in mpi3mr_sas_host_refresh()
1170 mrioc->sas_hba.phy[i].handle = mrioc->sas_hba.handle; in mpi3mr_sas_host_refresh()
[all …]
H A Dmpi3mr_os.c1851 parent_sas_address = mrioc->sas_hba.sas_address; in mpi3mr_sastopochg_evt_bh()
2163 if (!mrioc->sas_hba.num_phys) in mpi3mr_fwevt_bh()
5718 if (mrioc->sas_hba.num_phys) { in mpi3mr_remove()
5719 kfree(mrioc->sas_hba.phy); in mpi3mr_remove()
5720 mrioc->sas_hba.phy = NULL; in mpi3mr_remove()
5721 mrioc->sas_hba.num_phys = 0; in mpi3mr_remove()
H A Dmpi3mr.h1369 struct mpi3mr_sas_node sas_hba; member
/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()
747 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add()
809 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add()
820 if (sas_node->handle <= ioc->sas_hba.num_phys) in mpt3sas_transport_port_add()
926 if (sas_node->handle <= ioc->sas_hba.num_phys && in mpt3sas_transport_port_remove()
1185 if ((sas_node->handle <= ioc->sas_hba.num_phys) && in mpt3sas_transport_update_links()
1434 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1724 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1783 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
[all …]
H A Dmpt3sas_scsih.c593 if ((handle <= ioc->sas_hba.num_phys) && in _scsih_get_sas_address()
596 *sas_address = ioc->sas_hba.sas_address; in _scsih_get_sas_address()
4977 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
6280 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_update_vphys_after_reset()
6296 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_update_vphys_after_reset()
6457 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_get_port_table_after_reset()
6471 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_get_port_table_after_reset()
6600 struct _sas_node *sas_node = &ioc->sas_hba; in _scsih_del_phy_part_of_anther_port()
6634 struct _sas_node *sas_node = &ioc->sas_hba; in _scsih_add_or_del_phys_from_existing_port()
6638 for (offset = 0; offset < ioc->sas_hba.num_phys; offset++) { in _scsih_add_or_del_phys_from_existing_port()
[all …]
H A Dmpt3sas_base.h1475 struct _sas_node sas_hba; member
H A Dmpt3sas_ctl.c3405 (unsigned long long)ioc->sas_hba.sas_address); in host_sas_address_show()