Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/video/backlight/
Dadp5520_bl.c37 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, in adp5520_bl_set()
44 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, in adp5520_bl_set()
50 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, brightness); in adp5520_bl_set()
94 ret |= adp5520_write(master, ADP5520_DAYLIGHT_MAX, in adp5520_bl_setup()
96 ret |= adp5520_write(master, ADP5520_DAYLIGHT_DIM, in adp5520_bl_setup()
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()
[all …]
/linux-5.19.10/drivers/leds/
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-5.19.10/drivers/mfd/
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-5.19.10/include/linux/mfd/
Dadp5520.h288 extern int adp5520_write(struct device *dev, int reg, u8 val);