Searched refs:phy_state (Results 1 – 2 of 2) sorted by relevance
| /hal_gigadevice-latest/gd32f4xx/standard_peripheral/source/ |
| D | gd32f4xx_enet.c | 343 ErrStatus phy_state = ERROR, enet_state = ERROR; in enet_init() local 374 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &phy_value); in enet_init() 375 if(!phy_state) { in enet_init() 410 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &phy_value); in enet_init() 411 if(!phy_state) { in enet_init() 1640 ErrStatus phy_state = ERROR; in enet_phyloopback_enable() local 1649 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable() 1651 return phy_state; in enet_phyloopback_enable() 1663 ErrStatus phy_state = ERROR; in enet_phyloopback_disable() local 1672 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable() [all …]
|
| /hal_gigadevice-latest/gd32e50x/standard_peripheral/source/ |
| D | gd32e50x_enet.c | 342 ErrStatus phy_state= ERROR, enet_state = ERROR; in enet_init() local 373 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &phy_value); in enet_init() 374 if(!phy_state){ in enet_init() 409 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &phy_value); in enet_init() 410 if(!phy_state){ in enet_init() 1649 ErrStatus phy_state = ERROR; in enet_phyloopback_enable() local 1658 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_enable() 1660 return phy_state; in enet_phyloopback_enable() 1672 ErrStatus phy_state = ERROR; in enet_phyloopback_disable() local 1681 phy_state = enet_phy_write_read(ENET_PHY_WRITE, PHY_ADDRESS, PHY_REG_BCR, &temp_phy); in enet_phyloopback_disable() [all …]
|