Lines Matching refs:asd_phy
185 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() local
189 return i->dft->lldd_control_phy(asd_phy, PHY_FUNC_GET_EVENTS, NULL); in sas_get_linkerrors()
195 int sas_try_ata_reset(struct asd_sas_phy *asd_phy) in sas_try_ata_reset() argument
200 if (asd_phy->port) in sas_try_ata_reset()
201 dev = asd_phy->port->port_dev; in sas_try_ata_reset()
234 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() local
238 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset()
240 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
268 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() local
275 ret = i->dft->lldd_control_phy(asd_phy, cmd, NULL); in sas_phy_enable()
304 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset() local
308 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
339 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_set_phy_speed() local
343 ret = i->dft->lldd_control_phy(asd_phy, PHY_FUNC_SET_LINK_RATE, in sas_set_phy_speed()