Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-img.c58 u32 max_timebase; member
97 unsigned int max_timebase = imgchip->data->max_timebase; in img_pwm_config() local
110 if (mul <= max_timebase) { in img_pwm_config()
113 } else if (mul <= max_timebase * 8) { in img_pwm_config()
116 } else if (mul <= max_timebase * 64) { in img_pwm_config()
119 } else if (mul <= max_timebase * 512) { in img_pwm_config()
215 .max_timebase = 255,
317 val = (u64)NSEC_PER_SEC * 512 * imgchip->data->max_timebase; in img_pwm_probe()