Searched refs:adp8870_read (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/backlight/ |
H A D | adp8870_bl.c | 128 static int adp8870_read(struct i2c_client *client, int reg, uint8_t *val) in adp8870_read() function 161 ret = adp8870_read(client, reg, ®_val); in adp8870_set_bits() 180 ret = adp8870_read(client, reg, ®_val); in adp8870_clr_bits() 549 error = adp8870_read(data->client, reg, ®_val); in adp8870_show() 741 error = adp8870_read(data->client, ADP8870_PH1LEVL, ®_val); in adp8870_bl_ambient_light_level_show() 747 error = adp8870_read(data->client, ADP8870_PH1LEVH, ®_val); in adp8870_bl_ambient_light_level_show() 769 error = adp8870_read(data->client, ADP8870_CFGR, ®_val); in adp8870_bl_ambient_light_zone_show() 801 ret = adp8870_read(data->client, ADP8870_CFGR, ®_val); in adp8870_bl_ambient_light_zone_store() 861 ret = adp8870_read(client, ADP8870_MFDVID, ®_val); in adp8870_probe()
|