Lines Matching defs:bus
108 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr) in mdiobus_find_device()
118 struct phy_device *mdiobus_get_phy(struct mii_bus *bus, int addr) in mdiobus_get_phy()
133 bool mdiobus_is_registered_device(struct mii_bus *bus, int addr) in mdiobus_is_registered_device()
149 struct mii_bus *bus; in mdiobus_alloc_size() local
187 struct mii_bus *bus = to_mii_bus(d); in mdiobus_release() local
220 static u64 mdio_bus_get_global_stat(struct mii_bus *bus, unsigned int offset) in mdio_bus_get_global_stat()
235 struct mii_bus *bus = to_mii_bus(dev); in mdio_bus_stat_field_show() local
257 struct mii_bus *bus = mdiodev->bus; in mdio_bus_device_stat_field_show() local
504 static void of_mdiobus_link_mdiodev(struct mii_bus *bus, in of_mdiobus_link_mdiodev()
529 static int mdiobus_create_device(struct mii_bus *bus, in mdiobus_create_device()
551 static struct phy_device *mdiobus_scan(struct mii_bus *bus, int addr, bool c45) in mdiobus_scan()
586 struct phy_device *mdiobus_scan_c22(struct mii_bus *bus, int addr) in mdiobus_scan_c22()
604 static struct phy_device *mdiobus_scan_c45(struct mii_bus *bus, int addr) in mdiobus_scan_c45()
609 static int mdiobus_scan_bus_c22(struct mii_bus *bus) in mdiobus_scan_bus_c22()
625 static int mdiobus_scan_bus_c45(struct mii_bus *bus) in mdiobus_scan_bus_c45()
652 static bool mdiobus_prevent_c45_scan(struct mii_bus *bus) in mdiobus_prevent_c45_scan()
685 int __mdiobus_register(struct mii_bus *bus, struct module *owner) in __mdiobus_register()
803 void mdiobus_unregister(struct mii_bus *bus) in mdiobus_unregister()
840 void mdiobus_free(struct mii_bus *bus) in mdiobus_free()
886 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in __mdiobus_read()
915 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in __mdiobus_write()
946 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in __mdiobus_modify_changed()
976 int __mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in __mdiobus_c45_read()
1006 int __mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in __mdiobus_c45_write()
1039 static int __mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, in __mdiobus_c45_modify_changed()
1071 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read_nested()
1093 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum) in mdiobus_read()
1116 int mdiobus_c45_read(struct mii_bus *bus, int addr, int devad, u32 regnum) in mdiobus_c45_read()
1142 int mdiobus_c45_read_nested(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_read_nested()
1169 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write_nested()
1192 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val) in mdiobus_write()
1216 int mdiobus_c45_write(struct mii_bus *bus, int addr, int devad, u32 regnum, in mdiobus_c45_write()
1244 int mdiobus_c45_write_nested(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_write_nested()
1266 int __mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, in __mdiobus_modify()
1286 int mdiobus_modify(struct mii_bus *bus, int addr, u32 regnum, u16 mask, u16 set) in mdiobus_modify()
1308 int mdiobus_c45_modify(struct mii_bus *bus, int addr, int devad, u32 regnum, in mdiobus_c45_modify()
1331 int mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum, in mdiobus_modify_changed()
1354 int mdiobus_c45_modify_changed(struct mii_bus *bus, int addr, int devad, in mdiobus_c45_modify_changed()