Searched refs:ethernet_regs (Results 1 – 2 of 2) sorted by relevance
88 static int fec_mdio_read(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_read()152 static void fec_mii_setspeed(struct ethernet_regs *eth) in fec_mii_setspeed()190 static int fec_mdio_write(struct ethernet_regs *eth, uint8_t phyaddr, in fec_mdio_write()238 struct ethernet_regs *eth = fec->bus->priv; in miiphy_restart_aneg()270 struct ethernet_regs *eth = fec->bus->priv; in miiphy_wait_aneg()1056 struct ethernet_regs *eth = (struct ethernet_regs *)base_addr; in fec_get_miibus()1125 fec->eth = (struct ethernet_regs *)(ulong)base_addr; in fec_probe()1445 priv->eth = (struct ethernet_regs *)pdata->iobase; in fecmxc_ofdata_to_platdata()
22 struct ethernet_regs { struct239 struct ethernet_regs *eth; /* pointer to register'S base */