Lines Matching refs:identify
141 struct sas_identify *identify) in _transport_set_identify() argument
171 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify()
175 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
178 identify->phy_identifier = sas_device_pg0.PhyNum; in _transport_set_identify()
183 identify->device_type = SAS_PHY_UNUSED; in _transport_set_identify()
186 identify->device_type = SAS_END_DEVICE; in _transport_set_identify()
189 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in _transport_set_identify()
192 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in _transport_set_identify()
198 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
200 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
202 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
204 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
208 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
210 identify->target_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
212 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
214 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
733 rphy->identify = mpt3sas_port->remote_identify; in mpt3sas_transport_port_add()
859 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_host_phy()
865 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_host_phy()
870 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
893 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_host_phy()
927 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_expander_phy()
933 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_expander_phy()
939 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
963 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_expander_phy()
1165 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1177 ioc->name, (unsigned long long)phy->identify.sas_address, in _transport_get_expander_phy_error_log()
1259 phy->identify.sas_address) == NULL) { in _transport_get_linkerrors()
1265 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1310 rphy->identify.sas_address); in _transport_get_enclosure_identifier()
1338 rphy->identify.sas_address); in _transport_get_bay_identifier()
1481 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1507 ioc->name, (unsigned long long)phy->identify.sas_address, in _transport_expander_phy_control()
1581 phy->identify.sas_address) == NULL) { in _transport_phy_reset()
1588 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1638 phy->identify.sas_address) == NULL) { in _transport_phy_enable()
1645 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1776 phy->identify.sas_address) == NULL) { in _transport_phy_speed()
1793 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
2015 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()