Lines Matching refs:identify

121 	if (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE ||  in _transport_get_port_id_by_rphy()
122 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) { in _transport_get_port_id_by_rphy()
132 } else if (rphy->identify.device_type == SAS_END_DEVICE) { in _transport_get_port_id_by_rphy()
203 struct sas_identify *identify) in _transport_set_identify() argument
230 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify()
234 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
237 identify->phy_identifier = sas_device_pg0.PhyNum; in _transport_set_identify()
242 identify->device_type = SAS_PHY_UNUSED; in _transport_set_identify()
245 identify->device_type = SAS_END_DEVICE; in _transport_set_identify()
248 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in _transport_set_identify()
251 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in _transport_set_identify()
257 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
259 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
261 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
263 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
267 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
269 identify->target_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
271 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
273 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
833 rphy->identify = mpt3sas_port->remote_identify; in mpt3sas_transport_port_add()
1037 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_host_phy()
1043 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_host_phy()
1048 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
1072 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_host_phy()
1106 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_expander_phy()
1112 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_expander_phy()
1118 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
1143 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_expander_phy()
1339 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1351 (u64)phy->identify.sas_address, in _transport_get_expander_phy_error_log()
1431 phy->identify.sas_address, in _transport_get_linkerrors()
1438 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1635 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1647 (u64)phy->identify.sas_address, in _transport_expander_phy_control()
1720 phy->identify.sas_address, in _transport_phy_reset()
1728 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1779 phy->identify.sas_address, in _transport_phy_enable()
1787 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1919 phy->identify.sas_address, in _transport_phy_speed()
1937 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
2124 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()