Lines Matching refs:counter
33 uint32_t counter = PHY_TIMEOUT_COUNT; in PHY_Init() local
47 while ((idReg != PHY_CONTROL_ID1) && (counter != 0U)) in PHY_Init()
50 counter--; in PHY_Init()
53 if (counter == 0U) in PHY_Init()
59 counter = PHY_TIMEOUT_COUNT; in PHY_Init()
88 while (counter-- != 0U) in PHY_Init()
105 if (counter == 0U) in PHY_Init()
119 uint32_t counter; in PHY_Write() local
128 for (counter = PHY_TIMEOUT_COUNT; counter > 0U; counter--) in PHY_Write()
137 if (counter == 0U) in PHY_Write()
152 uint32_t counter; in PHY_Read() local
161 for (counter = PHY_TIMEOUT_COUNT; counter > 0U; counter--) in PHY_Read()
170 if (counter == 0U) in PHY_Read()