Lines Matching defs:duty
16 * @PWM_POLARITY_NORMAL: a high signal for the duration of the duty-
19 * @PWM_POLARITY_INVERSED: a low signal for the duration of the duty-
54 * @duty_cycle: PWM duty cycle (in nanoseconds)
128 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty)
131 pwm->state.duty_cycle = duty;
191 * pwm_get_relative_duty_cycle() - Get a relative duty cycle value
192 * @state: PWM state to extract the duty cycle from
193 * @scale: target scale of the relative duty cycle
195 * This functions converts the absolute duty cycle stored in @state (expressed
201 * duty = pwm_get_relative_duty_cycle(&state, 100);
213 * pwm_set_relative_duty_cycle() - Set a relative duty cycle value
215 * @duty_cycle: relative duty cycle value
218 * This functions converts a relative into an absolute duty cycle (expressed
221 * For example if you want to configure a 50% duty cycle, call:
251 * @config: configure duty cycles and period length for this PWM
299 * @duty_cycle: duty cycle of the PWM signal (in nanoseconds)