/linux-6.6.21/include/linux/ |
D | mdio.h | 28 struct mdio_device { struct 35 void (*device_free)(struct mdio_device *mdiodev); argument 36 void (*device_remove)(struct mdio_device *mdiodev); argument 47 static inline struct mdio_device *to_mdio_device(const struct device *dev) in to_mdio_device() argument 49 return container_of(dev, struct mdio_device, dev); in to_mdio_device() 73 int (*probe)(struct mdio_device *mdiodev); 76 void (*remove)(struct mdio_device *mdiodev); 79 void (*shutdown)(struct mdio_device *mdiodev); 90 static inline void mdiodev_set_drvdata(struct mdio_device *mdio, void *data) in mdiodev_set_drvdata() 95 static inline void *mdiodev_get_drvdata(struct mdio_device *mdio) in mdiodev_get_drvdata() [all …]
|
D | phylink.h | 730 void phylink_mii_c22_pcs_get_state(struct mdio_device *pcs, 734 int phylink_mii_c22_pcs_config(struct mdio_device *pcs, 738 void phylink_mii_c22_pcs_an_restart(struct mdio_device *pcs); 742 void phylink_mii_c45_pcs_get_state(struct mdio_device *pcs,
|
D | of_mdio.h | 36 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()
|
D | phy_led_triggers.h | 17 sizeof_field(struct mdio_device, addr)+\
|
D | phy.h | 410 struct mdio_device *mdio_map[PHY_MAX_ADDR]; 635 struct mdio_device mdio; 1664 struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode); 1677 struct mdio_device *fwnode_mdio_find_device(struct fwnode_handle *fwnode) in fwnode_mdio_find_device()
|
/linux-6.6.21/drivers/net/phy/ |
D | mdio_device.c | 26 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() 78 int mdio_device_register(struct mdio_device *mdiodev) in mdio_device_register() 111 void mdio_device_remove(struct mdio_device *mdiodev) in mdio_device_remove() 118 void mdio_device_reset(struct mdio_device *mdiodev, int value) in mdio_device_reset() 150 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_probe() 171 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_remove() 186 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_shutdown()
|
D | mdio_bus.c | 44 static int mdiobus_register_gpiod(struct mdio_device *mdiodev) in mdiobus_register_gpiod() 58 static int mdiobus_register_reset(struct mdio_device *mdiodev) in mdiobus_register_reset() 71 int mdiobus_register_device(struct mdio_device *mdiodev) in mdiobus_register_device() 97 int mdiobus_unregister_device(struct mdio_device *mdiodev) in mdiobus_unregister_device() 110 static struct mdio_device *mdiobus_find_device(struct mii_bus *bus, int addr) in mdiobus_find_device() 122 struct mdio_device *mdiodev; in mdiobus_get_phy() 254 struct mdio_device *mdiodev = to_mdio_device(dev); in mdio_bus_device_stat_field_show() 460 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev() 486 struct mdio_device *mdiodev) in of_mdiobus_link_mdiodev() 502 struct mdio_device *mdiodev; in mdiobus_create_device() [all …]
|
D | xilinx_gmii2rgmii.c | 27 struct mdio_device *mdio; 83 static int xgmiitorgmii_probe(struct mdio_device *mdiodev) in xgmiitorgmii_probe()
|
D | Makefile | 6 mdio-bus-y += mdio_bus.o mdio_device.o
|
/linux-6.6.21/drivers/base/regmap/ |
D | regmap-mdio.c | 15 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-6.6.21/drivers/net/pcs/ |
D | pcs-lynx.c | 25 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() 115 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() 210 static void lynx_pcs_link_up_sgmii(struct mdio_device *pcs, in lynx_pcs_link_up_sgmii() 265 static void lynx_pcs_link_up_2500basex(struct mdio_device *pcs, in lynx_pcs_link_up_2500basex() 316 static struct phylink_pcs *lynx_pcs_create(struct mdio_device *mdio) in lynx_pcs_create() 335 struct mdio_device *mdio; in lynx_pcs_create_mdiodev() 368 struct mdio_device *mdio; in lynx_pcs_create_fwnode()
|
/linux-6.6.21/drivers/net/dsa/ |
D | lan9303_mdio.c | 21 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()
|
D | mt7530-mdio.c | 144 mt7530_probe(struct mdio_device *mdiodev) in mt7530_probe() 221 mt7530_remove(struct mdio_device *mdiodev) in mt7530_remove() 245 static void mt7530_shutdown(struct mdio_device *mdiodev) in mt7530_shutdown()
|
D | mv88e6060.c | 302 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()
|
D | dsa_loop.c | 300 static int dsa_loop_drv_probe(struct mdio_device *mdiodev) in dsa_loop_drv_probe() 342 static void dsa_loop_drv_remove(struct mdio_device *mdiodev) in dsa_loop_drv_remove() 356 static void dsa_loop_drv_shutdown(struct mdio_device *mdiodev) in dsa_loop_drv_shutdown()
|
/linux-6.6.21/drivers/net/dsa/xrs700x/ |
D | xrs700x_mdio.c | 27 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-6.6.21/drivers/net/dsa/microchip/ |
D | ksz8863_smi.c | 29 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-6.6.21/drivers/phy/broadcom/ |
D | phy-bcm-ns2-pcie.c | 18 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()
|
D | phy-bcm-ns-usb3.c | 52 struct mdio_device *mdiodev; 184 struct mdio_device *mdiodev = usb3->mdiodev; in bcm_ns_usb3_mdio_phy_write() 189 static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev) in bcm_ns_usb3_mdio_probe()
|
/linux-6.6.21/drivers/net/dsa/realtek/ |
D | realtek-mdio.c | 143 static int realtek_mdio_probe(struct mdio_device *mdiodev) in realtek_mdio_probe() 239 static void realtek_mdio_remove(struct mdio_device *mdiodev) in realtek_mdio_remove() 253 static void realtek_mdio_shutdown(struct mdio_device *mdiodev) in realtek_mdio_shutdown()
|
/linux-6.6.21/drivers/net/dsa/b53/ |
D | b53_mdio.c | 292 static int b53_mdio_probe(struct mdio_device *mdiodev) in b53_mdio_probe() 354 static void b53_mdio_remove(struct mdio_device *mdiodev) in b53_mdio_remove() 364 static void b53_mdio_shutdown(struct mdio_device *mdiodev) in b53_mdio_shutdown()
|
/linux-6.6.21/include/linux/pcs/ |
D | pcs-xpcs.h | 32 struct mdio_device *mdiodev;
|
/linux-6.6.21/drivers/net/mdio/ |
D | of_mdio.c | 55 struct mdio_device *mdiodev; in of_mdiobus_register_device() 251 struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device()
|
/linux-6.6.21/drivers/net/dsa/qca/ |
D | ar9331.c | 1025 static int ar9331_sw_probe(struct mdio_device *mdiodev) in ar9331_sw_probe() 1084 static void ar9331_sw_remove(struct mdio_device *mdiodev) in ar9331_sw_remove() 1104 static void ar9331_sw_shutdown(struct mdio_device *mdiodev) in ar9331_sw_shutdown()
|
/linux-6.6.21/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet.h | 446 struct mdio_device *pcs_phy;
|