Lines Matching refs:led_cdev
19 struct led_classdev *led_cdev = &mcled_cdev->led_cdev; in led_mc_calc_color_components() local
26 led_cdev->max_brightness); in led_mc_calc_color_components()
36 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_intensity_store() local
37 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_store()
43 mutex_lock(&led_cdev->led_access); in multi_intensity_store()
64 led_set_brightness(led_cdev, led_cdev->brightness); in multi_intensity_store()
67 mutex_unlock(&led_cdev->led_access); in multi_intensity_store()
75 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_intensity_show() local
76 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_intensity_show()
96 struct led_classdev *led_cdev = dev_get_drvdata(dev); in multi_index_show() local
97 struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); in multi_index_show()
125 struct led_classdev *led_cdev; in led_classdev_multicolor_register_ext() local
136 led_cdev = &mcled_cdev->led_cdev; in led_classdev_multicolor_register_ext()
137 led_cdev->flags |= LED_MULTI_COLOR; in led_classdev_multicolor_register_ext()
138 mcled_cdev->led_cdev.groups = led_multicolor_groups; in led_classdev_multicolor_register_ext()
140 return led_classdev_register_ext(parent, led_cdev, init_data); in led_classdev_multicolor_register_ext()
149 led_classdev_unregister(&mcled_cdev->led_cdev); in led_classdev_multicolor_unregister()