Searched refs:MAX_PWMS (Results 1 – 1 of 1) sorted by relevance
35 #define MAX_PWMS 1024 macro41 static DECLARE_BITMAP(allocated_pwms, MAX_PWMS);54 if (pwm >= MAX_PWMS) in alloc_pwms()60 start = bitmap_find_next_zero_area(allocated_pwms, MAX_PWMS, from, in alloc_pwms()66 if (start + count > MAX_PWMS) in alloc_pwms()334 if (pwm < 0 || pwm >= MAX_PWMS) in pwm_request()