Searched refs:adp8870_set_bits (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8870_bl.c | 153 static int adp8870_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8870_set_bits() function 225 ret = adp8870_set_bits(client, ADP8870_ISCC, 1 << (led->id - 1)); in adp8870_led_setup() 230 ret = adp8870_set_bits(client, ADP8870_ISCT1, in adp8870_led_setup() 233 ret = adp8870_set_bits(client, ADP8870_ISCT2, in adp8870_led_setup() 376 ret = adp8870_set_bits(client, ADP8870_MDCR, in adp8870_bl_set() 388 ret = adp8870_set_bits(client, in adp8870_bl_set() 536 ret = adp8870_set_bits(client, ADP8870_MDCR, BLEN | DIM_EN | NSTBY | in adp8870_bl_setup() 794 adp8870_set_bits(data->client, ADP8870_MDCR, CMP_AUTOEN); in adp8870_bl_ambient_light_zone_store() 956 adp8870_set_bits(client, ADP8870_MDCR, NSTBY | BLEN); in adp8870_i2c_resume()
|