Searched refs:pwm_en_inv (Results 1 – 1 of 1) sorted by relevance
1409 unsigned int pwm_en_inv; in ti_sn_pwm_apply() local1518 pwm_en_inv = FIELD_PREP(SN_PWM_EN_MASK, state->enabled) | in ti_sn_pwm_apply()1520 ret = regmap_write(pdata->regmap, SN_PWM_EN_INV_REG, pwm_en_inv); in ti_sn_pwm_apply()1539 unsigned int pwm_en_inv; in ti_sn_pwm_get_state() local1545 ret = regmap_read(pdata->regmap, SN_PWM_EN_INV_REG, &pwm_en_inv); in ti_sn_pwm_get_state()1561 state->enabled = FIELD_GET(SN_PWM_EN_MASK, pwm_en_inv); in ti_sn_pwm_get_state()1562 if (FIELD_GET(SN_PWM_INV_MASK, pwm_en_inv)) in ti_sn_pwm_get_state()