Home
last modified time | relevance | path

Searched refs:duty_cycle (Results 1 – 5 of 5) sorted by relevance

/include/trace/events/
Dpwm.h20 __field(u64, duty_cycle)
28 __entry->duty_cycle = state->duty_cycle;
34 __entry->pwm, __entry->period, __entry->duty_cycle,
/include/linux/
Dpwm.h65 u64 duty_cycle; member
141 pwm->state.duty_cycle = duty; in pwm_set_duty_cycle()
150 return state.duty_cycle; in pwm_get_duty_cycle()
198 state->duty_cycle = 0; in pwm_init_state()
221 return DIV_ROUND_CLOSEST_ULL((u64)state->duty_cycle * scale, in pwm_get_relative_duty_cycle()
244 pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, in pwm_set_relative_duty_cycle() argument
247 if (!scale || duty_cycle > scale) in pwm_set_relative_duty_cycle()
250 state->duty_cycle = DIV_ROUND_CLOSEST_ULL((u64)duty_cycle * in pwm_set_relative_duty_cycle()
329 unsigned int duty_cycle; member
359 if (state.duty_cycle == duty_ns && state.period == period_ns) in pwm_config()
[all …]
/include/media/i2c/
Dir-kbd-i2c.h30 unsigned int duty_cycle; member
/include/media/
Drc-core.h217 int (*s_tx_duty_cycle)(struct rc_dev *dev, u32 duty_cycle);
304 u8 duty_cycle; member
Dv4l2-subdev.h570 unsigned int duty_cycle; member