Searched refs:delay_cnt (Results 1 – 3 of 3) sorted by relevance
107 u32 val, delay_cnt = 0; in sprd_wdt_load_value() local133 } while (delay_cnt++ < SPRD_WDT_LOAD_TIMEOUT); in sprd_wdt_load_value()135 if (delay_cnt >= SPRD_WDT_LOAD_TIMEOUT) in sprd_wdt_load_value()
156 int delay_cnt = 0; in ssp_check_lines() local163 if (data->shut_down || delay_cnt++ > 500) { in ssp_check_lines()
1642 unsigned int delay_cnt; in tg3_wait_for_event_ack() local1653 delay_cnt = jiffies_to_usecs(time_remain); in tg3_wait_for_event_ack()1654 if (delay_cnt > TG3_FW_EVENT_TIMEOUT_USEC) in tg3_wait_for_event_ack()1655 delay_cnt = TG3_FW_EVENT_TIMEOUT_USEC; in tg3_wait_for_event_ack()1656 delay_cnt = (delay_cnt >> 3) + 1; in tg3_wait_for_event_ack()1658 for (i = 0; i < delay_cnt; i++) { in tg3_wait_for_event_ack()