Lines Matching full:identify
130 * _transport_set_identify - set identify for phys and end devices
133 * @identify: sas identify info
135 * Populates sas identify info.
141 struct sas_identify *identify) in _transport_set_identify() argument
168 memset(identify, 0, sizeof(struct sas_identify)); in _transport_set_identify()
172 identify->sas_address = le64_to_cpu(sas_device_pg0.SASAddress); in _transport_set_identify()
175 identify->phy_identifier = sas_device_pg0.PhyNum; in _transport_set_identify()
180 identify->device_type = SAS_PHY_UNUSED; in _transport_set_identify()
183 identify->device_type = SAS_END_DEVICE; in _transport_set_identify()
186 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; in _transport_set_identify()
189 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; in _transport_set_identify()
195 identify->initiator_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
197 identify->initiator_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
199 identify->initiator_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
201 identify->initiator_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
205 identify->target_port_protocols |= SAS_PROTOCOL_SSP; in _transport_set_identify()
207 identify->target_port_protocols |= SAS_PROTOCOL_STP; in _transport_set_identify()
209 identify->target_port_protocols |= SAS_PROTOCOL_SMP; in _transport_set_identify()
211 identify->target_port_protocols |= SAS_PROTOCOL_SATA; in _transport_set_identify()
698 rphy->identify = mpt3sas_port->remote_identify; in mpt3sas_transport_port_add()
845 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_host_phy()
851 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_host_phy()
856 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
879 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_host_phy()
913 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_expander_phy()
919 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_expander_phy()
925 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
949 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_expander_phy()
1128 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1140 (u64)phy->identify.sas_address, in _transport_get_expander_phy_error_log()
1218 phy->identify.sas_address) == NULL) { in _transport_get_linkerrors()
1224 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1269 rphy->identify.sas_address); in _transport_get_enclosure_identifier()
1299 rphy->identify.sas_address); in _transport_get_bay_identifier()
1423 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1435 (u64)phy->identify.sas_address, in _transport_expander_phy_control()
1506 phy->identify.sas_address) == NULL) { in _transport_phy_reset()
1513 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1562 phy->identify.sas_address) == NULL) { in _transport_phy_enable()
1569 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1699 phy->identify.sas_address) == NULL) { in _transport_phy_speed()
1716 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
1903 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()