Home
last modified time | relevance | path

Searched refs:PCA9685_OSC_CLOCK_MHZ (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/pwm/
H A Dpwm-pca9685.c54 #define PCA9685_OSC_CLOCK_MHZ 25 /* Internal oscillator with 25 MHz */ macro
373 prescale = DIV_ROUND_CLOSEST_ULL(PCA9685_OSC_CLOCK_MHZ * state->period, in __pca9685_pwm_apply()
444 * PCA9685_OSC_CLOCK_MHZ is 25, i.e. an integer divider of 1000. in pca9685_pwm_get_state()
448 state->period = (PCA9685_COUNTER_RANGE * 1000 / PCA9685_OSC_CLOCK_MHZ) * in pca9685_pwm_get_state()
/kernel/linux/linux-5.10/drivers/pwm/
H A Dpwm-pca9685.c55 #define PCA9685_OSC_CLOCK_MHZ 25 /* Internal oscillator with 25 MHz */ macro
258 prescale = DIV_ROUND_CLOSEST(PCA9685_OSC_CLOCK_MHZ * period_ns, in pca9685_pwm_config()

Completed in 4 milliseconds