Lines Matching refs:mii_bus

109 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr)  in mdiobus_get_phy()
123 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device()
137 struct mii_bus *mdiobus_alloc_size(size_t size) in mdiobus_alloc_size()
139 struct mii_bus *bus; in mdiobus_alloc_size()
177 struct mii_bus *bus = to_mii_bus(d); in mdiobus_release()
206 static u64 mdio_bus_get_global_stat(struct mii_bus *bus, unsigned int offset) in mdio_bus_get_global_stat()
221 struct mii_bus *bus = to_mii_bus(dev); in mdio_bus_stat_field_show()
243 struct mii_bus *bus = mdiodev->bus; in mdio_bus_device_stat_field_show()
406 struct mii_bus *mdio_find_bus(const char *mdio_name) in mdio_find_bus()
429 struct mii_bus *of_mdio_find_bus(struct device_node *mdio_bus_np) in of_mdio_find_bus()
447 static void of_mdiobus_link_mdiodev(struct mii_bus *bus, in of_mdiobus_link_mdiodev()
473 static inline void of_mdiobus_link_mdiodev(struct mii_bus *mdio, in of_mdiobus_link_mdiodev()
487 static int mdiobus_create_device(struct mii_bus *bus, in mdiobus_create_device()
523 int __mdiobus_register(struct mii_bus *bus, struct module *owner) in __mdiobus_register()
622 void mdiobus_unregister(struct mii_bus *bus) in mdiobus_unregister()
659 void mdiobus_free(struct mii_bus *bus) in mdiobus_free()
687 struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr) in mdiobus_scan()
756 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
782 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
810 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
842 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
864 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
890 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested()
913 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write()
934 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify()
955 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed()