Searched refs:PCA9685_MAXCHAN (Results 1 – 1 of 1) sorted by relevance
57 #define PCA9685_MAXCHAN 0x10 macro82 DECLARE_BITMAP(pwms_enabled, PCA9685_MAXCHAN + 1);85 DECLARE_BITMAP(pwms_inuse, PCA9685_MAXCHAN + 1);179 if (WARN_ON(channel >= PCA9685_MAXCHAN)) { in pca9685_pwm_get_duty()216 if (pwm_idx >= PCA9685_MAXCHAN) { in pca9685_pwm_test_and_set_inuse()221 if (!bitmap_empty(pca->pwms_inuse, PCA9685_MAXCHAN)) { in pca9685_pwm_test_and_set_inuse()230 if (test_bit(PCA9685_MAXCHAN, pca->pwms_inuse)) { in pca9685_pwm_test_and_set_inuse()323 pca->gpio.ngpio = PCA9685_MAXCHAN; in pca9685_pwm_gpio_probe()454 if (pwm->hwpwm >= PCA9685_MAXCHAN) { in pca9685_pwm_get_state()478 if (pwm->hwpwm < PCA9685_MAXCHAN) { in pca9685_pwm_request()[all …]