Searched refs:cur_led (Results 1 – 3 of 3) sorted by relevance
96 struct led_info *cur_led; in adp5520_led_probe() local122 cur_led = &pdata->leds[i]; in adp5520_led_probe()125 led_dat->cdev.name = cur_led->name; in adp5520_led_probe()126 led_dat->cdev.default_trigger = cur_led->default_trigger; in adp5520_led_probe()130 if (cur_led->flags & ADP5520_FLAG_LED_MASK) in adp5520_led_probe()131 led_dat->flags = cur_led->flags; in adp5520_led_probe()
222 struct led_info *cur_led; in adp8860_led_probe() local242 cur_led = &pdata->leds[i]; in adp8860_led_probe()245 led_dat->id = cur_led->flags & ADP8860_FLAG_LED_MASK; in adp8860_led_probe()261 led_dat->cdev.name = cur_led->name; in adp8860_led_probe()262 led_dat->cdev.default_trigger = cur_led->default_trigger; in adp8860_led_probe()265 led_dat->flags = cur_led->flags >> FLAG_OFFT_SHIFT; in adp8860_led_probe()
245 struct led_info *cur_led; in adp8870_led_probe() local268 cur_led = &pdata->leds[i]; in adp8870_led_probe()271 led_dat->id = cur_led->flags & ADP8870_FLAG_LED_MASK; in adp8870_led_probe()287 led_dat->cdev.name = cur_led->name; in adp8870_led_probe()288 led_dat->cdev.default_trigger = cur_led->default_trigger; in adp8870_led_probe()291 led_dat->flags = cur_led->flags >> FLAG_OFFT_SHIFT; in adp8870_led_probe()