Searched refs:mcdev (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/leds/rgb/ |
H A D | leds-ktd202x.c | 91 struct led_classdev_mc mcdev; member 253 struct ktd202x_led *led = container_of(mc, struct ktd202x_led, mcdev); in ktd202x_brightness_mc_set() 361 struct ktd202x_led *led = container_of(mc, struct ktd202x_led, mcdev); in ktd202x_blink_mc_set() 429 led->mcdev.subled_info = info; in ktd202x_setup_led_rgb() 430 led->mcdev.num_colors = num_channels; in ktd202x_setup_led_rgb() 432 cdev = &led->mcdev.led_cdev; in ktd202x_setup_led_rgb() 436 return devm_led_classdev_multicolor_register_ext(chip->dev, &led->mcdev, init_data); in ktd202x_setup_led_rgb() 479 cdev = &led->mcdev.led_cdev; in ktd202x_add_led()
|
H A D | leds-qcom-lpg.c | 212 struct led_classdev_mc mcdev; member 874 struct lpg_led *led = container_of(mc, struct lpg_led, mcdev); in lpg_brightness_mc_set() 948 struct lpg_led *led = container_of(mc, struct lpg_led, mcdev); in lpg_blink_mc_set() 1149 struct lpg_led *led = container_of(mc, struct lpg_led, mcdev); in lpg_pattern_mc_set() 1201 struct lpg_led *led = container_of(mc, struct lpg_led, mcdev); in lpg_pattern_mc_clear() 1411 led->mcdev.subled_info = info; in lpg_add_led() 1412 led->mcdev.num_colors = num_channels; in lpg_add_led() 1414 cdev = &led->mcdev.led_cdev; in lpg_add_led() 1457 ret = devm_led_classdev_multicolor_register_ext(lpg->dev, &led->mcdev, &init_data); in lpg_add_led()
|
/linux/drivers/leds/ |
H A D | leds-mc13783.c | 178 struct mc13xxx *mcdev = dev_get_drvdata(dev->parent); in mc13xxx_led_probe() local 190 leds->master = mcdev; in mc13xxx_led_probe() 214 ret = mc13xxx_reg_write(mcdev, leds->devtype->ledctrl_base + i, in mc13xxx_led_probe()
|