Searched refs:led_data (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/leds/
H A Dleds-pwm.c102 struct led_pwm_data *led_data = &priv->leds[priv->num_leds]; led_pwm_add() local
105 led_data->active_low = led->active_low; led_pwm_add()
106 led_data->cdev.name = led->name; led_pwm_add()
107 led_data->cdev.default_trigger = led->default_trigger; led_pwm_add()
108 led_data->cdev.brightness_set = led_pwm_set; led_pwm_add()
109 led_data->cdev.brightness = LED_OFF; led_pwm_add()
110 led_data->cdev.max_brightness = led->max_brightness; led_pwm_add()
111 led_data->cdev.flags = LED_CORE_SUSPENDRESUME; led_pwm_add()
114 led_data->pwm = devm_of_pwm_get(dev, child, NULL); led_pwm_add()
116 led_data->pwm = devm_pwm_get(dev, led->name); led_pwm_add()
117 if (IS_ERR(led_data->pwm)) { led_pwm_add()
118 ret = PTR_ERR(led_data->pwm); led_pwm_add()
124 led_data->can_sleep = pwm_can_sleep(led_data->pwm); led_pwm_add()
125 if (led_data->can_sleep) led_pwm_add()
126 INIT_WORK(&led_data->work, led_pwm_work); led_pwm_add()
128 led_data->period = pwm_get_period(led_data->pwm); led_pwm_add()
129 if (!led_data->period && (led->pwm_period_ns > 0)) led_pwm_add()
130 led_data->period = led->pwm_period_ns; led_pwm_add()
132 ret = led_classdev_register(dev, &led_data->cdev); led_pwm_add()
/linux-4.4.14/arch/mips/mti-sead3/
H A Dsead3-platform.c125 static struct led_platform_data led_data = { variable in typeref:struct:led_platform_data
142 .platform_data = &led_data,
161 .platform_data = &led_data,
/linux-4.4.14/include/linux/mfd/
H A Dmax77693.h89 struct max77693_led_platform_data *led_data; member in struct:max77693_platform_data
/linux-4.4.14/drivers/parisc/
H A Dled.c624 request_mem_region((unsigned long)LED_DATA_REG, 1, "led_data"); register_led_regions()

Completed in 195 milliseconds