Lines Matching refs:mii_bus
22 struct mii_bus;
39 struct mii_bus *bus;
109 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);
413 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
414 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
415 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum,
418 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
419 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum);
420 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
421 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val);
422 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask,
424 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum,
466 static inline int __mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_read()
472 static inline int __mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in __mdiobus_c45_write()
479 static inline int mdiobus_c45_read(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_read()
485 static inline int mdiobus_c45_write(struct mii_bus *bus, int prtad, int devad, in mdiobus_c45_write()
493 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr);
494 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr);