Lines Matching full:identify
494 * address and hba port are used to identify the exact expander
526 phy->identify.sas_address, in mpi3mr_parent_present()
772 * mpi3mr_set_identify - set identify for phys and end devices
775 * @identify: SAS transport layer's identify info
777 * Populates sas identify info for a specific device.
782 struct sas_identify *identify) in mpi3mr_set_identify() argument
807 memset(identify, 0, sizeof(struct sas_identify)); in mpi3mr_set_identify()
812 identify->sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_set_identify()
815 identify->phy_identifier = sasinf->phy_num; in mpi3mr_set_identify()
820 identify->device_type = SAS_PHY_UNUSED; in mpi3mr_set_identify()
823 identify->device_type = SAS_END_DEVICE; in mpi3mr_set_identify()
826 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in mpi3mr_set_identify()
832 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
835 identify->initiator_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
838 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
842 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in mpi3mr_set_identify()
845 identify->target_port_protocols |= (SAS_PROTOCOL_STP | in mpi3mr_set_identify()
848 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in mpi3mr_set_identify()
877 &mr_sas_phy->identify))) { in mpi3mr_add_host_phy()
883 phy->identify = mr_sas_phy->identify; in mpi3mr_add_host_phy()
888 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_host_phy()
914 mr_sas_phy->identify.sas_address, in mpi3mr_add_host_phy()
947 &mr_sas_phy->identify))) { in mpi3mr_add_expander_phy()
953 phy->identify = mr_sas_phy->identify; in mpi3mr_add_expander_phy()
959 phy->identify.phy_identifier = mr_sas_phy->phy_id; in mpi3mr_add_expander_phy()
985 mr_sas_phy->identify.sas_address, in mpi3mr_add_expander_phy()
1434 rphy->identify = mr_sas_port->remote_identify; in mpi3mr_sas_port_add()
1834 * This is executed post controller reset to identify any
2447 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || in mpi3mr_get_port_id_by_rphy()
2448 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) { in mpi3mr_get_port_id_by_rphy()
2458 } else if (rphy->identify.device_type == SAS_END_DEVICE) { in mpi3mr_get_port_id_by_rphy()
2462 rphy->identify.sas_address, rphy); in mpi3mr_get_port_id_by_rphy()
2572 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_get_expander_phy_error_log()
2582 (unsigned long long)phy->identify.sas_address, phy->number); in mpi3mr_get_expander_phy_error_log()
2644 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_get_linkerrors()
2693 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_enclosure_identifier()
2727 rphy->identify.sas_address, rphy); in mpi3mr_transport_get_bay_identifier()
2837 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address); in mpi3mr_expander_phy_control()
2847 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_expander_phy_control()
2902 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_reset()
2920 (unsigned long long)phy->identify.sas_address, phy->number, in mpi3mr_transport_phy_reset()
2961 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) in mpi3mr_transport_phy_enable()
3079 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) { in mpi3mr_transport_phy_speed()
3248 cpu_to_le64(rphy->identify.sas_address) : in mpi3mr_transport_smp_handler()