Searched refs:duty_cycle (Results 1 – 5 of 5) sorted by relevance
91 u64 duty_cycle; member158 return state.duty_cycle; in pwm_get_duty_cycle()206 state->duty_cycle = 0; in pwm_init_state()231 return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, in pwm_get_relative_duty_cycle()254 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, in pwm_set_relative_duty_cycle() argument257 if (!scale || duty_cycle > scale) in pwm_set_relative_duty_cycle()260 state->duty_cycle = DIV_ROUND_CLOSEST_ULL((u64)duty_cycle * in pwm_set_relative_duty_cycle()274 unsigned int duty_cycle; member420 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()423 state.duty_cycle = duty_ns; in pwm_config()
141 __field(u64, duty_cycle)149 __entry->duty_cycle = state->duty_cycle;156 __entry->period, __entry->duty_cycle,
30 unsigned int duty_cycle; member
209 int (*s_tx_duty_cycle)(struct rc_dev *dev, u32 duty_cycle);296 u8 duty_cycle; member
603 unsigned int duty_cycle; member
Completed in 16 milliseconds