Searched refs:rdval (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/ethernet/ |
D | phy_cyclonev.c | 85 uint16_t *rdval, struct eth_cyclonev_priv *p); 89 uint16_t *rdval, struct eth_cyclonev_priv *p); 142 int alt_eth_phy_read_register(uint16_t emac_instance, uint16_t phy_reg, uint16_t *rdval, in alt_eth_phy_read_register() argument 183 *rdval = sys_read32(EMAC_GMAC_GMII_DATA_ADDR(p->base_addr)); in alt_eth_phy_read_register() 204 int alt_eth_phy_read_register_extended(uint16_t emac_instance, uint16_t phy_reg, uint16_t *rdval, in alt_eth_phy_read_register_extended() argument 216 rc = alt_eth_phy_read_register(emac_instance, MII_KSZPHY_EXTREG_READ, rdval, p); in alt_eth_phy_read_register_extended() 225 uint16_t rdval; in alt_eth_phy_config() local 244 rc = alt_eth_phy_read_register(instance, PHY_BSR, &rdval, p); in alt_eth_phy_config() 245 if (((rdval & PHY_AUTOCAP) == 0) || (rc == -1)) { in alt_eth_phy_config() 252 rc = alt_eth_phy_read_register(instance, PHY_AUTON, &rdval, p); in alt_eth_phy_config() [all …]
|