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()
734 rphy->identify = mpt3sas_port->remote_identify; in mpt3sas_transport_port_add()
879 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_host_phy()
885 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_host_phy()
890 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_host_phy()
913 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_host_phy()
947 &mpt3sas_phy->identify))) { in mpt3sas_transport_add_expander_phy()
953 phy->identify = mpt3sas_phy->identify; in mpt3sas_transport_add_expander_phy()
959 phy->identify.phy_identifier = mpt3sas_phy->phy_id; in mpt3sas_transport_add_expander_phy()
983 mpt3sas_phy->identify.sas_address, in mpt3sas_transport_add_expander_phy()
1185 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_get_expander_phy_error_log()
1197 ioc->name, (unsigned long long)phy->identify.sas_address, in _transport_get_expander_phy_error_log()
1279 phy->identify.sas_address) == NULL) { in _transport_get_linkerrors()
1285 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_get_linkerrors()
1330 rphy->identify.sas_address); in _transport_get_enclosure_identifier()
1360 rphy->identify.sas_address); in _transport_get_bay_identifier()
1505 mpi_request->SASAddress = cpu_to_le64(phy->identify.sas_address); in _transport_expander_phy_control()
1531 ioc->name, (unsigned long long)phy->identify.sas_address, in _transport_expander_phy_control()
1605 phy->identify.sas_address) == NULL) { in _transport_phy_reset()
1612 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_reset()
1662 phy->identify.sas_address) == NULL) { in _transport_phy_enable()
1669 if (phy->identify.sas_address != ioc->sas_hba.sas_address) in _transport_phy_enable()
1800 phy->identify.sas_address) == NULL) { in _transport_phy_speed()
1817 if (phy->identify.sas_address != ioc->sas_hba.sas_address) { in _transport_phy_speed()
2039 cpu_to_le64(rphy->identify.sas_address) : in _transport_smp_handler()