Home
last modified time | relevance | path

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

/linux/drivers/net/phy/
H A Dmdio_bus.c73 if (mdiodev->bus->mdio_map[mdiodev->addr]) in mdiobus_register_device()
89 mdiodev->bus->mdio_map[mdiodev->addr] = mdiodev; in mdiobus_register_device()
97 if (mdiodev->bus->mdio_map[mdiodev->addr] != mdiodev) in mdiobus_unregister_device()
102 mdiodev->bus->mdio_map[mdiodev->addr] = NULL; in mdiobus_unregister_device()
110 bool addr_valid = addr >= 0 && addr < ARRAY_SIZE(bus->mdio_map); in mdiobus_find_device()
115 return bus->mdio_map[addr]; in mdiobus_find_device()
634 if (bus->mdio_map[i]) in mdiobus_scan_bus_c45()
786 mdiodev = bus->mdio_map[i]; in __mdiobus_register()
813 mdiodev = bus->mdio_map[i]; in mdiobus_unregister()
/linux/drivers/net/phy/mscc/
H A Dmscc_ptp.c1240 dev = phydev->mdio.bus->mdio_map[vsc8531->ts_base_addr]; in vsc8584_base_priv()