Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/pwm/
Dpwm-lpss.c61 unsigned long long base_unit, freq = NSECS_PER_SEC; in pwm_lpss_config() local
67 base_unit = freq * 65536; in pwm_lpss_config()
73 do_div(base_unit, c); in pwm_lpss_config()
74 base_unit += PWM_DIVISION_CORRECTION; in pwm_lpss_config()
75 if (base_unit > PWM_LIMIT) in pwm_lpss_config()
84 ctrl |= (u16) base_unit << PWM_BASE_UNIT_SHIFT; in pwm_lpss_config()