Searched refs:IQS620_PWM_PERIOD_NS (Results 1 – 1 of 1) sorted by relevance
33 #define IQS620_PWM_PERIOD_NS 1000000 macro78 if (state->period < IQS620_PWM_PERIOD_NS) in iqs620_pwm_apply()95 duty_cycle = min_t(u64, state->duty_cycle, IQS620_PWM_PERIOD_NS); in iqs620_pwm_apply()96 duty_scale = duty_cycle * 256 / IQS620_PWM_PERIOD_NS; in iqs620_pwm_apply()129 IQS620_PWM_PERIOD_NS, 256); in iqs620_pwm_get_state()133 state->period = IQS620_PWM_PERIOD_NS; in iqs620_pwm_get_state()