Home
last modified time | relevance | path

Searched refs:PWM_POLARITY_MASK (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pwm/
H A Dpwm-hibvt.c27 #define PWM_POLARITY_MASK BIT(1) macro
124 PWM_POLARITY_MASK, (0x1 << PWM_POLARITY_SHIFT)); in hibvt_pwm_set_polarity()
127 PWM_POLARITY_MASK, (0x0 << PWM_POLARITY_SHIFT)); in hibvt_pwm_set_polarity()
148 state->polarity = (PWM_POLARITY_MASK & value) ? PWM_POLARITY_INVERSED : PWM_POLARITY_NORMAL; in hibvt_pwm_get_state()
H A Dpwm-rockchip.c27 #define PWM_POLARITY_MASK (PWM_DUTY_POSITIVE | PWM_INACTIVE_POSITIVE) macro
138 ctrl &= ~PWM_POLARITY_MASK; in rockchip_pwm_config()