Searched refs:duty_cycle (Results 1 – 5 of 5) sorted by relevance
20 __field(u64, duty_cycle)28 __entry->duty_cycle = state->duty_cycle;34 __entry->pwm, __entry->period, __entry->duty_cycle,
65 u64 duty_cycle; member141 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() argument247 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; member359 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
570 unsigned int duty_cycle; member