Lines Matching full:duty
13 * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty-
16 * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty-
51 * @duty_cycle: PWM duty cycle (in nanoseconds)
132 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty) in pwm_set_duty_cycle() argument
135 pwm->state.duty_cycle = duty; in pwm_set_duty_cycle()
197 * pwm_get_relative_duty_cycle() - Get a relative duty cycle value
198 * @state: PWM state to extract the duty cycle from
199 * @scale: target scale of the relative duty cycle
201 * This functions converts the absolute duty cycle stored in @state (expressed
207 * duty = pwm_get_relative_duty_cycle(&state, 100);
220 * pwm_set_relative_duty_cycle() - Set a relative duty cycle value
222 * @duty_cycle: relative duty cycle value
225 * This functions converts a relative into an absolute duty cycle (expressed
228 * For example if you want to configure a 50% duty cycle, call:
254 * @duty_cycle: duty cycle of the PWM signal (in nanoseconds)