Lines Matching refs:asd_phy
191 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors() local
195 return i->dft->lldd_control_phy(asd_phy, PHY_FUNC_GET_EVENTS, NULL); in sas_get_linkerrors()
201 int sas_try_ata_reset(struct asd_sas_phy *asd_phy) in sas_try_ata_reset() argument
206 if (asd_phy->port) in sas_try_ata_reset()
207 dev = asd_phy->port->port_dev; in sas_try_ata_reset()
240 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset() local
244 if (!hard_reset && sas_try_ata_reset(asd_phy) == 0) in transport_sas_phy_reset()
246 return i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in transport_sas_phy_reset()
274 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable() local
281 ret = i->dft->lldd_control_phy(asd_phy, cmd, NULL); in sas_phy_enable()
310 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset() local
314 ret = i->dft->lldd_control_phy(asd_phy, reset_type, NULL); in sas_phy_reset()
345 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_set_phy_speed() local
349 ret = i->dft->lldd_control_phy(asd_phy, PHY_FUNC_SET_LINK_RATE, in sas_set_phy_speed()