Home
last modified time | relevance | path

Searched refs:mii_bus (Results 1 – 12 of 12) sorted by relevance

/include/linux/
Dof_mdio.h17 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np);
18 int devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio,
33 struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np);
37 int of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy,
68 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register()
79 struct mii_bus *mdio, in devm_of_mdiobus_register()
117 static inline struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np) in of_mdio_find_bus()
139 static inline int of_mdiobus_phy_device_register(struct mii_bus *mdio, in of_mdiobus_phy_device_register()
Dmdio.h20 struct mii_bus;
37 struct mii_bus *bus;
94 struct mdio_device *mdio_device_create(struct mii_bus *bus, int addr);
328 int __mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
329 int __mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
330 int __mdiobus_modify_changed(struct mii_bus *bus, int addr, u32 regnum,
333 int mdiobus_read(struct mii_bus *bus, int addr, u32 regnum);
334 int mdiobus_read_nested(struct mii_bus *bus, int addr, u32 regnum);
335 int mdiobus_write(struct mii_bus *bus, int addr, u32 regnum, u16 val);
336 int mdiobus_write_nested(struct mii_bus *bus, int addr, u32 regnum, u16 val);
[all …]
Dmdio-bitbang.h39 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
42 void free_mdio_bitbang(struct mii_bus *bus);
Dmdio-mux.h28 struct mii_bus *mux_bus);
Dphy.h302 struct mii_bus { struct
308 int (*read)(struct mii_bus *bus, int addr, int regnum); argument
310 int (*write)(struct mii_bus *bus, int addr, int regnum, u16 val); argument
312 int (*reset)(struct mii_bus *bus); argument
372 #define to_mii_bus(d) container_of(d, struct mii_bus, dev) argument
374 struct mii_bus *mdiobus_alloc_size(size_t size);
382 static inline struct mii_bus *mdiobus_alloc(void) in mdiobus_alloc()
387 int __mdiobus_register(struct mii_bus *bus, struct module *owner);
388 int __devm_mdiobus_register(struct device *dev, struct mii_bus *bus,
394 void mdiobus_unregister(struct mii_bus *bus);
[all …]
/include/linux/fsl/
Denetc_mdio.h40 int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum);
41 int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, u16 value);
46 static inline int enetc_mdio_read(struct mii_bus *bus, int phy_id, int regnum) in enetc_mdio_read()
48 static inline int enetc_mdio_write(struct mii_bus *bus, int phy_id, int regnum, in enetc_mdio_write()
/include/linux/mdio/
Dmdio-i2c.h12 struct mii_bus;
14 struct mii_bus *mdio_i2c_alloc(struct device *parent, struct i2c_adapter *i2c);
Dmdio-xgene.h91 struct mii_bus *mdio_bus;
126 int xgene_mdio_rgmii_read(struct mii_bus *bus, int phy_id, int reg);
127 int xgene_mdio_rgmii_write(struct mii_bus *bus, int phy_id, int reg, u16 data);
128 struct phy_device *xgene_enet_phy_register(struct mii_bus *bus, int phy_addr);
/include/linux/dsa/
Dloop.h34 struct mii_bus *bus;
/include/linux/pcs/
Dpcs-xpcs.h15 struct mii_bus *bus;
/include/trace/events/
Dmdio.h12 TP_PROTO(struct mii_bus *bus, char read,
/include/net/
Ddsa.h288 struct mii_bus *slave_mii_bus;