Searched refs:ADP8870_MDCR (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8870_bl.c | 26 #define ADP8870_MDCR 0x01 /* Device mode and status */ macro 359 ret = adp8870_clr_bits(client, ADP8870_MDCR, in adp8870_bl_set() 376 ret = adp8870_set_bits(client, ADP8870_MDCR, in adp8870_bl_set() 389 ADP8870_MDCR, DIM_EN); in adp8870_bl_set() 392 ADP8870_MDCR, DIM_EN); 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() 797 adp8870_clr_bits(data->client, ADP8870_MDCR, CMP_AUTOEN); in adp8870_bl_ambient_light_zone_store() 932 adp8870_clr_bits(client, ADP8870_MDCR, NSTBY); in adp8870_remove() 947 adp8870_clr_bits(client, ADP8870_MDCR, NSTBY); in adp8870_i2c_suspend() [all …]
|