Searched refs:IQS620_PWM_PERIOD_NS (Results 1 – 1 of 1) sorted by relevance
33 #define IQS620_PWM_PERIOD_NS 1000000 macro73 if (state->period < IQS620_PWM_PERIOD_NS) in iqs620_pwm_apply()90 duty_cycle = min_t(u64, state->duty_cycle, IQS620_PWM_PERIOD_NS); in iqs620_pwm_apply()91 duty_scale = duty_cycle * 256 / IQS620_PWM_PERIOD_NS; in iqs620_pwm_apply()124 IQS620_PWM_PERIOD_NS, 256); in iqs620_pwm_get_state()128 state->period = IQS620_PWM_PERIOD_NS; in iqs620_pwm_get_state()
Completed in 8 milliseconds