Lines Matching defs:bus

110 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr)  in mdiobus_find_device()
120 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy()
135 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device()
151 struct mii_bus *bus; in mdiobus_alloc_size() local
189 struct mii_bus *bus = to_mii_bus(d); in mdiobus_release() local
218 static u64 mdio_bus_get_global_stat(struct mii_bus *bus, unsigned int offset) in mdio_bus_get_global_stat()
233 struct mii_bus *bus = to_mii_bus(dev); in mdio_bus_stat_field_show() local
255 struct mii_bus *bus = mdiodev->bus; in mdio_bus_device_stat_field_show() local
459 static void of_mdiobus_link_mdiodev(struct mii_bus *bus, in of_mdiobus_link_mdiodev()
499 static int mdiobus_create_device(struct mii_bus *bus, in mdiobus_create_device()
521 static struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr, bool c45) in mdiobus_scan()
556 struct phy_device *mdiobus_scan_c22(struct mii_bus *bus, int addr) in mdiobus_scan_c22()
574 static struct phy_device *mdiobus_scan_c45(struct mii_bus *bus, int addr) in mdiobus_scan_c45()
579 static int mdiobus_scan_bus_c22(struct mii_bus *bus) in mdiobus_scan_bus_c22()
595 static int mdiobus_scan_bus_c45(struct mii_bus *bus) in mdiobus_scan_bus_c45()
622 static bool mdiobus_prevent_c45_scan(struct mii_bus *bus) in mdiobus_prevent_c45_scan()
655 int __mdiobus_register(struct mii_bus *bus, struct module *owner) in __mdiobus_register()
764 void mdiobus_unregister(struct mii_bus *bus) in mdiobus_unregister()
801 void mdiobus_free(struct mii_bus *bus) in mdiobus_free()
847 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
876 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
907 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
937 int __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in __mdiobus_c45_read()
967 int __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in __mdiobus_c45_write()
1000 static int __mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, in __mdiobus_c45_modify_changed()
1032 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
1054 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
1077 int mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in mdiobus_c45_read()
1103 int mdiobus_c45_read_nested(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_read_nested()
1130 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested()
1153 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write()
1177 int mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in mdiobus_c45_write()
1205 int mdiobus_c45_write_nested(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_write_nested()
1227 int __mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, in __mdiobus_modify()
1247 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify()
1269 int mdiobus_c45_modify(struct mii_bus *bus, int addr, int devad, u32 regnum, in mdiobus_c45_modify()
1292 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed()
1315 int mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_modify_changed()