Lines Matching refs:sas_address
93 u64 sas_address, struct hba_port *port) in _transport_sas_node_find_by_sas_address() argument
95 if (ioc->sas_hba.sas_address == sas_address) in _transport_sas_node_find_by_sas_address()
99 sas_address, port); in _transport_sas_node_find_by_sas_address()
234 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
354 u64 sas_address, struct sas_expander_device *edev, u8 port_id) in _transport_expander_report_manufacture() argument
422 mpi_request->SASAddress = cpu_to_le64(sas_address); in _transport_expander_report_manufacture()
431 (u64)sas_address)); in _transport_expander_report_manufacture()
504 u64 sas_address = mpt3sas_port->remote_identify.sas_address; in _transport_delete_port() local
511 (unsigned long long) sas_address); in _transport_delete_port()
516 sas_address, port); in _transport_delete_port()
519 mpt3sas_expander_remove(ioc, sas_address, port); in _transport_delete_port()
533 u64 sas_address = mpt3sas_port->remote_identify.sas_address; in _transport_delete_phy() local
537 (unsigned long long) sas_address, mpt3sas_phy->phy_id); in _transport_delete_phy()
555 u64 sas_address = mpt3sas_port->remote_identify.sas_address; in _transport_add_phy() local
559 sas_address, mpt3sas_phy->phy_id); in _transport_add_phy()
578 u64 sas_address, struct hba_port *port) in mpt3sas_transport_add_phy_to_an_existing_port() argument
591 if (mpt3sas_port->remote_identify.sas_address != in mpt3sas_transport_add_phy_to_an_existing_port()
592 sas_address) in mpt3sas_transport_add_phy_to_an_existing_port()
655 u64 sas_address, struct hba_port *port) in _transport_sanity_check() argument
660 if (sas_node->phy[i].remote_identify.sas_address != sas_address) in _transport_sanity_check()
684 u64 sas_address, struct hba_port *hba_port) in mpt3sas_transport_port_add() argument
714 sas_address, hba_port); in mpt3sas_transport_port_add()
719 __func__, (u64)sas_address); in mpt3sas_transport_port_add()
738 mpt3sas_port->remote_identify.sas_address, hba_port); in mpt3sas_transport_port_add()
741 if (sas_node->phy[i].remote_identify.sas_address != in mpt3sas_transport_port_add()
742 mpt3sas_port->remote_identify.sas_address) in mpt3sas_transport_port_add()
772 mpt3sas_port->remote_identify.sas_address, in mpt3sas_transport_port_add()
800 mpt3sas_port->remote_identify.sas_address, in mpt3sas_transport_port_add()
813 hba_port->sas_address = in mpt3sas_transport_port_add()
814 sas_device->sas_address; in mpt3sas_transport_port_add()
816 vphy->sas_address = in mpt3sas_transport_port_add()
817 sas_device->sas_address; in mpt3sas_transport_port_add()
823 hba_port->sas_address = in mpt3sas_transport_port_add()
824 mpt3sas_port->remote_identify.sas_address; in mpt3sas_transport_port_add()
841 (unsigned long long)mpt3sas_port->remote_identify.sas_address); in mpt3sas_transport_port_add()
854 mpt3sas_port->remote_identify.sas_address, in mpt3sas_transport_port_add()
878 mpt3sas_transport_port_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, in mpt3sas_transport_port_remove() argument
902 if (mpt3sas_port->remote_identify.sas_address != sas_address) in mpt3sas_transport_port_remove()
921 if (vphy->sas_address != sas_address) in mpt3sas_transport_port_remove()
946 if ((hba_port->sas_address == sas_address || in mpt3sas_transport_port_remove()
947 !hba_port->sas_address) && !hba_port->vphys_mask) { in mpt3sas_transport_port_remove()
953 } else if (hba_port->sas_address == sas_address && in mpt3sas_transport_port_remove()
965 port->sas_address = 0; in mpt3sas_transport_port_remove()
972 if (sas_node->phy[i].remote_identify.sas_address == sas_address) in mpt3sas_transport_port_remove()
985 mpt3sas_port->remote_identify.sas_address, in mpt3sas_transport_port_remove()
996 __func__, (unsigned long long)sas_address); in mpt3sas_transport_port_remove()
1060 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_host_phy()
1063 mpt3sas_phy->remote_identify.sas_address); in mpt3sas_transport_add_host_phy()
1131 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_expander_phy()
1134 mpt3sas_phy->remote_identify.sas_address); in mpt3sas_transport_add_expander_phy()
1152 u64 sas_address, u16 handle, u8 phy_number, u8 link_rate, in mpt3sas_transport_update_links() argument
1165 sas_address, port); in mpt3sas_transport_update_links()
1181 if (hba_port->sas_address == sas_address && in mpt3sas_transport_update_links()
1188 mpt3sas_phy, mpt3sas_phy->remote_identify.sas_address, in mpt3sas_transport_update_links()
1203 (unsigned long long)sas_address, in mpt3sas_transport_update_links()
1205 mpt3sas_phy->remote_identify.sas_address); in mpt3sas_transport_update_links()
1327 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1339 (u64)phy->identify.sas_address, in _transport_get_expander_phy_error_log()
1419 phy->identify.sas_address, in _transport_get_linkerrors()
1426 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1623 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1635 (u64)phy->identify.sas_address, in _transport_expander_phy_control()
1708 phy->identify.sas_address, in _transport_phy_reset()
1716 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1767 phy->identify.sas_address, in _transport_phy_enable()
1775 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1907 phy->identify.sas_address, in _transport_phy_speed()
1925 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
2112 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()
2113 cpu_to_le64(ioc->sas_hba.sas_address); in _transport_smp_handler()