Lines Matching refs:asd_phy
184 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() local
188 return i->dft->lldd_control_phy(asd_phy, PHY_FUNC_GET_EVENTS, NULL); in sas_get_linkerrors()
194 int sas_try_ata_reset(struct asd_sas_phy *asd_phy) in sas_try_ata_reset() argument
199 if (asd_phy->port) in sas_try_ata_reset()
200 dev = asd_phy->port->port_dev; in sas_try_ata_reset()
233 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() local
237 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset()
239 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
267 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() local
274 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()
340 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_set_phy_speed() local
344 ret = i->dft->lldd_control_phy(asd_phy, PHY_FUNC_SET_LINK_RATE, in sas_set_phy_speed()