Lines Matching refs:sas_address
131 u64 sas_address, struct sas_expander_device *edev, u8 port_id) in mpi3mr_report_manufacture() argument
178 mpi_request.sas_address = cpu_to_le64(sas_address); in mpi3mr_report_manufacture()
188 (unsigned long long)sas_address, port_id); in mpi3mr_report_manufacture()
295 u64 *sas_address) in mpi3mr_get_sas_address() argument
301 *sas_address = 0; in mpi3mr_get_sas_address()
318 *sas_address = mrioc->sas_hba.sas_address; in mpi3mr_get_sas_address()
321 *sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_get_sas_address()
342 u64 sas_address, struct mpi3mr_hba_port *hba_port) in __mpi3mr_get_tgtdev_by_addr() argument
350 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr()
374 u64 sas_address, struct mpi3mr_hba_port *hba_port) in mpi3mr_get_tgtdev_by_addr() argument
383 tgtdev = __mpi3mr_get_tgtdev_by_addr(mrioc, sas_address, hba_port); in mpi3mr_get_tgtdev_by_addr()
402 u64 sas_address, struct mpi3mr_hba_port *hba_port) in mpi3mr_remove_device_by_sas_address() argument
413 sas_address, hba_port); in mpi3mr_remove_device_by_sas_address()
441 struct mpi3mr_ioc *mrioc, u64 sas_address, struct sas_rphy *rphy) in __mpi3mr_get_tgtdev_by_addr_and_rphy() argument
449 (tgtdev->dev_spec.sas_sata_inf.sas_address == sas_address) in __mpi3mr_get_tgtdev_by_addr_and_rphy()
468 struct mpi3mr_ioc *mrioc, u64 sas_address, in mpi3mr_expander_find_by_sas_address() argument
477 if ((sas_expander->sas_address != sas_address) || in mpi3mr_expander_find_by_sas_address()
505 struct mpi3mr_ioc *mrioc, u64 sas_address, in __mpi3mr_sas_node_find_by_sas_address() argument
509 if (mrioc->sas_hba.sas_address == sas_address) in __mpi3mr_sas_node_find_by_sas_address()
511 return mpi3mr_expander_find_by_sas_address(mrioc, sas_address, in __mpi3mr_sas_node_find_by_sas_address()
529 phy->identify.sas_address, in mpi3mr_parent_present()
600 u64 sas_address = mr_sas_port->remote_identify.sas_address; in mpi3mr_delete_sas_phy() local
604 (unsigned long long) sas_address, mr_sas_phy->phy_id); in mpi3mr_delete_sas_phy()
627 u64 sas_address = mr_sas_port->remote_identify.sas_address; in mpi3mr_add_sas_phy() local
631 sas_address, mr_sas_phy->phy_id); in mpi3mr_add_sas_phy()
655 u64 sas_address, struct mpi3mr_hba_port *hba_port) in mpi3mr_add_phy_to_an_existing_port() argument
668 if (mr_sas_port->remote_identify.sas_address != in mpi3mr_add_phy_to_an_existing_port()
669 sas_address) in mpi3mr_add_phy_to_an_existing_port()
693 u64 sas_address = mr_sas_port->remote_identify.sas_address; in mpi3mr_delete_sas_port() local
700 (unsigned long long) sas_address); in mpi3mr_delete_sas_port()
703 mpi3mr_remove_device_by_sas_address(mrioc, sas_address, in mpi3mr_delete_sas_port()
708 mpi3mr_expander_remove(mrioc, sas_address, hba_port); in mpi3mr_delete_sas_port()
759 struct mpi3mr_sas_node *mr_sas_node, u64 sas_address, in mpi3mr_sas_port_sanity_check() argument
765 if ((mr_sas_node->phy[i].remote_identify.sas_address != in mpi3mr_sas_port_sanity_check()
766 sas_address) || (mr_sas_node->phy[i].hba_port != hba_port)) in mpi3mr_sas_port_sanity_check()
815 identify->sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_set_identify()
917 mr_sas_phy->identify.sas_address, in mpi3mr_add_host_phy()
920 mr_sas_phy->remote_identify.sas_address); in mpi3mr_add_host_phy()
988 mr_sas_phy->identify.sas_address, in mpi3mr_add_expander_phy()
991 mr_sas_phy->remote_identify.sas_address); in mpi3mr_add_expander_phy()
1081 mr_sas_phy, mr_sas_phy->remote_identify.sas_address, in mpi3mr_update_links()
1098 mr_sas_phy->remote_identify.sas_address); in mpi3mr_update_links()
1121 (unsigned long long)mrioc->sas_hba.sas_address); in mpi3mr_sas_host_refresh()
1158 mpi3mr_update_links(mrioc, mrioc->sas_hba.sas_address, in mpi3mr_sas_host_refresh()
1273 mrioc->sas_hba.sas_address = in mpi3mr_sas_host_add()
1274 le64_to_cpu(sasinf->sas_address); in mpi3mr_sas_host_add()
1278 (unsigned long long) mrioc->sas_hba.sas_address, in mpi3mr_sas_host_add()
1359 mr_sas_port->remote_identify.sas_address, hba_port); in mpi3mr_sas_port_add()
1362 if ((mr_sas_node->phy[i].remote_identify.sas_address != in mpi3mr_sas_port_add()
1363 mr_sas_port->remote_identify.sas_address) || in mpi3mr_sas_port_add()
1382 mr_sas_port->remote_identify.sas_address, in mpi3mr_sas_port_add()
1412 mr_sas_port->remote_identify.sas_address, in mpi3mr_sas_port_add()
1445 mr_sas_port->remote_identify.sas_address); in mpi3mr_sas_port_add()
1464 mr_sas_port->remote_identify.sas_address, in mpi3mr_sas_port_add()
1489 static void mpi3mr_sas_port_remove(struct mpi3mr_ioc *mrioc, u64 sas_address, in mpi3mr_sas_port_remove() argument
1512 if (mr_sas_port->remote_identify.sas_address != sas_address) in mpi3mr_sas_port_remove()
1542 if (mr_sas_node->phy[i].remote_identify.sas_address == in mpi3mr_sas_port_remove()
1543 sas_address) in mpi3mr_sas_port_remove()
1559 mr_sas_port->remote_identify.sas_address, in mpi3mr_sas_port_remove()
1570 __func__, (unsigned long long)sas_address); in mpi3mr_sas_port_remove()
1591 u64 sas_address; member
1625 mr_sas_port->remote_identify.sas_address, in mpi3mr_update_mr_sas_port()
1649 mr_sas_port->remote_identify.sas_address, in mpi3mr_update_mr_sas_port()
1730 h_port[port_idx].sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_refresh_sas_ports()
1749 mr_sas_port->remote_identify.sas_address, in mpi3mr_refresh_sas_ports()
1757 h_port[i].iounit_port_id, h_port[i].sas_address, in mpi3mr_refresh_sas_ports()
1776 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1794 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1812 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1838 u64 sas_address; in mpi3mr_refresh_expanders() local
1872 sas_address = le64_to_cpu(expander_pg0.sas_address); in mpi3mr_refresh_expanders()
1884 sas_address, hba_port); in mpi3mr_refresh_expanders()
1958 u64 sas_address, sas_address_parent = 0; in mpi3mr_expander_add() local
2002 if (sas_address_parent != mrioc->sas_hba.sas_address) { in mpi3mr_expander_add()
2052 sas_address = le64_to_cpu(expander_pg0.sas_address); in mpi3mr_expander_add()
2054 sas_address, hba_port); in mpi3mr_expander_add()
2068 sas_expander->sas_address = sas_address; in mpi3mr_expander_add()
2074 sas_expander->sas_address, sas_expander->num_phys); in mpi3mr_expander_add()
2147 sas_expander->sas_address, in mpi3mr_expander_add()
2181 mr_sas_port->remote_identify.sas_address, in mpi3mr_expander_node_remove()
2188 mr_sas_port->remote_identify.sas_address, in mpi3mr_expander_node_remove()
2193 mpi3mr_sas_port_remove(mrioc, sas_expander->sas_address, in mpi3mr_expander_node_remove()
2198 sas_expander->sas_address, port_id); in mpi3mr_expander_node_remove()
2220 void mpi3mr_expander_remove(struct mpi3mr_ioc *mrioc, u64 sas_address, in mpi3mr_expander_remove() argument
2233 sas_expander = mpi3mr_expander_find_by_sas_address(mrioc, sas_address, in mpi3mr_expander_remove()
2319 u64 sas_address_parent, sas_address; in mpi3mr_report_tgtdev_to_sas_transport() local
2327 sas_address = tgtdev->dev_spec.sas_sata_inf.sas_address; in mpi3mr_report_tgtdev_to_sas_transport()
2364 mpi3mr_sas_port_remove(mrioc, sas_address, in mpi3mr_report_tgtdev_to_sas_transport()
2384 u64 sas_address_parent, sas_address; in mpi3mr_remove_tgtdev_from_sas_transport() local
2392 sas_address = tgtdev->dev_spec.sas_sata_inf.sas_address; in mpi3mr_remove_tgtdev_from_sas_transport()
2394 mpi3mr_sas_port_remove(mrioc, sas_address, sas_address_parent, in mpi3mr_remove_tgtdev_from_sas_transport()
2452 rphy->identify.sas_address, rphy); in mpi3mr_get_port_id_by_rphy()
2562 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_get_expander_phy_error_log()
2572 (unsigned long long)phy->identify.sas_address, phy->number); in mpi3mr_get_expander_phy_error_log()
2634 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_get_linkerrors()
2683 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_enclosure_identifier()
2717 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_bay_identifier()
2827 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_expander_phy_control()
2837 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_expander_phy_control()
2892 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_reset()
2910 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_transport_phy_reset()
2951 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_enable()
3069 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) { in mpi3mr_transport_phy_speed()
3237 mpi_request.sas_address = ((rphy) ? in mpi3mr_transport_smp_handler()
3238 cpu_to_le64(rphy->identify.sas_address) : in mpi3mr_transport_smp_handler()
3239 cpu_to_le64(mrioc->sas_hba.sas_address)); in mpi3mr_transport_smp_handler()