Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dmdio.h27 struct mdio_device { struct
33 void (*device_free)(struct mdio_device *mdiodev); argument
34 void (*device_remove)(struct mdio_device *mdiodev); argument
46 #define to_mdio_device(__dev) container_of_const(__dev, struct mdio_device, dev) argument
66 int (*probe)(struct mdio_device *mdiodev);
69 void (*remove)(struct mdio_device *mdiodev);
72 void (*shutdown)(struct mdio_device *mdiodev);
79 static inline void mdiodev_set_drvdata(struct mdio_device *mdio, void *data) in mdiodev_set_drvdata()
84 static inline void *mdiodev_get_drvdata(struct mdio_device *mdio) in mdiodev_get_drvdata()
89 static inline bool mdiodev_has_reset(struct mdio_device *mdio) in mdiodev_has_reset()
[all …]
H A Dphylink.h823 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs,
828 int phylink_mii_c22_pcs_config(struct mdio_device *pcs,
832 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs);
836 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
H 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()
H A Dphy_led_triggers.h17 sizeof_field(struct mdio_device, addr)+\
H A Dphy.h403 struct mdio_device *mdio_map[PHY_MAX_ADDR];
669 struct mdio_device mdio;
2156 struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode);
/linux/drivers/net/dsa/realtek/
H 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()
H 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/
H A Dmdio_device.c33 static int mdio_device_register_reset(struct mdio_device *mdiodev) in mdio_device_register_reset()
69 static void mdio_device_unregister_reset(struct mdio_device *mdiodev) in mdio_device_unregister_reset()
79 void mdio_device_reset(struct mdio_device *mdiodev, int value) in mdio_device_reset()
107 void mdio_device_free(struct mdio_device *mdiodev) in mdio_device_free()
119 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr) in mdio_device_create()
121 struct mdio_device *mdiodev; in mdio_device_create()
151 int mdio_device_register(struct mdio_device *mdiodev) in mdio_device_register()
184 void mdio_device_remove(struct mdio_device *mdiodev) in mdio_device_remove()
191 int mdiobus_register_device(struct mdio_device *mdiodev) in mdiobus_register_device()
212 int mdiobus_unregister_device(struct mdio_device *mdiodev) in mdiobus_unregister_device()
[all …]
H A Dxilinx_gmii2rgmii.c28 struct mdio_device *mdio;
85 static int xgmiitorgmii_probe(struct mdio_device *mdiodev) in xgmiitorgmii_probe()
H A DMakefile7 mdio_device.o
H A Dphy_device.c216 static void phy_mdio_device_free(struct mdio_device *mdiodev) in phy_mdio_device_free()
230 static void phy_mdio_device_remove(struct mdio_device *mdiodev) in phy_mdio_device_remove()
753 struct mdio_device *mdiodev; in phy_device_create()
3615 struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode) in fwnode_mdio_find_device()
3640 struct mdio_device *mdiodev; in fwnode_phy_find_device()
/linux/drivers/base/regmap/
H 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/
H A Dpcs-lynx.c25 struct mdio_device *mdio;
60 static void lynx_pcs_get_state_usxgmii(struct mdio_device *pcs, in lynx_pcs_get_state_usxgmii()
114 static int lynx_pcs_config_giga(struct mdio_device *pcs, in lynx_pcs_config_giga()
152 static int lynx_pcs_config_usxgmii(struct mdio_device *pcs, in lynx_pcs_config_usxgmii()
207 static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs, in lynx_pcs_link_up_sgmii()
286 static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create()
308 struct mdio_device *mdio; in lynx_pcs_create_mdiodev()
341 struct mdio_device *mdio; in lynx_pcs_create_fwnode()
H A Dpcs-xpcs.h111 struct mdio_device *mdiodev;
H A Dpcs-xpcs.c1509 static struct dw_xpcs *xpcs_create_data(struct mdio_device *mdiodev) in xpcs_create_data()
1576 static struct dw_xpcs *xpcs_create(struct mdio_device *mdiodev) in xpcs_create()
1623 struct mdio_device *mdiodev; in xpcs_create_mdiodev()
1668 struct mdio_device *mdiodev; in xpcs_create_fwnode()
/linux/drivers/net/dsa/
H 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()
H A Dmt7530-mdio.c155 mt7530_probe(struct mdio_device *mdiodev) in mt7530_probe()
222 mt7530_remove(struct mdio_device *mdiodev) in mt7530_remove()
246 static void mt7530_shutdown(struct mdio_device *mdiodev) in mt7530_shutdown()
/linux/drivers/net/dsa/xrs700x/
H 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/
H A Dksz8863_smi.c28 struct mdio_device *mdev; in ksz8863_mdio_read()
57 struct mdio_device *mdev; in ksz8863_mdio_write()
133 static int ksz8863_smi_probe(struct mdio_device *mdiodev) in ksz8863_smi_probe()
180 static void ksz8863_smi_remove(struct mdio_device *mdiodev) in ksz8863_smi_remove()
188 static void ksz8863_smi_shutdown(struct mdio_device *mdiodev) in ksz8863_smi_shutdown()
/linux/drivers/phy/broadcom/
H 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()
/linux/drivers/net/dsa/b53/
H 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/drivers/net/dsa/lantiq/
H A Dmxl-gsw1xx.c29 struct mdio_device *mdio_dev;
687 static int gsw1xx_probe(struct mdio_device *mdiodev) in gsw1xx_probe()
789 static void gsw1xx_remove(struct mdio_device *mdiodev) in gsw1xx_remove()
803 static void gsw1xx_shutdown(struct mdio_device *mdiodev) in gsw1xx_shutdown()
/linux/drivers/net/dsa/qca/
H 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()
/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet.h556 struct mdio_device *pcs_phy;
/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-6352.c25 struct mdio_device mdio;

12