Home
last modified time | relevance | path

Searched refs:MAX_PWMS (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-lpss.h16 #define MAX_PWMS 4 macro
H A Dcore.c26 #define MAX_PWMS 1024 macro
32 static DECLARE_BITMAP(allocated_pwms, MAX_PWMS);
45 if (pwm >= MAX_PWMS) in alloc_pwms()
51 start = bitmap_find_next_zero_area(allocated_pwms, MAX_PWMS, from, in alloc_pwms()
57 if (start + count > MAX_PWMS) in alloc_pwms()
401 if (pwm < 0 || pwm >= MAX_PWMS) in pwm_request()
H A Dpwm-lpss.c213 if (WARN_ON(info->npwm > MAX_PWMS)) in pwm_lpss_probe()
/kernel/linux/linux-6.6/drivers/pwm/
H A Dcore.c26 #define MAX_PWMS 1024 macro
35 static DECLARE_BITMAP(allocated_pwms, MAX_PWMS);
42 start = bitmap_find_next_zero_area(allocated_pwms, MAX_PWMS, 0, in alloc_pwms()
45 if (start + count > MAX_PWMS) in alloc_pwms()

Completed in 4 milliseconds