Searched refs:adp5520_write (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/video/backlight/
H A Dadp5520_bl.c38 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, adp5520_bl_set()
45 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, adp5520_bl_set()
51 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, brightness); adp5520_bl_set()
103 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, adp5520_bl_setup()
105 ret |= adp5520_write(master, ADP5520_DAYLIGHT_DIM, adp5520_bl_setup()
110 ret |= adp5520_write(master, ADP5520_OFFICE_MAX, adp5520_bl_setup()
112 ret |= adp5520_write(master, ADP5520_OFFICE_DIM, adp5520_bl_setup()
114 ret |= adp5520_write(master, ADP5520_DARK_MAX, adp5520_bl_setup()
116 ret |= adp5520_write(master, ADP5520_DARK_DIM, adp5520_bl_setup()
118 ret |= adp5520_write(master, ADP5520_L2_TRIP, adp5520_bl_setup()
120 ret |= adp5520_write(master, ADP5520_L2_HYS, adp5520_bl_setup()
122 ret |= adp5520_write(master, ADP5520_L3_TRIP, adp5520_bl_setup()
124 ret |= adp5520_write(master, ADP5520_L3_HYS, adp5520_bl_setup()
126 ret |= adp5520_write(master, ADP5520_ALS_CMPR_CFG, adp5520_bl_setup()
131 ret |= adp5520_write(master, ADP5520_BL_CONTROL, adp5520_bl_setup()
135 ret |= adp5520_write(master, ADP5520_BL_FADE, FADE_VAL(pdata->fade_in, adp5520_bl_setup()
172 adp5520_write(data->master, reg, val); adp5520_store()
/linux-4.4.14/drivers/leds/
H A Dleds-adp5520.c36 adp5520_write(led->master, ADP5520_LED1_CURRENT + led->id - 1, adp5520_led_work()
93 ret |= adp5520_write(dev, ADP5520_LED1_CURRENT, 0); adp5520_led_prepare()
94 ret |= adp5520_write(dev, ADP5520_LED2_CURRENT, 0); adp5520_led_prepare()
95 ret |= adp5520_write(dev, ADP5520_LED3_CURRENT, 0); adp5520_led_prepare()
96 ret |= adp5520_write(dev, ADP5520_LED_TIME, pdata->led_on_time << 6); adp5520_led_prepare()
97 ret |= adp5520_write(dev, ADP5520_LED_FADE, FADE_VAL(pdata->fade_in, adp5520_led_prepare()
/linux-4.4.14/drivers/mfd/
H A Dadp5520.c90 int adp5520_write(struct device *dev, int reg, uint8_t val) adp5520_write() function
94 EXPORT_SYMBOL_GPL(adp5520_write); variable
250 ret = adp5520_write(chip->dev, ADP5520_MODE_STATUS, ADP5520_nSTNBY); adp5520_probe()
315 adp5520_write(chip->dev, ADP5520_MODE_STATUS, 0); adp5520_remove()
328 adp5520_write(chip->dev, ADP5520_MODE_STATUS, 0); adp5520_suspend()
337 adp5520_write(chip->dev, ADP5520_MODE_STATUS, chip->mode); adp5520_resume()
/linux-4.4.14/include/linux/mfd/
H A Dadp5520.h289 extern int adp5520_write(struct device *dev, int reg, u8 val);

Completed in 141 milliseconds