Home
last modified time | relevance | path

Searched refs:mdio_device (Results 1 – 25 of 42) sorted by relevance

12

/linux/include/linux/
A Dmdio.h28 struct mdio_device { struct
35 void (*device_free)(struct mdio_device *mdiodev); argument
36 void (*device_remove)(struct mdio_device *mdiodev); argument
50 return container_of(dev, struct mdio_device, dev); in to_mdio_device()
71 int (*probe)(struct mdio_device *mdiodev);
74 void (*remove)(struct mdio_device *mdiodev);
77 void (*shutdown)(struct mdio_device *mdiodev);
94 void mdio_device_free(struct mdio_device *mdiodev);
96 int mdio_device_register(struct mdio_device *mdiodev);
97 void mdio_device_remove(struct mdio_device *mdiodev);
[all …]
A Dphylink.h673 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
677 int phylink_mii_c22_pcs_config(struct mdio_device *pcs,
681 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
685 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
A Dof_mdio.h36 struct mdio_device *of_mdio_find_device(struct device_node *np);
98 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
/linux/drivers/net/dsa/realtek/
A Drealtek-mdio.h18 int realtek_mdio_probe(struct mdio_device *mdiodev);
19 void realtek_mdio_remove(struct mdio_device *mdiodev);
20 void realtek_mdio_shutdown(struct mdio_device *mdiodev);
33 static inline int realtek_mdio_probe(struct mdio_device *mdiodev) in realtek_mdio_probe()
38 static inline void realtek_mdio_remove(struct mdio_device *mdiodev) in realtek_mdio_remove()
42 static inline void realtek_mdio_shutdown(struct mdio_device *mdiodev) in realtek_mdio_shutdown()
A Drealtek-mdio.c121 int realtek_mdio_probe(struct mdio_device *mdiodev) in realtek_mdio_probe()
155 void realtek_mdio_remove(struct mdio_device *mdiodev) in realtek_mdio_remove()
178 void realtek_mdio_shutdown(struct mdio_device *mdiodev) in realtek_mdio_shutdown()
/linux/drivers/net/phy/
A Dmdio_device.c26 void mdio_device_free(struct mdio_device *mdiodev) in mdio_device_free()
40 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_device_bus_match()
49 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr) in mdio_device_create()
51 struct mdio_device *mdiodev; in mdio_device_create()
79 int mdio_device_register(struct mdio_device *mdiodev) in mdio_device_register()
112 void mdio_device_remove(struct mdio_device *mdiodev) in mdio_device_remove()
119 void mdio_device_reset(struct mdio_device *mdiodev, int value) in mdio_device_reset()
156 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_probe()
177 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_remove()
192 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_shutdown()
A Dmdio_bus.c42 static int mdiobus_register_gpiod(struct mdio_device *mdiodev) in mdiobus_register_gpiod()
69 int mdiobus_register_device(struct mdio_device *mdiodev) in mdiobus_register_device()
95 int mdiobus_unregister_device(struct mdio_device *mdiodev) in mdiobus_unregister_device()
120 struct mdio_device *mdiodev; in mdiobus_get_phy()
256 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_bus_device_stat_field_show()
505 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()
516 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()
532 struct mdio_device *mdiodev; in mdiobus_create_device()
687 struct mdio_device *mdiodev; in __mdiobus_register()
805 struct mdio_device *mdiodev; in mdiobus_unregister()
[all …]
A Dxilinx_gmii2rgmii.c28 struct mdio_device *mdio;
84 static int xgmiitorgmii_probe(struct mdio_device *mdiodev) in xgmiitorgmii_probe()
A DMakefile6 mdio-bus-y += mdio_bus.o mdio_device.o
/linux/drivers/base/regmap/
A Dregmap-mdio.c15 struct mdio_device *mdio_dev = context; in regmap_mdio_c22_read()
32 struct mdio_device *mdio_dev = context; in regmap_mdio_c22_write()
47 struct mdio_device *mdio_dev = context; in regmap_mdio_c45_read()
68 struct mdio_device *mdio_dev = context; in regmap_mdio_c45_write()
85 struct regmap *__regmap_init_mdio(struct mdio_device *mdio_dev, in __regmap_init_mdio()
102 struct regmap *__devm_regmap_init_mdio(struct mdio_device *mdio_dev, in __devm_regmap_init_mdio()
/linux/drivers/net/pcs/
A Dpcs-lynx.c25 struct mdio_device *mdio;
38 static void lynx_pcs_get_state_usxgmii(struct mdio_device *pcs, in lynx_pcs_get_state_usxgmii()
61 static void lynx_pcs_get_state_2500basex(struct mdio_device *pcs, in lynx_pcs_get_state_2500basex()
114 static int lynx_pcs_config_giga(struct mdio_device *pcs, in lynx_pcs_config_giga()
151 static int lynx_pcs_config_usxgmii(struct mdio_device *pcs, in lynx_pcs_config_usxgmii()
209 static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs, in lynx_pcs_link_up_sgmii()
264 static void lynx_pcs_link_up_2500basex(struct mdio_device *pcs, in lynx_pcs_link_up_2500basex()
315 static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create()
334 struct mdio_device *mdio; in lynx_pcs_create_mdiodev()
367 struct mdio_device *mdio; in lynx_pcs_create_fwnode()
A Dpcs-xpcs.c1374 static struct dw_xpcs *xpcs_create_data(struct mdio_device *mdiodev) in xpcs_create_data()
1477 static struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev, in xpcs_create()
1523 struct mdio_device *mdiodev; in xpcs_create_mdiodev()
1558 struct mdio_device *mdiodev; in xpcs_create_fwnode()
/linux/drivers/net/dsa/
A Dlan9303_mdio.c21 struct mdio_device *device;
25 static void lan9303_mdio_real_write(struct mdio_device *mdio, int reg, u16 val) in lan9303_mdio_real_write()
43 static u16 lan9303_mdio_real_read(struct mdio_device *mdio, int reg) in lan9303_mdio_real_read()
99 static int lan9303_mdio_probe(struct mdio_device *mdiodev) in lan9303_mdio_probe()
133 static void lan9303_mdio_remove(struct mdio_device *mdiodev) in lan9303_mdio_remove()
143 static void lan9303_mdio_shutdown(struct mdio_device *mdiodev) in lan9303_mdio_shutdown()
A Dmt7530-mdio.c140 mt7530_probe(struct mdio_device *mdiodev) in mt7530_probe()
218 mt7530_remove(struct mdio_device *mdiodev) in mt7530_remove()
242 static void mt7530_shutdown(struct mdio_device *mdiodev) in mt7530_shutdown()
A Dmv88e6060.c302 static int mv88e6060_probe(struct mdio_device *mdiodev) in mv88e6060_probe()
337 static void mv88e6060_remove(struct mdio_device *mdiodev) in mv88e6060_remove()
347 static void mv88e6060_shutdown(struct mdio_device *mdiodev) in mv88e6060_shutdown()
A Ddsa_loop.c309 static int dsa_loop_drv_probe(struct mdio_device *mdiodev) in dsa_loop_drv_probe()
351 static void dsa_loop_drv_remove(struct mdio_device *mdiodev) in dsa_loop_drv_remove()
365 static void dsa_loop_drv_shutdown(struct mdio_device *mdiodev) in dsa_loop_drv_shutdown()
/linux/drivers/net/dsa/xrs700x/
A Dxrs700x_mdio.c27 struct mdio_device *mdiodev = context; in xrs700x_mdio_reg_read()
62 struct mdio_device *mdiodev = context; in xrs700x_mdio_reg_write()
107 static int xrs700x_mdio_probe(struct mdio_device *mdiodev) in xrs700x_mdio_probe()
135 static void xrs700x_mdio_remove(struct mdio_device *mdiodev) in xrs700x_mdio_remove()
145 static void xrs700x_mdio_shutdown(struct mdio_device *mdiodev) in xrs700x_mdio_shutdown()
/linux/drivers/net/dsa/microchip/
A Dksz8863_smi.c29 struct mdio_device *mdev; in ksz8863_mdio_read()
58 struct mdio_device *mdev; in ksz8863_mdio_write()
134 static int ksz8863_smi_probe(struct mdio_device *mdiodev) in ksz8863_smi_probe()
181 static void ksz8863_smi_remove(struct mdio_device *mdiodev) in ksz8863_smi_remove()
189 static void ksz8863_smi_shutdown(struct mdio_device *mdiodev) in ksz8863_smi_shutdown()
/linux/drivers/phy/broadcom/
A Dphy-bcm-ns2-pcie.c18 struct mdio_device *mdiodev = phy_get_drvdata(p); in ns2_pci_phy_init()
43 static int ns2_pci_phy_probe(struct mdio_device *mdiodev) in ns2_pci_phy_probe()
A Dphy-bcm-ns-usb3.c53 struct mdio_device *mdiodev;
185 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdio_phy_write()
190 static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev) in bcm_ns_usb3_mdio_probe()
/linux/drivers/net/dsa/b53/
A Db53_mdio.c292 static int b53_mdio_probe(struct mdio_device *mdiodev) in b53_mdio_probe()
353 static void b53_mdio_remove(struct mdio_device *mdiodev) in b53_mdio_remove()
363 static void b53_mdio_shutdown(struct mdio_device *mdiodev) in b53_mdio_shutdown()
/linux/include/linux/pcs/
A Dpcs-xpcs.h60 struct mdio_device *mdiodev;
/linux/drivers/net/mdio/
A Dof_mdio.c56 struct mdio_device *mdiodev; in of_mdiobus_register_device()
285 struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
/linux/drivers/net/dsa/qca/
A Dar9331.c1031 static int ar9331_sw_probe(struct mdio_device *mdiodev) in ar9331_sw_probe()
1091 static void ar9331_sw_remove(struct mdio_device *mdiodev) in ar9331_sw_remove()
1111 static void ar9331_sw_shutdown(struct mdio_device *mdiodev) in ar9331_sw_shutdown()

Completed in 54 milliseconds

12