Home
last modified time | relevance | path

Searched refs:MAX_PWMS (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/pwm/
Dpwm-lpss.c35 #define MAX_PWMS 4 macro
41 u32 saved_ctrl[MAX_PWMS];
183 if (WARN_ON(info->npwm > MAX_PWMS)) in pwm_lpss_probe()
Dcore.c35 #define MAX_PWMS 1024 macro
41 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()
394 if (pwm < 0 || pwm >= MAX_PWMS) in pwm_request()