Home
last modified time | relevance | path

Searched refs:mii_bus (Results 101 – 125 of 1132) sorted by relevance

12345678910>>...46

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_mdio.c62 static int axienet_mdio_read(struct mii_bus *bus, int phy_id, int reg) in axienet_mdio_read()
112 static int axienet_mdio_write(struct mii_bus *bus, int phy_id, int reg, in axienet_mdio_write()
253 struct mii_bus *bus; in axienet_mdio_setup()
272 lp->mii_bus = bus; in axienet_mdio_setup()
279 lp->mii_bus = NULL; in axienet_mdio_setup()
294 mdiobus_unregister(lp->mii_bus); in axienet_mdio_teardown()
295 mdiobus_free(lp->mii_bus); in axienet_mdio_teardown()
296 lp->mii_bus = NULL; in axienet_mdio_teardown()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_mdio.c62 static int axienet_mdio_read(struct mii_bus *bus, int phy_id, int reg) in axienet_mdio_read()
112 static int axienet_mdio_write(struct mii_bus *bus, int phy_id, int reg, in axienet_mdio_write()
253 struct mii_bus *bus; in axienet_mdio_setup()
272 lp->mii_bus = bus; in axienet_mdio_setup()
279 lp->mii_bus = NULL; in axienet_mdio_setup()
294 mdiobus_unregister(lp->mii_bus); in axienet_mdio_teardown()
295 mdiobus_free(lp->mii_bus); in axienet_mdio_teardown()
296 lp->mii_bus = NULL; in axienet_mdio_teardown()
H A Dll_temac_mdio.c24 static int temac_mdio_read(struct mii_bus *bus, int phy_id, int reg) in temac_mdio_read()
44 static int temac_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) in temac_mdio_write()
67 struct mii_bus *bus; in temac_mdio_setup()
113 lp->mii_bus = bus; in temac_mdio_setup()
126 mdiobus_unregister(lp->mii_bus); in temac_mdio_teardown()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c90 snprintf(bus_id, sizeof(bus_id), PHY_ID_FMT, bgmac->mii_bus->id, in bcma_phy_connect()
116 struct mii_bus *mii_bus; in bgmac_probe() local
187 mii_bus = bcma_mdio_mii_register(bgmac); in bgmac_probe()
188 if (IS_ERR(mii_bus)) { in bgmac_probe()
189 err = PTR_ERR(mii_bus); in bgmac_probe()
192 bgmac->mii_bus = mii_bus; in bgmac_probe()
194 phydev = mdiobus_get_phy(bgmac->mii_bus, bgmac->phyaddr); in bgmac_probe()
298 if (bgmac->mii_bus) in bgmac_probe()
310 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_probe()
321 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_remove()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c90 snprintf(bus_id, sizeof(bus_id), PHY_ID_FMT, bgmac->mii_bus->id, in bcma_phy_connect()
116 struct mii_bus *mii_bus; in bgmac_probe() local
187 mii_bus = bcma_mdio_mii_register(bgmac); in bgmac_probe()
188 if (IS_ERR(mii_bus)) { in bgmac_probe()
189 err = PTR_ERR(mii_bus); in bgmac_probe()
192 bgmac->mii_bus = mii_bus; in bgmac_probe()
194 phydev = mdiobus_get_phy(bgmac->mii_bus, bgmac->phyaddr); in bgmac_probe()
298 if (bgmac->mii_bus) in bgmac_probe()
310 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_probe()
321 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_remove()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/broadcom/
H A Dbgmac-bcma.c90 snprintf(bus_id, sizeof(bus_id), PHY_ID_FMT, bgmac->mii_bus->id, in bcma_phy_connect()
116 struct mii_bus *mii_bus; in bgmac_probe() local
187 mii_bus = bcma_mdio_mii_register(bgmac); in bgmac_probe()
188 if (IS_ERR(mii_bus)) { in bgmac_probe()
189 err = PTR_ERR(mii_bus); in bgmac_probe()
192 bgmac->mii_bus = mii_bus; in bgmac_probe()
194 phydev = mdiobus_get_phy(bgmac->mii_bus, bgmac->phyaddr); in bgmac_probe()
298 if (bgmac->mii_bus) in bgmac_probe()
310 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_probe()
321 bcma_mdio_mii_unregister(bgmac->mii_bus); in bgmac_remove()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/mdio/
H A Dmdio-mux-bcm-iproc.c53 struct mii_bus *mii_bus; member
134 static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read()
146 static int iproc_mdiomux_write(struct mii_bus *bus, in iproc_mdiomux_write()
181 struct mii_bus *bus; in mdio_mux_iproc_probe()
203 md->mii_bus = devm_mdiobus_alloc(&pdev->dev); in mdio_mux_iproc_probe()
204 if (!md->mii_bus) { in mdio_mux_iproc_probe()
222 bus = md->mii_bus; in mdio_mux_iproc_probe()
241 &md->mux_handle, md, md->mii_bus); in mdio_mux_iproc_probe()
264 mdiobus_unregister(md->mii_bus); in mdio_mux_iproc_remove()
H A Dmdio-mscc-miim.c53 static int mscc_miim_wait_ready(struct mii_bus *bus) in mscc_miim_wait_ready()
63 static int mscc_miim_wait_pending(struct mii_bus *bus) in mscc_miim_wait_pending()
73 static int mscc_miim_read(struct mii_bus *bus, int mii_id, int regnum) in mscc_miim_read()
102 static int mscc_miim_write(struct mii_bus *bus, int mii_id, in mscc_miim_write()
122 static int mscc_miim_reset(struct mii_bus *bus) in mscc_miim_reset()
138 struct mii_bus *bus; in mscc_miim_probe()
186 struct mii_bus *bus = platform_get_drvdata(pdev); in mscc_miim_remove()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/mdio/
H A Dmdio-mux-bcm-iproc.c53 struct mii_bus *mii_bus; member
134 static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read()
146 static int iproc_mdiomux_write(struct mii_bus *bus, in iproc_mdiomux_write()
181 struct mii_bus *bus; in mdio_mux_iproc_probe()
203 md->mii_bus = devm_mdiobus_alloc(&pdev->dev); in mdio_mux_iproc_probe()
204 if (!md->mii_bus) { in mdio_mux_iproc_probe()
222 bus = md->mii_bus; in mdio_mux_iproc_probe()
241 &md->mux_handle, md, md->mii_bus); in mdio_mux_iproc_probe()
264 mdiobus_unregister(md->mii_bus); in mdio_mux_iproc_remove()
H A Dmdio-mscc-miim.c53 static int mscc_miim_wait_ready(struct mii_bus *bus) in mscc_miim_wait_ready()
63 static int mscc_miim_wait_pending(struct mii_bus *bus) in mscc_miim_wait_pending()
73 static int mscc_miim_read(struct mii_bus *bus, int mii_id, int regnum) in mscc_miim_read()
102 static int mscc_miim_write(struct mii_bus *bus, int mii_id, in mscc_miim_write()
122 static int mscc_miim_reset(struct mii_bus *bus) in mscc_miim_reset()
138 struct mii_bus *bus; in mscc_miim_probe()
186 struct mii_bus *bus = platform_get_drvdata(pdev); in mscc_miim_remove()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/mdio/
H A Dmdio-mux-bcm-iproc.c53 struct mii_bus *mii_bus; member
134 static int iproc_mdiomux_read(struct mii_bus *bus, int phyid, int reg) in iproc_mdiomux_read()
146 static int iproc_mdiomux_write(struct mii_bus *bus, in iproc_mdiomux_write()
181 struct mii_bus *bus; in mdio_mux_iproc_probe()
203 md->mii_bus = devm_mdiobus_alloc(&pdev->dev); in mdio_mux_iproc_probe()
204 if (!md->mii_bus) { in mdio_mux_iproc_probe()
222 bus = md->mii_bus; in mdio_mux_iproc_probe()
241 &md->mux_handle, md, md->mii_bus); in mdio_mux_iproc_probe()
264 mdiobus_unregister(md->mii_bus); in mdio_mux_iproc_remove()
H A Dmdio-mscc-miim.c53 static int mscc_miim_wait_ready(struct mii_bus *bus) in mscc_miim_wait_ready()
63 static int mscc_miim_wait_pending(struct mii_bus *bus) in mscc_miim_wait_pending()
73 static int mscc_miim_read(struct mii_bus *bus, int mii_id, int regnum) in mscc_miim_read()
102 static int mscc_miim_write(struct mii_bus *bus, int mii_id, in mscc_miim_write()
122 static int mscc_miim_reset(struct mii_bus *bus) in mscc_miim_reset()
138 struct mii_bus *bus; in mscc_miim_probe()
186 struct mii_bus *bus = platform_get_drvdata(pdev); in mscc_miim_remove()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/
H A Dmdio-bitbang.h41 int mdiobb_read(struct mii_bus *bus, int phy, int reg);
42 int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val);
45 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
48 void free_mdio_bitbang(struct mii_bus *bus);
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/
H A Dmdio-bitbang.h41 int mdiobb_read(struct mii_bus *bus, int phy, int reg);
42 int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val);
45 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
48 void free_mdio_bitbang(struct mii_bus *bus);
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/
H A Dmdio-bitbang.h41 int mdiobb_read(struct mii_bus *bus, int phy, int reg);
42 int mdiobb_write(struct mii_bus *bus, int phy, int reg, u16 val);
45 struct mii_bus *alloc_mdio_bitbang(struct mdiobb_ctrl *ctrl);
48 void free_mdio_bitbang(struct mii_bus *bus);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/phy/
H A Dmdio_devres.c9 struct mii_bus *mii;
30 struct mii_bus *devm_mdiobus_alloc_size(struct device *dev, int sizeof_priv) in devm_mdiobus_alloc_size()
60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
73 int __devm_mdiobus_register(struct device *dev, struct mii_bus *bus, in __devm_mdiobus_register()
106 int devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio, in devm_of_mdiobus_register()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/phy/
H A Dmdio_devres.c9 struct mii_bus *mii;
30 struct mii_bus *devm_mdiobus_alloc_size(struct device *dev, int sizeof_priv) in devm_mdiobus_alloc_size()
60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
73 int __devm_mdiobus_register(struct device *dev, struct mii_bus *bus, in __devm_mdiobus_register()
106 int devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio, in devm_of_mdiobus_register()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/phy/
H A Dmdio_devres.c9 struct mii_bus *mii;
30 struct mii_bus *devm_mdiobus_alloc_size(struct device *dev, int sizeof_priv) in devm_mdiobus_alloc_size()
60 struct mii_bus *mii = match_data; in mdiobus_devres_match()
73 int __devm_mdiobus_register(struct device *dev, struct mii_bus *bus, in __devm_mdiobus_register()
106 int devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio, in devm_of_mdiobus_register()
/dports/multimedia/libv4l/linux-5.13-rc2/include/linux/fsl/
H A 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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/linux/fsl/
H A 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()
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/linux/fsl/
H A 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()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/dsa/mv88e6xxx/
H A Dphy.h17 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
19 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
21 int mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
23 int mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/dsa/mv88e6xxx/
H A Dphy.h17 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
19 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
21 int mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
23 int mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/dsa/mv88e6xxx/
H A Dphy.h17 int mv88e6165_phy_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
19 int mv88e6165_phy_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
21 int mv88e6185_phy_ppu_read(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
23 int mv88e6185_phy_ppu_write(struct mv88e6xxx_chip *chip, struct mii_bus *bus,
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/xilinx/
H A Dll_temac_mdio.c24 static int temac_mdio_read(struct mii_bus *bus, int phy_id, int reg) in temac_mdio_read()
44 static int temac_mdio_write(struct mii_bus *bus, int phy_id, int reg, u16 val) in temac_mdio_write()
67 struct mii_bus *bus; in temac_mdio_setup()
113 lp->mii_bus = bus; in temac_mdio_setup()
126 mdiobus_unregister(lp->mii_bus); in temac_mdio_teardown()

12345678910>>...46