/linux/tools/leds/ |
H A D | get_led_device_info.sh | 125 devicename=`echo $led_name | cut -d: -f1` 133 S_DEV="devicename" 160 if [ ! -z "$devicename" ]; then 162 if [ "$devicename" = "$expected_devname" ]; then 163 print_msg_ok "$S_DEV" "$devicename" 165 print_msg_failed "$S_DEV" "$devicename" "Expected: $expected_devname" 168 if [ "$devicename" = "$manufacturer" ]; then 169 print_msg_failed "$S_DEV" "$devicename" "Redundant: use of vendor name is discouraged" 170 elif [ "$devicename" = "$product" ]; then 171 print_msg_failed "$S_DEV" "$devicename" "Redundan [all...] |
/linux/drivers/leds/ |
H A D | led-core.c | 532 const char *devicename = init_data->devicename; in led_compose_name() local 542 * If init_data.devicename is NULL, then it indicates that in led_compose_name() 544 * Otherwise the label is prepended with devicename to compose in led_compose_name() 547 if (devicename) { in led_compose_name() 549 devicename, props.label); in led_compose_name() 570 devicename, tmp_buf); in led_compose_name() 575 if (!devicename) { in led_compose_name() 576 dev_err(dev, "Legacy LED naming requires devicename segment"); in led_compose_name() 580 devicename, init_dat in led_compose_name() [all...] |
H A D | leds-tps6105x.c | 62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
|
H A D | leds-lt3593.c | 96 init_data.devicename = LED_LT3593_NAME; in lt3593_led_probe()
|
H A D | leds-max77650.c | 101 init_data.devicename = "max77650"; in max77650_led_probe()
|
H A D | leds-lm36274.c | 84 init_data->devicename = chip->pdev->name; in lm36274_parse_dt()
|
H A D | leds-lp8864.c | 262 init_data.devicename = "lp8864"; in lp8864_probe()
|
H A D | leds-cr0014114.c | 195 init_data.devicename = CR_DEV_NAME; in cr0014114_probe_dt()
|
H A D | leds-lp8860.c | 335 init_data.devicename = LP8860_NAME; in lp8860_probe()
|
H A D | leds-lm3697.c | 275 init_data.devicename = priv->client->name; in lm3697_probe_dt()
|
H A D | leds-an30259a.c | 311 init_data.devicename = AN30259A_NAME; in an30259a_probe()
|
H A D | leds-sc27xx-bltc.c | 264 init_data.devicename = "sc27xx"; in sc27xx_led_register()
|
H A D | leds-st1202.c | 380 init_data.devicename = "st1202"; in st1202_probe()
|
H A D | leds-pca963x.c | 360 init_data.devicename = "pca963x"; in pca963x_register_leds()
|
H A D | leds-lm3692x.c | 447 init_data.devicename = led->client->name; in lm3692x_probe_dt()
|
H A D | led-class.c | 481 if (init_data->devname_mandatory && !init_data->devicename) { in led_classdev_register_ext()
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8366rb-leds.c | 132 init_data.devicename = kasprintf(GFP_KERNEL, "Realtek-%d:0%d:%d", in rtl8366rb_setup_led() 134 if (!init_data.devicename) in rtl8366rb_setup_led()
|
/linux/Documentation/leds/ |
H A D | leds-class.rst | 46 "devicename:color:function" 48 - devicename: 77 it doesn't provide unique devicename section. In this case numerical 82 for devicename, but this approach is now deprecated as it doesn't convey 103 devicename sections and gives hints on expected value for a section in case
|
H A D | uleds.rst | 24 convention of "devicename:color:function".
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | leds.c | 824 init_data.devicename = kasprintf(GFP_KERNEL, "%s:0%d:0%d", chip->info->name, in mv88e6xxx_port_setup_leds() 826 if (!init_data.devicename) in mv88e6xxx_port_setup_leds() 830 kfree(init_data.devicename); in mv88e6xxx_port_setup_leds()
|
/linux/drivers/leds/flash/ |
H A D | leds-as3645a.c | 583 init_data.devicename = AS_NAME; in as3645a_led_class_setup() 613 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
|
H A D | leds-lm3601x.c | 350 init_data.devicename = led->client->name; in lm3601x_register_leds()
|
H A D | leds-aat1290.c | 492 init_data.devicename = AAT1290_NAME; in aat1290_led_probe()
|
/linux/include/linux/ |
H A D | leds.h | 72 * string to be used for devicename section of LED class device 76 const char *devicename; member 78 * indicates if LED name should always comprise devicename section; 443 * The name can have <devicename:color:function> or <color:function>.
|
/linux/drivers/pci/ |
H A D | npem.c | 495 init_data.devicename = pci_name(npem->dev); in pci_npem_set_led_classdev()
|