Lines Matching refs:ldev
65 #define ldev_to_led(c) container_of(c, struct lp3944_led_data, ldev)
72 struct led_classdev ldev; member
182 __func__, led->ldev.name, status); in lp3944_led_set()
218 __func__, led->ldev.name, reg, id, status, val); in lp3944_led_set()
322 led->ldev.name = pled->name; in lp3944_configure()
323 led->ldev.max_brightness = 1; in lp3944_configure()
324 led->ldev.brightness_set = lp3944_led_set_brightness; in lp3944_configure()
325 led->ldev.blink_set = lp3944_led_set_blink; in lp3944_configure()
326 led->ldev.flags = LED_CORE_SUSPENDRESUME; in lp3944_configure()
329 err = led_classdev_register(&client->dev, &led->ldev); in lp3944_configure()
333 led->ldev.name); in lp3944_configure()
338 led->ldev.brightness = led->status; in lp3944_configure()
345 led->ldev.name, led->status); in lp3944_configure()
365 led_classdev_unregister(&data->leds[i].ldev); in lp3944_configure()
425 led_classdev_unregister(&data->leds[i].ldev); in lp3944_remove()