Home
last modified time | relevance | path

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

/linux/drivers/video/backlight/
A Dadp5520_bl.c37 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, in adp5520_bl_set()
101 ret |= adp5520_write(master, ADP5520_OFFICE_MAX, in adp5520_bl_setup()
103 ret |= adp5520_write(master, ADP5520_OFFICE_DIM, in adp5520_bl_setup()
105 ret |= adp5520_write(master, ADP5520_DARK_MAX, in adp5520_bl_setup()
107 ret |= adp5520_write(master, ADP5520_DARK_DIM, in adp5520_bl_setup()
109 ret |= adp5520_write(master, ADP5520_L2_TRIP, in adp5520_bl_setup()
111 ret |= adp5520_write(master, ADP5520_L2_HYS, in adp5520_bl_setup()
113 ret |= adp5520_write(master, ADP5520_L3_TRIP, in adp5520_bl_setup()
115 ret |= adp5520_write(master, ADP5520_L3_HYS, in adp5520_bl_setup()
122 ret |= adp5520_write(master, ADP5520_BL_CONTROL, in adp5520_bl_setup()
[all …]
/linux/drivers/leds/
A Dleds-adp5520.c35 return adp5520_write(led->master, ADP5520_LED1_CURRENT + led->id - 1, in adp5520_led_set()
82 ret |= adp5520_write(dev, ADP5520_LED1_CURRENT, 0); in adp5520_led_prepare()
83 ret |= adp5520_write(dev, ADP5520_LED2_CURRENT, 0); in adp5520_led_prepare()
84 ret |= adp5520_write(dev, ADP5520_LED3_CURRENT, 0); in adp5520_led_prepare()
85 ret |= adp5520_write(dev, ADP5520_LED_TIME, pdata->led_on_time << 6); in adp5520_led_prepare()
86 ret |= adp5520_write(dev, ADP5520_LED_FADE, FADE_VAL(pdata->fade_in, in adp5520_led_prepare()
/linux/drivers/mfd/
A Dadp5520.c91 int adp5520_write(struct device *dev, int reg, uint8_t val) in adp5520_write() function
95 EXPORT_SYMBOL_GPL(adp5520_write);
251 ret = adp5520_write(chip->dev, ADP5520_MODE_STATUS, ADP5520_nSTNBY); in adp5520_probe()
317 adp5520_write(chip->dev, ADP5520_MODE_STATUS, 0); in adp5520_suspend()
326 adp5520_write(chip->dev, ADP5520_MODE_STATUS, chip->mode); in adp5520_resume()
/linux/include/linux/mfd/
A Dadp5520.h288 extern int adp5520_write(struct device *dev, int reg, u8 val);

Completed in 7 milliseconds