Searched refs:adp5520_write (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/video/backlight/ |
D | adp5520_bl.c | 37 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-6.1.9/drivers/leds/ |
D | leds-adp5520.c | 35 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-6.1.9/drivers/mfd/ |
D | adp5520.c | 91 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-6.1.9/include/linux/mfd/ |
D | adp5520.h | 288 extern int adp5520_write(struct device *dev, int reg, u8 val);
|