Lines Matching defs:identify

494  * address and hba port are used to identify the exact expander
526 phy->identify.sas_address,
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)
807 memset(identify, 0, sizeof(struct sas_identify));
812 identify->sas_address = le64_to_cpu(sasinf->sas_address);
815 identify->phy_identifier = sasinf->phy_num;
820 identify->device_type = SAS_PHY_UNUSED;
823 identify->device_type = SAS_END_DEVICE;
826 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
832 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP;
835 identify->initiator_port_protocols |= (SAS_PROTOCOL_STP |
838 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP;
842 identify->target_port_protocols |= SAS_PROTOCOL_SSP;
845 identify->target_port_protocols |= (SAS_PROTOCOL_STP |
848 identify->target_port_protocols |= SAS_PROTOCOL_SMP;
877 &mr_sas_phy->identify))) {
883 phy->identify = mr_sas_phy->identify;
888 phy->identify.phy_identifier = mr_sas_phy->phy_id;
914 mr_sas_phy->identify.sas_address,
947 &mr_sas_phy->identify))) {
953 phy->identify = mr_sas_phy->identify;
959 phy->identify.phy_identifier = mr_sas_phy->phy_id;
985 mr_sas_phy->identify.sas_address,
1424 rphy->identify = mr_sas_port->remote_identify;
1824 * This is executed post controller reset to identify any
2437 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
2438 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) {
2448 } else if (rphy->identify.device_type == SAS_END_DEVICE) {
2452 rphy->identify.sas_address, rphy);
2562 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address);
2572 (unsigned long long)phy->identify.sas_address, phy->number);
2634 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
2683 rphy->identify.sas_address, rphy);
2717 rphy->identify.sas_address, rphy);
2827 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address);
2837 (unsigned long long)phy->identify.sas_address, phy->number,
2892 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
2910 (unsigned long long)phy->identify.sas_address, phy->number,
2951 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
3069 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) {
3238 cpu_to_le64(rphy->identify.sas_address) :