Lines Matching defs:led_dat
200 struct rbtx4939_led_data *led_dat =
202 unsigned int num = led_dat->num;
227 struct rbtx4939_led_data *led_dat = &leds_data[i];
229 led_dat->num = i;
230 led_dat->cdev.brightness_set = rbtx4939_led_brightness_set;
231 sprintf(led_dat->name, "rbtx4939:amber:%u", i);
232 led_dat->cdev.name = led_dat->name;
234 led_dat->cdev.default_trigger = default_triggers[i];
235 rc = led_classdev_register(&pdev->dev, &led_dat->cdev);
238 led_dat->cdev.brightness_set(&led_dat->cdev, 0);