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()
775 * mpi3mr_set_identify - set identify for phys and end devices
778 * @identify: SAS transport layer's identify info
780 * Populates sas identify info for a specific device.
785 struct sas_identify *identify) in mpi3mr_set_identify() argument
810 memset(identify, 0, sizeof(struct sas_identify)); in mpi3mr_set_identify()
815 identify->sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_set_identify()
818 identify->phy_identifier = sasinf->phy_num; in mpi3mr_set_identify()
823 identify->device_type = SAS_PHY_UNUSED; in mpi3mr_set_identify()
826 identify->device_type = SAS_END_DEVICE; in mpi3mr_set_identify()
829 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mpi3mr_set_identify()
835 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
838 identify->initiator_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
841 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
845 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
848 identify->target_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
851 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
880 &mr_sas_phy->identify))) { in mpi3mr_add_host_phy()
886 phy->identify = mr_sas_phy->identify; in mpi3mr_add_host_phy()
891 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_host_phy()
917 mr_sas_phy->identify.sas_address, in mpi3mr_add_host_phy()
950 &mr_sas_phy->identify))) { in mpi3mr_add_expander_phy()
956 phy->identify = mr_sas_phy->identify; in mpi3mr_add_expander_phy()
962 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy()
988 mr_sas_phy->identify.sas_address, in mpi3mr_add_expander_phy()
1427 rphy->identify = mr_sas_port->remote_identify; in mpi3mr_sas_port_add()
1826 * This is executed post controller reset to identify any
2437 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mpi3mr_get_port_id_by_rphy()
2438 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) { in mpi3mr_get_port_id_by_rphy()
2448 } else if (rphy->identify.device_type == SAS_END_DEVICE) { in mpi3mr_get_port_id_by_rphy()
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()
3238 cpu_to_le64(rphy->identify.sas_address) : in mpi3mr_transport_smp_handler()