Lines Matching refs:ADP8860_MDCR
25 #define ADP8860_MDCR 0x01 /* Device mode and status */ macro
333 ret |= adp8860_clr_bits(client, ADP8860_MDCR, in adp8860_bl_set()
343 ret |= adp8860_set_bits(client, ADP8860_MDCR, in adp8860_bl_set()
351 ADP8860_MDCR, DIM_EN); in adp8860_bl_set()
354 ADP8860_MDCR, DIM_EN); in adp8860_bl_set()
415 ret |= adp8860_set_bits(client, ADP8860_MDCR, BLEN | DIM_EN | NSTBY | in adp8860_bl_setup()
610 adp8860_set_bits(data->client, ADP8860_MDCR, CMP_AUTOEN); in adp8860_bl_ambient_light_zone_store()
613 adp8860_clr_bits(data->client, ADP8860_MDCR, CMP_AUTOEN); in adp8860_bl_ambient_light_zone_store()
760 adp8860_clr_bits(client, ADP8860_MDCR, NSTBY); in adp8860_remove()
777 adp8860_clr_bits(client, ADP8860_MDCR, NSTBY); in adp8860_i2c_suspend()
786 adp8860_set_bits(client, ADP8860_MDCR, NSTBY | BLEN); in adp8860_i2c_resume()