Lines Matching full:variant
66 struct samsung_pwm_variant variant; member
107 bits = (fls(divisor) - 1) - pwm.variant.div_base; in samsung_timer_set_divisor()
225 if (pwm.variant.has_tint_cstat) { in samsung_clockevent_resume()
249 if (pwm.variant.has_tint_cstat) { in samsung_clock_event_isr()
284 if (pwm.variant.has_tint_cstat) { in samsung_clockevent_init()
352 pwm.variant.bits, clock_rate); in samsung_clocksource_init()
354 samsung_clocksource.mask = CLOCKSOURCE_MASK(pwm.variant.bits); in samsung_clocksource_init()
362 pwm.tcnt_max = (1UL << pwm.variant.bits) - 1; in samsung_timer_resources()
363 if (pwm.variant.bits == 16) { in samsung_timer_resources()
380 mask = ~pwm.variant.output_mask & ((1 << SAMSUNG_PWM_NUM) - 1); in _samsung_pwm_clocksource_init()
404 const struct samsung_pwm_variant *variant) in samsung_pwm_clocksource_init() argument
407 memcpy(&pwm.variant, variant, sizeof(pwm.variant)); in samsung_pwm_clocksource_init()
419 const struct samsung_pwm_variant *variant) in samsung_pwm_alloc() argument
426 memcpy(&pwm.variant, variant, sizeof(pwm.variant)); in samsung_pwm_alloc()
435 pwm.variant.output_mask |= 1 << val; in samsung_pwm_alloc()