Lines Matching refs:identify
137 struct sas_identify *identify) in _transport_set_identify() argument
167 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify()
171 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
174 identify->phy_identifier = sas_device_pg0.PhyNum; in _transport_set_identify()
179 identify->device_type = SAS_PHY_UNUSED; in _transport_set_identify()
182 identify->device_type = SAS_END_DEVICE; in _transport_set_identify()
185 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in _transport_set_identify()
188 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in _transport_set_identify()
194 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
196 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
198 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
200 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
204 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
206 identify->target_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
208 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
210 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
739 rphy->identify = mpt2sas_port->remote_identify; in mpt2sas_transport_port_add()
865 &mpt2sas_phy->identify))) { in mpt2sas_transport_add_host_phy()
870 phy->identify = mpt2sas_phy->identify; in mpt2sas_transport_add_host_phy()
875 phy->identify.phy_identifier = mpt2sas_phy->phy_id; in mpt2sas_transport_add_host_phy()
898 mpt2sas_phy->identify.sas_address, in mpt2sas_transport_add_host_phy()
931 &mpt2sas_phy->identify))) { in mpt2sas_transport_add_expander_phy()
936 phy->identify = mpt2sas_phy->identify; in mpt2sas_transport_add_expander_phy()
942 phy->identify.phy_identifier = mpt2sas_phy->phy_id; in mpt2sas_transport_add_expander_phy()
966 mpt2sas_phy->identify.sas_address, in mpt2sas_transport_add_expander_phy()
1170 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1196 (unsigned long long)phy->identify.sas_address, phy->number)); in _transport_get_expander_phy_error_log()
1277 phy->identify.sas_address) == NULL) { in _transport_get_linkerrors()
1283 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1327 rphy->identify.sas_address); in _transport_get_enclosure_identifier()
1355 rphy->identify.sas_address); in _transport_get_bay_identifier()
1498 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1524 (unsigned long long)phy->identify.sas_address, phy->number, in _transport_expander_phy_control()
1599 phy->identify.sas_address) == NULL) { in _transport_phy_reset()
1606 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1656 phy->identify.sas_address) == NULL) { in _transport_phy_enable()
1663 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1792 phy->identify.sas_address) == NULL) { in _transport_phy_speed()
1809 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
2034 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()