Home
last modified time | relevance | path

Searched refs:mdio_read (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.6.0/drivers/ethernet/
Deth_numaker.c77 static int mdio_read(synopGMACdevice *gmacdev, uint32_t addr, uint32_t reg) in mdio_read() function
88 mdio_read(gmacdev, eth_phy_addr, MII_BMSR); in numaker_eth_link_ok()
89 if (mdio_read(gmacdev, eth_phy_addr, MII_BMSR) & BMSR_LSTATUS) { in numaker_eth_link_ok()
104 ret = WAIT_FOR(!(mdio_read(gmacdev, eth_phy_addr, MII_BMCR) & BMCR_RESET), in reset_phy()
111 LOG_INF("PHY ID 1:0x%x", mdio_read(gmacdev, eth_phy_addr, MII_PHYSID1)); in reset_phy()
112 LOG_INF("PHY ID 2:0x%x", mdio_read(gmacdev, eth_phy_addr, MII_PHYSID2)); in reset_phy()
125 reg = mdio_read(gmacdev, eth_phy_addr, MII_BMCR); in reset_phy()
128 ret = WAIT_FOR((mdio_read(gmacdev, eth_phy_addr, MII_BMSR) & in reset_phy()
138 reg = mdio_read(gmacdev, eth_phy_addr, MII_LPA); in reset_phy()
/Zephyr-Core-3.6.0/drivers/mdio/
Dmdio_shell.c76 if (mdio_read(dev, i, reg_addr, &data) >= 0 && in cmd_mdio_scan()
143 if (mdio_read(dev, port_addr, reg_addr, &data) < 0) { in cmd_mdio_read()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dmdio.h111 __syscall int mdio_read(const struct device *dev, uint8_t prtad, uint8_t regad,
/Zephyr-Core-3.6.0/drivers/ethernet/phy/
Dphy_adin2111.c98 return mdio_read(cfg->mdio, cfg->phy_addr, reg, val); in phy_adin2111_c22_read()
Dphy_mii.c52 return mdio_read(cfg->mdio, cfg->phy_addr, reg_addr, value); in reg_read()
Dphy_microchip_ksz8081.c68 ret = mdio_read(config->mdio_dev, config->addr, reg_addr, (uint16_t *)data); in phy_mc_ksz8081_read()
Dphy_tja1103.c83 return mdio_read(cfg->mdio, cfg->phy_addr, reg, val); in phy_tja1103_c22_read()