Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/backlight/
H A Dktz8866.c59 static int ktz8866_write(struct ktz8866 *ktz, unsigned int reg, in ktz8866_write() function
85 ktz8866_write(ktz, BL_BRT_LSB, brightness & 0x7); in ktz8866_backlight_update_status()
86 ktz8866_write(ktz, BL_BRT_MSB, (brightness >> 3) & 0xFF); in ktz8866_backlight_update_status()
101 ktz8866_write(ktz, BL_EN, BIT(val) - 1); in ktz8866_init()
104 ktz8866_write(ktz, BL_EN, BIT(6) - 1); in ktz8866_init()
108 ktz8866_write(ktz, BL_CFG2, BIT(7) | (ilog2(val) << 3) | PWM_HYST); in ktz8866_init()
110 ktz8866_write(ktz, BL_CFG2, BIT(7) | ((5 + val / 64) << 3) | PWM_HYST); in ktz8866_init()
115 ktz8866_write(ktz, BL_DIMMING, 0); in ktz8866_init()
119 ktz8866_write(ktz, BL_DIMMING, ramp_on_time | ramp_off_time); in ktz8866_init()
124 ktz8866_write(ktz, LCD_BIAS_CFG1, LCD_BIAS_EN); in ktz8866_init()