Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/linux/
Dmdio.h34 struct mdio_device { struct
41 void (*device_free)(struct mdio_device *mdiodev); argument
42 void (*device_remove)(struct mdio_device *mdiodev); argument
52 #define to_mdio_device(d) container_of(d, struct mdio_device, dev) argument
71 int (*probe)(struct mdio_device *mdiodev);
74 void (*remove)(struct mdio_device *mdiodev);
80 static inline void mdiodev_set_drvdata(struct mdio_device *mdio, void *data) in mdiodev_set_drvdata()
85 static inline void *mdiodev_get_drvdata(struct mdio_device *mdio) in mdiodev_get_drvdata()
90 void mdio_device_free(struct mdio_device *mdiodev);
91 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);
[all …]
Dphylink.h481 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
483 int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs,
486 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, unsigned int mode,
489 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
491 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
Dpcs-lynx.h14 struct mdio_device *mdio;
17 struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio);
Dof_mdio.h20 struct mdio_device *of_mdio_find_device(struct device_node *np);
78 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
Dphy.h336 struct mdio_device *mdio_map[PHY_MAX_ADDR];
540 struct mdio_device mdio;
/Linux-v5.10/drivers/net/phy/
Dmdio_device.c25 void mdio_device_free(struct mdio_device *mdiodev) in mdio_device_free()
38 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_device_bus_match()
47 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr) in mdio_device_create()
49 struct mdio_device *mdiodev; in mdio_device_create()
76 int mdio_device_register(struct mdio_device *mdiodev) in mdio_device_register()
109 void mdio_device_remove(struct mdio_device *mdiodev) in mdio_device_remove()
116 void mdio_device_reset(struct mdio_device *mdiodev, int value) in mdio_device_reset()
148 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_probe()
169 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_remove()
Dmdio_bus.c43 static int mdiobus_register_gpiod(struct mdio_device *mdiodev) in mdiobus_register_gpiod()
57 static int mdiobus_register_reset(struct mdio_device *mdiodev) in mdiobus_register_reset()
70 int mdiobus_register_device(struct mdio_device *mdiodev) in mdiobus_register_device()
96 int mdiobus_unregister_device(struct mdio_device *mdiodev) in mdiobus_unregister_device()
111 struct mdio_device *mdiodev = bus->mdio_map[addr]; in mdiobus_get_phy()
239 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_bus_device_stat_field_show()
445 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()
469 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev()
485 struct mdio_device *mdiodev; in mdiobus_create_device()
520 struct mdio_device *mdiodev; in __mdiobus_register()
[all …]
Dxilinx_gmii2rgmii.c27 struct mdio_device *mdio;
60 static int xgmiitorgmii_probe(struct mdio_device *mdiodev) in xgmiitorgmii_probe()
DMakefile6 mdio-bus-y += mdio_bus.o mdio_device.o
Dphylink.c2380 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, in phylink_mii_c22_pcs_get_state()
2437 int phylink_mii_c22_pcs_set_advertisement(struct mdio_device *pcs, in phylink_mii_c22_pcs_set_advertisement()
2503 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, unsigned int mode, in phylink_mii_c22_pcs_config()
2539 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs) in phylink_mii_c22_pcs_an_restart()
2553 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs, in phylink_mii_c45_pcs_get_state()
Dphy_device.c207 static void phy_mdio_device_free(struct mdio_device *mdiodev) in phy_mdio_device_free()
220 static void phy_mdio_device_remove(struct mdio_device *mdiodev) in phy_mdio_device_remove()
585 struct mdio_device *mdiodev; in phy_device_create()
/Linux-v5.10/drivers/net/pcs/
Dpcs-lynx.c33 static void lynx_pcs_get_state_usxgmii(struct mdio_device *pcs, in lynx_pcs_get_state_usxgmii()
56 static void lynx_pcs_get_state_2500basex(struct mdio_device *pcs, in lynx_pcs_get_state_2500basex()
111 static int lynx_pcs_config_sgmii(struct mdio_device *pcs, unsigned int mode, in lynx_pcs_config_sgmii()
140 static int lynx_pcs_config_usxgmii(struct mdio_device *pcs, unsigned int mode, in lynx_pcs_config_usxgmii()
188 static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs, unsigned int mode, in lynx_pcs_link_up_sgmii()
244 static void lynx_pcs_link_up_2500basex(struct mdio_device *pcs, in lynx_pcs_link_up_2500basex()
296 struct lynx_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create()
/Linux-v5.10/drivers/net/dsa/
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()
Dmv88e6060.c254 static int mv88e6060_probe(struct mdio_device *mdiodev) in mv88e6060_probe()
289 static void mv88e6060_remove(struct mdio_device *mdiodev) in mv88e6060_remove()
Ddsa_loop.c317 static int dsa_loop_drv_probe(struct mdio_device *mdiodev) in dsa_loop_drv_probe()
360 static void dsa_loop_drv_remove(struct mdio_device *mdiodev) in dsa_loop_drv_remove()
Dqca8k.c1407 qca8k_sw_probe(struct mdio_device *mdiodev) in qca8k_sw_probe()
1460 qca8k_sw_remove(struct mdio_device *mdiodev) in qca8k_sw_remove()
/Linux-v5.10/drivers/phy/broadcom/
Dphy-bcm-ns2-pcie.c28 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()
Dphy-bcm-ns-usb3.c55 struct mdio_device *mdiodev;
193 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdiodev_phy_write()
198 static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev) in bcm_ns_usb3_mdio_probe()
/Linux-v5.10/drivers/net/mdio/
Dof_mdio.c154 struct mdio_device *mdiodev; in of_mdiobus_register_device()
348 struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
372 struct mdio_device *mdiodev; in of_phy_find_device()
DKconfig19 reflects whether the mdio_bus/mdio_device code is built as a
/Linux-v5.10/drivers/net/dsa/b53/
Db53_mdio.c290 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()
/Linux-v5.10/drivers/net/dsa/qca/
Dar9331.c780 static int ar9331_sw_probe(struct mdio_device *mdiodev) in ar9331_sw_probe()
831 static void ar9331_sw_remove(struct mdio_device *mdiodev) in ar9331_sw_remove()
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-mac.c260 struct mdio_device *mdiodev; in dpaa2_pcs_create()
/Linux-v5.10/drivers/net/dsa/ocelot/
Dseville_vsc9953.c1106 struct mdio_device *pcs; in vsc9953_mdio_bus_alloc()

12