Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-rockchip.c52 u32 enable_conf; member
65 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state() local
90 state->enabled = (val & enable_conf) == enable_conf; in rockchip_pwm_get_state()
162 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_enable() local
175 val |= enable_conf; in rockchip_pwm_enable()
177 val &= ~enable_conf; in rockchip_pwm_enable()
244 .enable_conf = PWM_CTRL_OUTPUT_EN | PWM_CTRL_TIMER_EN,
257 .enable_conf = PWM_OUTPUT_LEFT | PWM_LP_DISABLE | PWM_ENABLE |
302 u32 enable_conf, ctrl; in rockchip_pwm_probe() local
353 enable_conf = pc->data->enable_conf; in rockchip_pwm_probe()
[all …]
/openbmc/u-boot/drivers/pwm/
H A Drk_pwm.c21 uint enable_conf; member
29 priv->enable_conf &= ~(PWM_DUTY_MASK | PWM_INACTIVE_MASK); in rk_pwm_set_invert()
31 priv->enable_conf |= PWM_DUTY_NEGATIVE | PWM_INACTIVE_POSTIVE; in rk_pwm_set_invert()
33 priv->enable_conf |= PWM_DUTY_POSTIVE | PWM_INACTIVE_NEGATIVE; in rk_pwm_set_invert()
47 PWM_CONTINUOUS | priv->enable_conf | in rk_pwm_set_config()
93 priv->enable_conf = PWM_DUTY_POSTIVE | PWM_INACTIVE_POSTIVE; in rk_pwm_probe()