Lines Matching refs:ldev
60 #define ldev_to_led(c) container_of(c, struct lp3944_led_data, ldev)
66 struct led_classdev ldev; member
175 __func__, led->ldev.name, status); in lp3944_led_set()
214 __func__, led->ldev.name, reg, id, status, val); in lp3944_led_set()
307 led->ldev.name = pled->name; in lp3944_configure()
308 led->ldev.max_brightness = 1; in lp3944_configure()
309 led->ldev.brightness_set_blocking = in lp3944_configure()
311 led->ldev.blink_set = lp3944_led_set_blink; in lp3944_configure()
312 led->ldev.flags = LED_CORE_SUSPENDRESUME; in lp3944_configure()
314 err = led_classdev_register(&client->dev, &led->ldev); in lp3944_configure()
318 led->ldev.name); in lp3944_configure()
323 led->ldev.brightness = in lp3944_configure()
331 led->ldev.name, pled->status); in lp3944_configure()
351 led_classdev_unregister(&data->leds[i].ldev); in lp3944_configure()
410 led_classdev_unregister(&data->leds[i].ldev); in lp3944_remove()