Lines Matching refs:polarity
15 * enum pwm_polarity - polarity of a PWM signal
31 * @polarity: reference polarity
43 enum pwm_polarity polarity;
55 * @polarity: PWM polarity
61 enum pwm_polarity polarity;
150 return state.polarity;
166 * and polarity fields with the reference values defined in pwm->args.
186 state->polarity = args.polarity;
252 * @set_polarity: configure the polarity of this PWM
266 int (*set_polarity)(struct pwm_chip *chip, struct pwm_device *pwm, enum pwm_polarity polarity);
392 int pwmchip_add_with_polarity(struct pwm_chip *chip, enum pwm_polarity polarity);
517 * where the polarity and period are set according to pwm_args info.
518 * The problem is, polarity can only be changed when the PWM is
522 * as enabled, and prevent polarity setting, which changes from the
525 * polarity setting.
528 * the PWM device and set the reference period and polarity config.
537 state.polarity = pwm->args.polarity;
550 enum pwm_polarity polarity;
557 .polarity = (_polarity), .module = (_module), \