Lines Matching refs:identify

121 	if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||
122 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) {
132 } else if (rphy->identify.device_type == SAS_END_DEVICE) {
192 * _transport_set_identify - set identify for phys and end devices
195 * @identify: sas identify info
197 * Populates sas identify info.
203 struct sas_identify *identify)
230 memset(identify, 0, sizeof(struct sas_identify));
234 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress);
237 identify->phy_identifier = sas_device_pg0.PhyNum;
242 identify->device_type = SAS_PHY_UNUSED;
245 identify->device_type = SAS_END_DEVICE;
248 identify->device_type = SAS_EDGE_EXPANDER_DEVICE;
251 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE;
257 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP;
259 identify->initiator_port_protocols |= SAS_PROTOCOL_STP;
261 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP;
263 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA;
267 identify->target_port_protocols |= SAS_PROTOCOL_SSP;
269 identify->target_port_protocols |= SAS_PROTOCOL_STP;
271 identify->target_port_protocols |= SAS_PROTOCOL_SMP;
273 identify->target_port_protocols |= SAS_PROTOCOL_SATA;
833 rphy->identify = mpt3sas_port->remote_identify;
1037 &mpt3sas_phy->identify))) {
1043 phy->identify = mpt3sas_phy->identify;
1048 phy->identify.phy_identifier = mpt3sas_phy->phy_id;
1072 mpt3sas_phy->identify.sas_address,
1106 &mpt3sas_phy->identify))) {
1112 phy->identify = mpt3sas_phy->identify;
1118 phy->identify.phy_identifier = mpt3sas_phy->phy_id;
1143 mpt3sas_phy->identify.sas_address,
1339 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address);
1351 (u64)phy->identify.sas_address,
1431 phy->identify.sas_address,
1438 if (phy->identify.sas_address != ioc->sas_hba.sas_address)
1635 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address);
1647 (u64)phy->identify.sas_address,
1720 phy->identify.sas_address,
1728 if (phy->identify.sas_address != ioc->sas_hba.sas_address)
1779 phy->identify.sas_address,
1787 if (phy->identify.sas_address != ioc->sas_hba.sas_address)
1917 phy->identify.sas_address,
1935 if (phy->identify.sas_address != ioc->sas_hba.sas_address) {
2121 cpu_to_le64(rphy->identify.sas_address) :