Lines Matching full:identify

497  * address and hba port are used to identify the exact expander
529 phy->identify.sas_address, in mpi3mr_parent_present()
784 * mpi3mr_set_identify - set identify for phys and end devices
787 * @identify: SAS transport layer's identify info
789 * Populates sas identify info for a specific device.
794 struct sas_identify *identify) in mpi3mr_set_identify() argument
825 memset(identify, 0, sizeof(struct sas_identify)); in mpi3mr_set_identify()
830 identify->sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_set_identify()
833 identify->phy_identifier = sasinf->phy_num; in mpi3mr_set_identify()
838 identify->device_type = SAS_PHY_UNUSED; in mpi3mr_set_identify()
841 identify->device_type = SAS_END_DEVICE; in mpi3mr_set_identify()
844 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mpi3mr_set_identify()
850 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
853 identify->initiator_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
856 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
860 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
863 identify->target_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
866 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
895 &mr_sas_phy->identify))) { in mpi3mr_add_host_phy()
901 phy->identify = mr_sas_phy->identify; in mpi3mr_add_host_phy()
906 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_host_phy()
932 mr_sas_phy->identify.sas_address, in mpi3mr_add_host_phy()
965 &mr_sas_phy->identify))) { in mpi3mr_add_expander_phy()
971 phy->identify = mr_sas_phy->identify; in mpi3mr_add_expander_phy()
977 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy()
1003 mr_sas_phy->identify.sas_address, in mpi3mr_add_expander_phy()
1458 rphy->identify = mr_sas_port->remote_identify; in mpi3mr_sas_port_add()
1863 * This is executed post controller reset to identify any
2476 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mpi3mr_get_port_id_by_rphy()
2477 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) { in mpi3mr_get_port_id_by_rphy()
2487 } else if (rphy->identify.device_type == SAS_END_DEVICE) { in mpi3mr_get_port_id_by_rphy()
2491 rphy->identify.sas_address, rphy); in mpi3mr_get_port_id_by_rphy()
2606 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_get_expander_phy_error_log()
2616 (unsigned long long)phy->identify.sas_address, phy->number); in mpi3mr_get_expander_phy_error_log()
2678 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_get_linkerrors()
2727 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_enclosure_identifier()
2761 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_bay_identifier()
2877 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_expander_phy_control()
2887 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_expander_phy_control()
2942 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_reset()
2960 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_transport_phy_reset()
3001 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_enable()
3119 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) { in mpi3mr_transport_phy_speed()
3294 cpu_to_le64(rphy->identify.sas_address) : in mpi3mr_transport_smp_handler()