Home
last modified time | relevance | path

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

/linux/drivers/pwm/
H A Dpwm-crc.c55 struct crystalcove_pwm *crc_pwm = to_crc_pwm(chip); in crc_pwm_apply() local
68 err = regmap_write(crc_pwm->regmap, BACKLIGHT_EN, 0); in crc_pwm_apply()
81 err = regmap_write(crc_pwm->regmap, PWM0_DUTY_CYCLE, level); in crc_pwm_apply()
91 err = regmap_write(crc_pwm->regmap, PWM0_CLK_DIV, 0); in crc_pwm_apply()
103 err = regmap_write(crc_pwm->regmap, PWM0_CLK_DIV, in crc_pwm_apply()
112 err = regmap_write(crc_pwm->regmap, BACKLIGHT_EN, 1); in crc_pwm_apply()
125 struct crystalcove_pwm *crc_pwm = to_crc_pwm(chip); in crc_pwm_get_state() local
130 error = regmap_read(crc_pwm->regmap, PWM0_CLK_DIV, &clk_div_reg); in crc_pwm_get_state()
136 error = regmap_read(crc_pwm->regmap, PWM0_DUTY_CYCLE, &duty_cycle_reg); in crc_pwm_get_state()
162 struct crystalcove_pwm *crc_pwm; in crystalcove_pwm_probe() local
[all …]