Lines Matching full: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)
135 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty) in pwm_set_duty_cycle() argument
138 pwm->state.duty_cycle = duty; in pwm_set_duty_cycle()
200 * pwm_get_relative_duty_cycle() - Get a relative duty cycle value
201 * @state: PWM state to extract the duty cycle from
202 * @scale: target scale of the relative duty cycle
204 * This functions converts the absolute duty cycle stored in @state (expressed
210 * duty = pwm_get_relative_duty_cycle(&state, 100);
223 * pwm_set_relative_duty_cycle() - Set a relative duty cycle value
225 * @duty_cycle: relative duty cycle value
228 * This functions converts a relative into an absolute duty cycle (expressed
231 * For example if you want to configure a 50% duty cycle, call:
264 * @config: configure duty cycles and period length for this PWM
318 * @duty_cycle: duty cycle of the PWM signal (in nanoseconds)