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)
125 static inline void pwm_set_duty_cycle(struct pwm_device *pwm, unsigned int duty) in pwm_set_duty_cycle() argument
128 pwm->state.duty_cycle = duty; in pwm_set_duty_cycle()
189 * pwm_get_relative_duty_cycle() - Get a relative duty cycle value
190 * @state: PWM state to extract the duty cycle from
191 * @scale: target scale of the relative duty cycle
193 * This functions converts the absolute duty cycle stored in @state (expressed
199 * duty = pwm_get_relative_duty_cycle(&state, 100);
212 * pwm_set_relative_duty_cycle() - Set a relative duty cycle value
214 * @duty_cycle: relative duty cycle value
217 * This functions converts a relative into an absolute duty cycle (expressed
220 * For example if you want to configure a 50% duty cycle, call:
253 * @config: configure duty cycles and period length for this PWM
307 * @duty_cycle: duty cycle of the PWM signal (in nanoseconds)