Searched refs:mdio_device (Results 1 – 18 of 18) sorted by relevance
29 struct mdio_device { struct36 void (*device_free)(struct mdio_device *mdiodev); argument37 void (*device_remove)(struct mdio_device *mdiodev); argument46 #define to_mdio_device(d) container_of(d, struct mdio_device, dev) argument65 int (*probe)(struct mdio_device *mdiodev);68 void (*remove)(struct mdio_device *mdiodev);73 void mdio_device_free(struct mdio_device *mdiodev);74 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);75 int mdio_device_register(struct mdio_device *mdiodev);76 void mdio_device_remove(struct mdio_device *mdiodev);[all …]
26 FIELD_SIZEOF(struct mdio_device, addr)+\
218 struct mdio_device *mdio_map[PHY_MAX_ADDR];400 struct mdio_device mdio;
29 void mdio_device_free(struct mdio_device *mdiodev) in mdio_device_free()42 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_device_bus_match()51 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr) in mdio_device_create()53 struct mdio_device *mdiodev; in mdio_device_create()80 int mdio_device_register(struct mdio_device *mdiodev) in mdio_device_register()113 void mdio_device_remove(struct mdio_device *mdiodev) in mdio_device_remove()120 void mdio_device_reset(struct mdio_device *mdiodev, int value) in mdio_device_reset()144 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_probe()165 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_remove()
50 static int mdiobus_register_gpiod(struct mdio_device *mdiodev) in mdiobus_register_gpiod()73 int mdiobus_register_device(struct mdio_device *mdiodev) in mdiobus_register_device()92 int mdiobus_unregister_device(struct mdio_device *mdiodev) in mdiobus_unregister_device()105 struct mdio_device *mdiodev = bus->mdio_map[addr]; in mdiobus_get_phy()288 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()312 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()328 struct mdio_device *mdiodev; in mdiobus_create_device()363 struct mdio_device *mdiodev; in __mdiobus_register()445 struct mdio_device *mdiodev; in mdiobus_unregister()697 struct mdio_device *mdio = to_mdio_device(dev); in mdio_bus_match()
36 struct mdio_device *mdio;66 static int xgmiitorgmii_probe(struct mdio_device *mdiodev) in xgmiitorgmii_probe()
5 mdio-bus-y += mdio_bus.o mdio_device.o
51 static void phy_mdio_device_free(struct mdio_device *mdiodev) in phy_mdio_device_free()64 static void phy_mdio_device_remove(struct mdio_device *mdiodev) in phy_mdio_device_remove()408 struct mdio_device *mdiodev; in phy_device_create()
16 reflects whether the mdio_bus/mdio_device code is built as a
30 struct mdio_device *device;34 static void lan9303_mdio_real_write(struct mdio_device *mdio, int reg, u16 val) in lan9303_mdio_real_write()52 static u16 lan9303_mdio_real_read(struct mdio_device *mdio, int reg) in lan9303_mdio_real_read()108 static int lan9303_mdio_probe(struct mdio_device *mdiodev) in lan9303_mdio_probe()142 static void lan9303_mdio_remove(struct mdio_device *mdiodev) in lan9303_mdio_remove()
281 static int dsa_loop_drv_probe(struct mdio_device *mdiodev) in dsa_loop_drv_probe()317 static void dsa_loop_drv_remove(struct mdio_device *mdiodev) in dsa_loop_drv_remove()
896 qca8k_sw_probe(struct mdio_device *mdiodev) in qca8k_sw_probe()931 qca8k_sw_remove(struct mdio_device *mdiodev) in qca8k_sw_remove()
1334 mt7530_probe(struct mdio_device *mdiodev) in mt7530_probe()1396 mt7530_remove(struct mdio_device *mdiodev) in mt7530_remove()
28 struct mdio_device *mdiodev = phy_get_drvdata(p); in ns2_pci_phy_init()55 static int ns2_pci_phy_probe(struct mdio_device *mdiodev) in ns2_pci_phy_probe()
57 struct mdio_device *mdiodev;195 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdiodev_phy_write()200 static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev) in bcm_ns_usb3_mdio_probe()
108 struct mdio_device *mdiodev; in of_mdiobus_register_device()301 struct mdio_device *mdiodev; in of_phy_find_device()
290 static int b53_mdio_probe(struct mdio_device *mdiodev) in b53_mdio_probe()351 static void b53_mdio_remove(struct mdio_device *mdiodev) in b53_mdio_remove()
4620 static int mv88e6xxx_probe(struct mdio_device *mdiodev) in mv88e6xxx_probe()4758 static void mv88e6xxx_remove(struct mdio_device *mdiodev) in mv88e6xxx_remove()