Searched refs:duty_cycle (Results 1 – 4 of 4) sorted by relevance
71 u64 duty_cycle; member138 pwm->state.duty_cycle = duty; in pwm_set_duty_cycle()147 return state.duty_cycle; in pwm_get_duty_cycle()205 state->duty_cycle = 0; in pwm_init_state()227 return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, in pwm_get_relative_duty_cycle()250 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, in pwm_set_relative_duty_cycle() argument253 if (!scale || duty_cycle > scale) in pwm_set_relative_duty_cycle()256 state->duty_cycle = DIV_ROUND_CLOSEST_ULL((u64)duty_cycle * in pwm_set_relative_duty_cycle()337 u64 duty_cycle; member385 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()[all …]
30 unsigned int duty_cycle; member
217 int (*s_tx_duty_cycle)(struct rc_dev *dev, u32 duty_cycle);304 u8 duty_cycle; member
551 unsigned int duty_cycle; member