Home
last modified time | relevance | path

Searched refs:temp_phy (Results 1 – 2 of 2) sorted by relevance

/hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/
Dgd32f4xx_enet.c1639 uint16_t temp_phy = 0U; in enet_phyloopback_enable() local
1643 enet_phy_write_read(ENET_PHY_READ, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable()
1646 temp_phy |= PHY_LOOPBACK; in enet_phyloopback_enable()
1649 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable()
1662 uint16_t temp_phy = 0U; in enet_phyloopback_disable() local
1666 enet_phy_write_read(ENET_PHY_READ, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable()
1669 temp_phy &= (uint16_t)~PHY_LOOPBACK; in enet_phyloopback_disable()
1672 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable()
/hal_gigadevice-latest/gd32e50x/standard_peripheral/source/
Dgd32e50x_enet.c1648 uint16_t temp_phy = 0U; in enet_phyloopback_enable() local
1652 enet_phy_write_read(ENET_PHY_READ, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable()
1655 temp_phy |= PHY_LOOPBACK; in enet_phyloopback_enable()
1658 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable()
1671 uint16_t temp_phy = 0U; in enet_phyloopback_disable() local
1675 enet_phy_write_read(ENET_PHY_READ, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable()
1678 temp_phy &= (uint16_t)~PHY_LOOPBACK; in enet_phyloopback_disable()
1681 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable()