Searched refs:mdio_read (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.6.0/drivers/ethernet/ |
D | eth_numaker.c | 77 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/ |
D | mdio_shell.c | 76 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/ |
D | mdio.h | 111 __syscall int mdio_read(const struct device *dev, uint8_t prtad, uint8_t regad,
|
/Zephyr-Core-3.6.0/drivers/ethernet/phy/ |
D | phy_adin2111.c | 98 return mdio_read(cfg->mdio, cfg->phy_addr, reg, val); in phy_adin2111_c22_read()
|
D | phy_mii.c | 52 return mdio_read(cfg->mdio, cfg->phy_addr, reg_addr, value); in reg_read()
|
D | phy_microchip_ksz8081.c | 68 ret = mdio_read(config->mdio_dev, config->addr, reg_addr, (uint16_t *)data); in phy_mc_ksz8081_read()
|
D | phy_tja1103.c | 83 return mdio_read(cfg->mdio, cfg->phy_addr, reg, val); in phy_tja1103_c22_read()
|