Lines Matching refs:sgmii
214 struct emac_sgmii *sgmii = &adpt->phy; in emac_sgmii_common_open() local
217 if (sgmii->irq) { in emac_sgmii_common_open()
222 writel(0, sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_open()
224 ret = request_irq(sgmii->irq, emac_sgmii_interrupt, 0, in emac_sgmii_common_open()
238 struct emac_sgmii *sgmii = &adpt->phy; in emac_sgmii_common_close() local
241 writel(0, sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_close()
242 free_irq(sgmii->irq, adpt); in emac_sgmii_common_close()
248 struct emac_sgmii *sgmii = &adpt->phy; in emac_sgmii_common_link_change() local
258 sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_link_change()
261 writel(0, sgmii->base + EMAC_SGMII_PHY_INTERRUPT_MASK); in emac_sgmii_common_link_change()
262 synchronize_irq(sgmii->irq); in emac_sgmii_common_link_change()