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;
1829 * This is executed post controller reset to identify any
2442 if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
2443 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) {
2453 } else if (rphy->identify.device_type == SAS_END_DEVICE) {
2457 rphy->identify.sas_address, rphy);
2567 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address);
2577 (unsigned long long)phy->identify.sas_address, phy->number);
2639 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
2688 rphy->identify.sas_address, rphy);
2722 rphy->identify.sas_address, rphy);
2832 mpi_request.sas_address = cpu_to_le64(phy->identify.sas_address);
2842 (unsigned long long)phy->identify.sas_address, phy->number,
2897 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
2915 (unsigned long long)phy->identify.sas_address, phy->number,
2956 if (phy->identify.sas_address != mrioc->sas_hba.sas_address)
3074 if (phy->identify.sas_address != mrioc->sas_hba.sas_address) {
3243 cpu_to_le64(rphy->identify.sas_address) :