Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dpic32_eth.c57 struct pic32_emac_regs *emac_p = priv->emac_regs; in pic32_mii_init() local
75 writel(EMAC_SOFTRESET, &emac_p->cfg1.set); /* reset assert */ in pic32_mii_init()
77 writel(EMAC_SOFTRESET, &emac_p->cfg1.clr); /* reset deassert */ in pic32_mii_init()
81 writel(EMAC_RMII_RESET, &emac_p->supp.set); in pic32_mii_init()
83 writel(EMAC_RMII_RESET, &emac_p->supp.clr); in pic32_mii_init()
86 return pic32_mdio_init(PIC32_MDIO_NAME, (ulong)&emac_p->mii); in pic32_mii_init()
130 struct pic32_emac_regs *emac_p = priv->emac_regs; in pic32_mac_adjust_link() local
138 writel(EMAC_FULLDUP, &emac_p->cfg2.set); in pic32_mac_adjust_link()
139 writel(FULLDUP_GAP_TIME, &emac_p->ipgt.raw); in pic32_mac_adjust_link()
141 writel(EMAC_FULLDUP, &emac_p->cfg2.clr); in pic32_mac_adjust_link()
[all …]