Searched refs:timer_nr (Results 1 – 1 of 1) sorted by relevance
145 struct cs5535_mfgpt_timer *cs5535_mfgpt_alloc_timer(int timer_nr, int domain) in cs5535_mfgpt_alloc_timer() argument161 if (timer_nr >= max) { in cs5535_mfgpt_alloc_timer()168 if (timer_nr < 0) { in cs5535_mfgpt_alloc_timer()174 timer_nr = t < max ? (int) t : -1; in cs5535_mfgpt_alloc_timer()177 if (!test_bit(timer_nr, mfgpt->avail)) in cs5535_mfgpt_alloc_timer()178 timer_nr = -1; in cs5535_mfgpt_alloc_timer()181 if (timer_nr >= 0) in cs5535_mfgpt_alloc_timer()183 __clear_bit(timer_nr, mfgpt->avail); in cs5535_mfgpt_alloc_timer()186 if (timer_nr < 0) in cs5535_mfgpt_alloc_timer()193 __set_bit(timer_nr, mfgpt->avail); in cs5535_mfgpt_alloc_timer()[all …]