Searched refs:mdio_bus (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/net/ |
D | keystone_net.c | 29 static struct mii_dev *mdio_bus; variable 103 struct mii_dev *mdio_bus; member 195 data = keystone2_mdio_read(mdio_bus, eth_priv->phy_addr, in keystone2_eth_gigabit_enable() 219 data = keystone2_mdio_read(priv->mdio_bus, priv->phy_addr, in keystone2_eth_gigabit_enable() 549 keystone2_mdio_reset(mdio_bus); in keystone2_eth_open() 582 keystone2_mdio_reset(mdio_bus); in keystone2_eth_open() 706 if (!mdio_bus) { in keystone2_emac_initialize() 707 mdio_bus = mdio_alloc(); in keystone2_emac_initialize() 708 mdio_bus->read = keystone2_mdio_read; in keystone2_emac_initialize() 709 mdio_bus->write = keystone2_mdio_write; in keystone2_emac_initialize() [all …]
|
/external/u-boot/drivers/net/phy/ |
D | mv88e61xx.c | 193 struct mii_dev *mdio_bus; member 258 struct mii_dev *mdio_bus = priv->mdio_bus; in mv88e61xx_reg_read() local 264 return mdio_bus->read(mdio_bus, dev, MDIO_DEVAD_NONE, reg); in mv88e61xx_reg_read() 267 res = mv88e61xx_smi_wait(mdio_bus, smi_addr); in mv88e61xx_reg_read() 272 res = mdio_bus->write(mdio_bus, smi_addr, MDIO_DEVAD_NONE, SMI_CMD_REG, in mv88e61xx_reg_read() 278 res = mv88e61xx_smi_wait(mdio_bus, smi_addr); in mv88e61xx_reg_read() 283 res = mdio_bus->read(mdio_bus, smi_addr, MDIO_DEVAD_NONE, SMI_DATA_REG); in mv88e61xx_reg_read() 295 struct mii_dev *mdio_bus = priv->mdio_bus; in mv88e61xx_reg_write() local 301 return mdio_bus->write(mdio_bus, dev, MDIO_DEVAD_NONE, reg, in mv88e61xx_reg_write() 306 res = mv88e61xx_smi_wait(mdio_bus, smi_addr); in mv88e61xx_reg_write() [all …]
|