Home
last modified time | relevance | path

Searched refs:sgmii_ops (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/qualcomm/emac/
Demac-sgmii.c50 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->init)) in emac_sgmii_init()
53 return adpt->phy.sgmii_ops->init(adpt); in emac_sgmii_init()
58 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->open)) in emac_sgmii_open()
61 return adpt->phy.sgmii_ops->open(adpt); in emac_sgmii_open()
66 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->close)) in emac_sgmii_close()
69 adpt->phy.sgmii_ops->close(adpt); in emac_sgmii_close()
74 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->link_change)) in emac_sgmii_link_change()
77 return adpt->phy.sgmii_ops->link_change(adpt, link_state); in emac_sgmii_link_change()
82 if (!(adpt->phy.sgmii_ops && adpt->phy.sgmii_ops->reset)) in emac_sgmii_reset()
85 adpt->phy.sgmii_ops->reset(adpt); in emac_sgmii_reset()
[all …]
Demac-sgmii.h17 struct sgmii_ops { struct
37 struct sgmii_ops *sgmii_ops; member