Lines Matching full:polarity
16 * enum pwm_polarity - polarity of a PWM signal
32 * @polarity: reference polarity
44 enum pwm_polarity polarity; member
60 * duty_offset_ns and so can represent offsets other than zero (with .polarity =
61 * PWM_POLARITY_NORMAL) and period - duty_cycle (.polarity =
81 * @polarity: PWM polarity
91 enum pwm_polarity polarity; member
166 return state.polarity; in pwm_get_polarity()
183 * and polarity fields with the reference values defined in pwm->args.
204 state->polarity = args.polarity; in pwm_init_state()
610 * where the polarity and period are set according to pwm_args info. in pwm_apply_args()
611 * The problem is, polarity can only be changed when the PWM is in pwm_apply_args()
615 * as enabled, and prevent polarity setting, which changes from the in pwm_apply_args()
618 * polarity setting. in pwm_apply_args()
621 * the PWM device and set the reference period and polarity config. in pwm_apply_args()
630 state.polarity = pwm->args.polarity; in pwm_apply_args()
644 enum pwm_polarity polarity; member
656 .polarity = _polarity, \