Home
last modified time | relevance | path

Searched defs:led (Results 1 – 25 of 166) sorted by relevance

1234567

/linux/drivers/leds/
H A Dleds-lm3533.c59 lm3533_led_get_ctrlbank_id(struct lm3533_led * led) lm3533_led_get_ctrlbank_id() argument
64 lm3533_led_get_lv_reg(struct lm3533_led * led,u8 base) lm3533_led_get_lv_reg() argument
69 lm3533_led_get_pattern(struct lm3533_led * led) lm3533_led_get_pattern() argument
74 lm3533_led_get_pattern_reg(struct lm3533_led * led,u8 base) lm3533_led_get_pattern_reg() argument
80 lm3533_led_pattern_enable(struct lm3533_led * led,int enable) lm3533_led_pattern_enable() argument
121 struct lm3533_led *led = to_lm3533_led(cdev); lm3533_led_set() local
133 struct lm3533_led *led = to_lm3533_led(cdev); lm3533_led_get() local
243 lm3533_led_delay_set(struct lm3533_led * led,u8 base,unsigned long * delay) lm3533_led_delay_set() argument
271 lm3533_led_delay_on_set(struct lm3533_led * led,unsigned long * t) lm3533_led_delay_on_set() argument
276 lm3533_led_delay_off_set(struct lm3533_led * led,unsigned long * t) lm3533_led_delay_off_set() argument
285 struct lm3533_led *led = to_lm3533_led(cdev); lm3533_led_blink_set() local
315 struct lm3533_led *led = to_lm3533_led(led_cdev); show_id() local
337 struct lm3533_led *led = to_lm3533_led(led_cdev); show_risefalltime() local
369 struct lm3533_led *led = to_lm3533_led(led_cdev); store_risefalltime() local
405 struct lm3533_led *led = to_lm3533_led(led_cdev); show_als_channel() local
426 struct lm3533_led *led = to_lm3533_led(led_cdev); store_als_channel() local
455 struct lm3533_led *led = to_lm3533_led(led_cdev); show_als_en() local
476 struct lm3533_led *led = to_lm3533_led(led_cdev); store_als_en() local
505 struct lm3533_led *led = to_lm3533_led(led_cdev); show_linear() local
529 struct lm3533_led *led = to_lm3533_led(led_cdev); store_linear() local
559 struct lm3533_led *led = to_lm3533_led(led_cdev); show_pwm() local
575 struct lm3533_led *led = to_lm3533_led(led_cdev); store_pwm() local
613 struct lm3533_led *led = to_lm3533_led(led_cdev); lm3533_led_attr_is_visible() local
635 lm3533_led_setup(struct lm3533_led * led,struct lm3533_led_platform_data * pdata) lm3533_led_setup() argument
651 struct lm3533_led *led; lm3533_led_probe() local
723 struct lm3533_led *led = platform_get_drvdata(pdev); lm3533_led_remove() local
734 struct lm3533_led *led = platform_get_drvdata(pdev); lm3533_led_shutdown() local
[all...]
H A Dleds-wm8350.c88 static int wm8350_led_enable(struct wm8350_led *led) in wm8350_led_enable() argument
113 static int wm8350_led_disable(struct wm8350_led *led) in wm8350_led_disable() argument
144 struct wm8350_led *led = to_wm8350_led(led_cdev); wm8350_led_set() local
180 struct wm8350_led *led = platform_get_drvdata(pdev); wm8350_led_shutdown() local
189 struct wm8350_led *led; wm8350_led_probe() local
247 struct wm8350_led *led = platform_get_drvdata(pdev); wm8350_led_remove() local
[all...]
H A Dleds-pca9532.c27 #define LED_REG(m, led) (PCA9532_REG_OFFSET(m) + 0x5 + (led >> 2)) argument
28 #define LED_NUM(led) (led & 0x3) argument
29 #define LED_SHIFT(led) (LED_NUM(led) * 2) argument
30 #define LED_MASK(led) (0x3 << LED_SHIFT(led)) argument
162 static void pca9532_setled(struct pca9532_led *led) in pca9532_setled() argument
183 struct pca9532_led *led = ldev_to_led(led_cdev); pca9532_set_brightness() local
203 pca9532_update_hw_blink(struct pca9532_led * led,unsigned long delay_on,unsigned long delay_off) pca9532_update_hw_blink() argument
242 struct pca9532_led *led = ldev_to_led(led_cdev); pca9532_set_blink() local
296 pca9532_getled(struct pca9532_led * led) pca9532_getled() argument
315 struct pca9532_led *led = &data->leds[offset]; pca9532_gpio_request_pin() local
327 struct pca9532_led *led = &data->leds[offset]; pca9532_gpio_set_value() local
412 struct pca9532_led *led = &data->leds[i]; pca9532_configure() local
[all...]
H A Dleds-max8997.c47 static void max8997_led_set_mode(struct max8997_led *led, in max8997_led_set_mode() argument
97 max8997_led_enable(struct max8997_led * led,bool enable) max8997_led_enable() argument
116 max8997_led_set_current(struct max8997_led * led,enum led_brightness value) max8997_led_set_current() argument
151 struct max8997_led *led = max8997_led_brightness_set() local
167 struct max8997_led *led = mode_show() local
201 struct max8997_led *led = mode_store() local
237 struct max8997_led *led; max8997_led_probe() local
[all...]
H A Dleds-mt6323.c149 struct mt6323_led *led[MAX_SUPPORTED_LEDS]; member
155 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); in mt6323_led_hw_brightness() local
180 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); in mt6323_led_hw_off() local
206 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_get_led_hw_brightness() local
238 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_led_hw_on() local
293 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_led_set_blink() local
362 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_led_set_brightness() local
391 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mtk_wled_hw_on() local
425 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mtk_wled_hw_off() local
456 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_get_wled_brightness() local
476 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_wled_set_brightness() local
503 struct mt6323_led *led = container_of(cdev, struct mt6323_led, cdev); mt6323_led_set_dt_default() local
532 struct mt6323_led *led; mt6323_led_probe() local
[all...]
H A Dleds-regulator.c58 static void regulator_led_enable(struct regulator_led *led) in regulator_led_enable() argument
74 static void regulator_led_disable(struct regulator_led *led) in regulator_led_disable() argument
93 struct regulator_led *led = to_regulator_led(led_cdev); regulator_led_brightness_set() local
128 struct regulator_led *led; regulator_led_probe() local
177 struct regulator_led *led = platform_get_drvdata(pdev); regulator_led_remove() local
[all...]
H A Dleds-pca963x.c122 static int pca963x_brightness(struct pca963x_led *led, unsigned int led_num, in pca963x_brightness() argument
174 static void pca963x_blink(struct pca963x_led *led) in pca963x_blink() argument
206 pca963x_track_power_state(struct pca963x_led * led,unsigned int led_num,enum led_brightness brightness) pca963x_track_power_state() argument
217 pca963x_sync_power_state(struct pca963x_led * led,unsigned long cached_leds) pca963x_sync_power_state() argument
231 struct pca963x_led *led; pca963x_led_set() local
256 struct pca963x_led *led = container_of(mc_cdev, struct pca963x_led, mc_cdev); pca963x_led_mc_set() local
286 pca963x_period_scale(struct pca963x_led * led,unsigned int val) pca963x_period_scale() argument
298 struct pca963x_led *led; pca963x_blink_set() local
349 pca963x_parse_mc_subleds(struct device * dev,struct pca963x_led * led,struct fwnode_handle * fwnode,const struct pca963x_chipdef * chipdef) pca963x_parse_mc_subleds() argument
386 pca963x_register_led(struct device * dev,struct pca963x_led * led,u32 reg,struct fwnode_handle * fwnode,const struct pca963x_chipdef * chipdef,bool hw_blink) pca963x_register_led() argument
428 struct pca963x_led *led = chip->leds; pca963x_register_leds() local
[all...]
H A Dleds-ns2.c56 static int ns2_led_get_mode(struct ns2_led *led, enum ns2_led_modes *mode) in ns2_led_get_mode() argument
76 static void ns2_led_set_mode(struct ns2_led *led, enum ns2_led_modes mode) in ns2_led_set_mode() argument
106 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); ns2_led_set() local
131 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); ns2_led_sata_store() local
162 struct ns2_led *led = container_of(led_cdev, struct ns2_led, cdev); ns2_led_sata_show() local
176 ns2_led_register(struct device * dev,struct fwnode_handle * node,struct ns2_led * led) ns2_led_register() argument
[all...]
H A Dleds-lm3692x.c147 static int lm3692x_fault_check(struct lm3692x_led *led) in lm3692x_fault_check() argument
170 static int lm3692x_leds_enable(struct lm3692x_led *led) in lm3692x_leds_enable() argument
298 lm3692x_leds_disable(struct lm3692x_led * led) lm3692x_leds_disable() argument
329 struct lm3692x_led *led = lm3692x_brightness_set() local
366 lm3692x_max_brightness(struct lm3692x_led * led,u32 max_cur) lm3692x_max_brightness() argument
379 lm3692x_probe_dt(struct lm3692x_led * led) lm3692x_probe_dt() argument
464 struct lm3692x_led *led; lm3692x_probe() local
498 struct lm3692x_led *led = i2c_get_clientdata(client); lm3692x_remove() local
[all...]
H A Dleds-el15203000.c87 static int el15203000_cmd(struct el15203000_led *led, u8 brightness) in el15203000_cmd() argument
133 struct el15203000_led *led = to_el15203000_led(ldev); el15203000_set_blocking() local
142 struct el15203000_led *led = to_el15203000_led(ldev); el15203000_pattern_set_S() local
193 struct el15203000_led *led = to_el15203000_led(ldev); el15203000_pattern_set_P() local
231 struct el15203000_led *led = to_el15203000_led(ldev); el15203000_pattern_clear() local
238 struct el15203000_led *led = priv->leds; el15203000_probe_dt() local
[all...]
H A Dleds-adp5520.c32 struct adp5520_led *led; in adp5520_led_set() local
39 static int adp5520_led_setup(struct adp5520_led *led) in adp5520_led_setup() argument
95 struct adp5520_led *led, *led_dat; in adp5520_led_probe() local
169 struct adp5520_led *led; adp5520_led_remove() local
[all...]
H A Dleds-ss4200.c181 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in __nasgpio_led_set_attr() local
203 struct nasgpio_led *led = led_classdev_to_nasgpio_led(led_cdev); in nasgpio_led_get_attr() local
426 struct led_classdev *led = &nas_led->led_cdev; in get_classdev_for_led_nr() local
450 struct led_classdev *led = dev_get_drvdata(dev); in blink_show() local
462 struct led_classdev *led in blink_store() local
485 struct led_classdev *led = get_classdev_for_led_nr(led_nr); register_nasgpio_led() local
500 struct led_classdev *led = get_classdev_for_led_nr(led_nr); unregister_nasgpio_led() local
[all...]
/linux/drivers/leds/flash/
H A Dleds-max77693.c140 static inline bool max77693_fled_used(struct max77693_led_device *led, in max77693_fled_used() argument
148 static int max77693_set_mode_reg(struct max77693_led_device *led, u8 mode) in max77693_set_mode_reg() argument
180 static int max77693_add_mode(struct max77693_led_device *led, u8 mode) in max77693_add_mode() argument
220 max77693_clear_mode(struct max77693_led_device * led,u8 mode) max77693_clear_mode() argument
232 max77693_add_allowed_modes(struct max77693_led_device * led,int fled_id,enum max77693_led_mode mode) max77693_add_allowed_modes() argument
242 max77693_distribute_currents(struct max77693_led_device * led,int fled_id,enum max77693_led_mode mode,u32 micro_amp,u32 iout_max[2],u32 iout[2]) max77693_distribute_currents() argument
266 max77693_set_torch_current(struct max77693_led_device * led,int fled_id,u32 micro_amp) max77693_set_torch_current() argument
292 max77693_set_flash_current(struct max77693_led_device * led,int fled_id,u32 micro_amp) max77693_set_flash_current() argument
320 max77693_set_timeout(struct max77693_led_device * led,u32 microsec) max77693_set_timeout() argument
337 max77693_get_strobe_status(struct max77693_led_device * led,bool * state) max77693_get_strobe_status() argument
355 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_get_flash_faults() local
390 max77693_setup(struct max77693_led_device * led,struct max77693_led_config_data * led_cfg) max77693_setup() argument
466 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_brightness_set() local
504 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_flash_brightness_set() local
519 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_flash_strobe_set() local
565 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_flash_strobe_get() local
587 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_flash_timeout_set() local
596 max77693_led_parse_dt(struct max77693_led_device * led,struct max77693_led_config_data * cfg,struct device_node ** sub_nodes) max77693_led_parse_dt() argument
700 max77693_align_iout_current(struct max77693_led_device * led,u32 * iout,u32 min,u32 max,u32 step) max77693_align_iout_current() argument
723 max77693_led_validate_configuration(struct max77693_led_device * led,struct max77693_led_config_data * cfg) max77693_led_validate_configuration() argument
759 max77693_led_get_configuration(struct max77693_led_device * led,struct max77693_led_config_data * cfg,struct device_node ** sub_nodes) max77693_led_get_configuration() argument
791 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_init_flash_settings() local
821 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_led_external_strobe_set() local
841 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_init_v4l2_flash_config() local
881 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_init_fled_cdev() local
911 struct max77693_led_device *led = sub_led_to_led(sub_led); max77693_register_led() local
944 struct max77693_led_device *led; max77693_led_probe() local
1021 struct max77693_led_device *led = platform_get_drvdata(pdev); max77693_led_remove() local
[all...]
H A Dleds-aat1290.c95 static void aat1290_as2cwire_write(struct aat1290_led *led, int addr, int value) in aat1290_as2cwire_write() argument
125 static void aat1290_set_flash_safety_timer(struct aat1290_led *led, in aat1290_set_flash_safety_timer() argument
143 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); aat1290_led_brightness_set() local
174 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); aat1290_led_flash_strobe_set() local
214 aat1290_led_parse_dt(struct aat1290_led * led,struct aat1290_led_config_data * cfg,struct device_node ** sub_node) aat1290_led_parse_dt() argument
287 aat1290_led_validate_mm_current(struct aat1290_led * led,struct aat1290_led_config_data * cfg) aat1290_led_validate_mm_current() argument
304 init_mm_current_scale(struct aat1290_led * led,struct aat1290_led_config_data * cfg) init_mm_current_scale() argument
327 aat1290_led_get_configuration(struct aat1290_led * led,struct aat1290_led_config_data * cfg,struct device_node ** sub_node) aat1290_led_get_configuration() argument
354 aat1290_init_flash_timeout(struct aat1290_led * led,struct aat1290_led_config_data * cfg) aat1290_init_flash_timeout() argument
374 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); aat1290_intensity_to_brightness() local
388 struct aat1290_led *led = fled_cdev_to_led(fled_cdev); aat1290_brightness_to_intensity() local
396 struct aat1290_led *led = fled_cdev_to_led(v4l2_flash->fled_cdev); aat1290_led_external_strobe_set() local
417 aat1290_init_v4l2_flash_config(struct aat1290_led * led,struct aat1290_led_config_data * led_cfg,struct v4l2_flash_config * v4l2_sd_cfg) aat1290_init_v4l2_flash_config() argument
442 aat1290_init_v4l2_flash_config(struct aat1290_led * led,struct aat1290_led_config_data * led_cfg,struct v4l2_flash_config * v4l2_sd_cfg) aat1290_init_v4l2_flash_config() argument
459 struct aat1290_led *led; aat1290_led_probe() local
523 struct aat1290_led *led = platform_get_drvdata(pdev); aat1290_led_remove() local
[all...]
H A Dleds-mt6360.c101 struct mt6360_led *led = container_of(mccdev, struct mt6360_led, mc); in mt6360_mc_brightness_set() local
135 struct mt6360_led *led = container_of(lcdev, struct mt6360_led, isnk); in mt6360_isnk_brightness_set() local
159 struct mt6360_led *led = mt6360_torch_brightness_set() local
223 struct mt6360_led *led = _mt6360_flash_brightness_set() local
236 struct mt6360_led *led = mt6360_strobe_set() local
312 struct mt6360_led *led = mt6360_strobe_get() local
325 struct mt6360_led *led = mt6360_timeout_set() local
342 struct mt6360_led *led = mt6360_fault_get() local
394 mt6360_isnk_init_default_state(struct mt6360_led * led) mt6360_isnk_init_default_state() argument
427 mt6360_flash_init_default_state(struct mt6360_led * led) mt6360_flash_init_default_state() argument
472 struct mt6360_led *led = container_of(flash, struct mt6360_led, flash); mt6360_flash_external_strobe_set() local
498 mt6360_init_v4l2_flash_config(struct mt6360_led * led,struct v4l2_flash_config * config) mt6360_init_v4l2_flash_config() argument
520 mt6360_init_v4l2_flash_config(struct mt6360_led * led,struct v4l2_flash_config * config) mt6360_init_v4l2_flash_config() argument
526 mt6360_led_register(struct device * parent,struct mt6360_led * led,struct led_init_data * init_data) mt6360_led_register() argument
623 mt6360_init_isnk_properties(struct mt6360_led * led,struct led_init_data * init_data) mt6360_init_isnk_properties() argument
704 mt6360_init_flash_properties(struct mt6360_led * led,struct led_init_data * init_data) mt6360_init_flash_properties() argument
777 struct mt6360_led *led = priv->leds + i; mt6360_v4l2_flash_release() local
814 struct mt6360_led *led = priv->leds + i; mt6360_led_probe() local
[all...]
H A Dleds-mt6370-flash.c89 struct mt6370_led *led = to_mt6370_led(lcdev, flash.led_cdev); in mt6370_torch_brightness_set() local
166 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash); _mt6370_flash_brightness_set() local
197 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash); mt6370_strobe_set() local
262 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash); mt6370_strobe_get() local
274 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash); mt6370_timeout_set() local
284 struct mt6370_led *led = to_mt6370_led(fl_cdev, flash); mt6370_fault_get() local
347 struct mt6370_led *led = to_mt6370_led(flash, flash); mt6370_flash_external_strobe_set() local
374 mt6370_init_v4l2_flash_config(struct mt6370_led * led,struct v4l2_flash_config * cfg) mt6370_init_v4l2_flash_config() argument
393 mt6370_init_v4l2_flash_config(struct mt6370_led * led,struct v4l2_flash_config * cfg) mt6370_init_v4l2_flash_config() argument
403 mt6370_led_register(struct device * parent,struct mt6370_led * led,struct fwnode_handle * fwnode) mt6370_led_register() argument
435 mt6370_init_flash_properties(struct device * dev,struct mt6370_led * led,struct fwnode_handle * fwnode) mt6370_init_flash_properties() argument
532 struct mt6370_led *led = priv->leds + i; mt6370_led_probe() local
[all...]
/linux/drivers/net/dsa/qca/
H A Dqca8k-leds.c95 qca8k_led_brightness_set(struct qca8k_led *led, in qca8k_led_brightness_set()
158 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_brightness_set_blocking() local
164 qca8k_led_brightness_get(struct qca8k_led *led) in qca8k_led_brightness_get()
195 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_blink_set() local
230 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_trigger_offload() local
255 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_hw_control_status() local
288 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_hw_control_set() local
312 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_hw_control_get() local
352 struct qca8k_led *led = container_of(ldev, struct qca8k_led, cdev); in qca8k_cled_hw_control_get_device() local
367 struct fwnode_handle *led = NULL, *leds = NULL; in qca8k_parse_port_leds() local
/linux/drivers/hid/
H A Dhid-gt683r.c65 struct gt683r_led *led = hid_get_drvdata(hdev); in gt683r_brightness_set() local
84 struct gt683r_led *led = hid_get_drvdata(hdev); in mode_show() local
102 struct gt683r_led *led = hid_get_drvdata(hdev); in mode_store() local
123 gt683r_led_snd_msg(struct gt683r_led * led,u8 * msg) gt683r_led_snd_msg() argument
140 gt683r_leds_set(struct gt683r_led * led,u8 leds) gt683r_leds_set() argument
159 gt683r_mode_set(struct gt683r_led * led,u8 mode) gt683r_mode_set() argument
184 struct gt683r_led *led = container_of(work, struct gt683r_led, work); gt683r_led_work() local
230 struct gt683r_led *led; gt683r_led_probe() local
291 struct gt683r_led *led = hid_get_drvdata(hdev); gt683r_led_remove() local
[all...]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00leds.c21 struct rt2x00_led *led = &rt2x00dev->led_qual; in rt2x00leds_led_quality() local
62 static void rt2x00led_led_simple(struct rt2x00_led *led, bool enabled) in rt2x00led_led_simple()
92 struct rt2x00_led *led, in rt2x00leds_register_led()
171 static void rt2x00leds_unregister_led(struct rt2x00_led *led) in rt2x00leds_unregister_led()
197 static inline void rt2x00leds_suspend_led(struct rt2x00_led *led) in rt2x00leds_suspend_led()
216 static inline void rt2x00leds_resume_led(struct rt2x00_led *led) in rt2x00leds_resume_led()
/linux/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Dleds.c30 struct rtl8187_led *led = &priv->led_tx; in led_turn_on() local
68 struct rtl8187_led *led = &priv->led_tx; in led_turn_off() local
102 struct rtl8187_led *led = container_of(led_dev, struct rtl8187_led, in rtl8187_led_brightness_set() local
132 struct rtl8187_led *led, const char *name, in rtl8187_register_led()
161 static void rtl8187_unregister_led(struct rtl8187_led *led) in rtl8187_unregister_led()
/linux/drivers/leds/trigger/
H A Dledtrig-backlight.c20 struct led_classdev *led; member
33 struct led_classdev *led = n->led; in ledtrig_backlight_notify_blank() local
71 struct led_classdev *led = led_trigger_get_led(dev); in bl_trig_invert_store() local
101 static int bl_trig_activate(struct led_classdev *led) in bl_trig_activate()
120 static void bl_trig_deactivate(struct led_classdev *led) in bl_trig_deactivate()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dleds.c34 static int mv88e6xxx_led_brightness_set(struct mv88e6xxx_port *p, int led, in mv88e6xxx_led_brightness_set()
97 int led; member
337 static int mv88e6xxx_led_match_selector(struct mv88e6xxx_port *p, int led, bool blink_activity, in mv88e6xxx_led_match_selector()
389 mv88e6xxx_led_match_rule(struct mv88e6xxx_port *p, u16 selector, int led, unsigned long *rules) in mv88e6xxx_led_match_rule()
425 static int mv88e6xxx_led_get_selector(struct mv88e6xxx_port *p, int led, in mv88e6xxx_led_get_selector()
443 static int mv88e6xxx_led_set_blinking_period(struct mv88e6xxx_port *p, int led, in mv88e6xxx_led_set_blinking_period()
509 static int mv88e6xxx_led_blink_set(struct mv88e6xxx_port *p, int led, in mv88e6xxx_led_blink_set()
598 int led, unsigned long rules) in mv88e6xxx_led_hw_control_set()
633 mv88e6xxx_led_hw_control_get(struct mv88e6xxx_port *p, int led, unsigned long *rules) in mv88e6xxx_led_hw_control_get()
747 struct fwnode_handle *led = NULL, *leds = NULL; in mv88e6xxx_port_setup_leds() local
/linux/drivers/leds/rgb/
H A Dleds-lp5860-core.c22 static int lp5860_set_dot_onoff(struct lp5860_led *led, unsigned int dot, bool enable) in lp5860_set_dot_onoff() argument
39 struct lp5860_led *led = mcled_cdev_to_led(mc_cdev); in lp5860_set_mc_brightness() local
68 static int lp5860_led_init(struct lp5860_led *led, struct fwnode_handle *fwnode, in lp5860_led_init() argument
97 lp5860_iterate_subleds(struct lp5860_led * led,struct led_init_data * init_data) lp5860_iterate_subleds() argument
145 struct lp5860_led *led; lp5860_init_dt() local
[all...]
H A Dleds-mt6370-rgb.c422 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_brightness_set() local
484 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_blink_set() local
536 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_pattern_set() local
586 struct mt6370_led *led = container_of(mccdev, struct mt6370_led, mc); in mt6370_mc_pattern_clear() local
609 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); mt6370_isnk_brightness_set() local
645 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); mt6370_isnk_blink_set() local
673 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); mt6370_isnk_pattern_set() local
701 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); mt6370_isnk_pattern_clear() local
712 mt6370_assign_multicolor_info(struct device * dev,struct mt6370_led * led,struct fwnode_handle * fwnode) mt6370_assign_multicolor_info() argument
757 mt6370_init_led_properties(struct device * dev,struct mt6370_led * led,struct led_init_data * init_data) mt6370_init_led_properties() argument
804 mt6370_isnk_init_default_state(struct mt6370_led * led) mt6370_isnk_init_default_state() argument
836 mt6370_multicolor_led_register(struct device * dev,struct mt6370_led * led,struct led_init_data * init_data) mt6370_multicolor_led_register() argument
852 mt6370_led_register(struct device * dev,struct mt6370_led * led,struct led_init_data * init_data) mt6370_led_register() argument
938 struct mt6370_led *led = priv->leds + i++; mt6370_leds_probe() local
[all...]
/linux/drivers/net/dsa/realtek/
H A Drtl8366rb-leds.c25 static int rb8366rb_get_port_led(struct rtl8366rb_led *led) in rb8366rb_get_port_led()
44 static int rb8366rb_set_port_led(struct rtl8366rb_led *led, bool enable) in rb8366rb_set_port_led()
79 struct rtl8366rb_led *led = container_of(ldev, struct rtl8366rb_led, in rtl8366rb_cled_brightness_set_blocking() local
91 struct rtl8366rb_led *led; in rtl8366rb_setup_led() local

1234567