Searched refs:time_out_cnt (Results 1 – 2 of 2) sorted by relevance
147 uint32_t time_out_cnt; in spi_numaker_txrx() local181 time_out_cnt = SystemCoreClock; /* 1 second time-out */ in spi_numaker_txrx()183 if (--time_out_cnt == 0) { in spi_numaker_txrx()193 time_out_cnt = SystemCoreClock; /* 1 second time-out */ in spi_numaker_txrx()195 if (--time_out_cnt == 0) { in spi_numaker_txrx()
265 uint32_t time_out_cnt; in pwm_numaker_get_cap_cycle() local277 time_out_cnt = NUMAKER_SYSCLK_FREQ / 2; /* 500 ms time-out */ in pwm_numaker_get_cap_cycle()291 if (--time_out_cnt == 0) { in pwm_numaker_get_cap_cycle()