Home
last modified time | relevance | path

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

/drivers/pwm/
Dpwm-img.c56 u32 max_timebase; member
94 unsigned int max_timebase = pwm_chip->data->max_timebase; in img_pwm_config() local
106 if (mul <= max_timebase) { in img_pwm_config()
109 } else if (mul <= max_timebase * 8) { in img_pwm_config()
112 } else if (mul <= max_timebase * 64) { in img_pwm_config()
115 } else if (mul <= max_timebase * 512) { in img_pwm_config()
118 } else if (mul > max_timebase * 512) { in img_pwm_config()
173 .max_timebase = 255,
242 val = (u64)NSEC_PER_SEC * 512 * pwm->data->max_timebase; in img_pwm_probe()