Home
last modified time | relevance | path

Searched refs:devicename (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/tools/leds/
Dget_led_device_info.sh125 devicename=`echo $led_name | cut -d: -f1`
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" "Redundant: use of product name is discouraged"
173 print_msg_failed "$S_DEV" "$devicename" "Unknown devicename - should the script be updated?"
/kernel/linux/linux-5.10/drivers/leds/
Dled-core.c426 const char *devicename = init_data->devicename; in led_compose_name() local
444 if (!devicename) { in led_compose_name()
449 devicename, props.label); in led_compose_name()
465 devicename, tmp_buf); in led_compose_name()
471 if (!devicename) { in led_compose_name()
476 devicename, init_data->default_label); in led_compose_name()
Dleds-tps6105x.c62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
Dleds-lt3593.c98 init_data.devicename = LED_LT3593_NAME; in lt3593_led_probe()
Dleds-max77650.c104 init_data.devicename = "max77650"; in max77650_led_probe()
Dleds-lm36274.c83 init_data->devicename = chip->pdev->name; in lm36274_parse_dt()
Dleds-cr0014114.c196 init_data.devicename = CR_DEV_NAME; in cr0014114_probe_dt()
Dleds-as3645a.c585 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
615 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
Dleds-lm3697.c271 init_data.devicename = priv->client->name; in lm3697_probe_dt()
Dleds-an30259a.c321 init_data.devicename = AN30259A_NAME; in an30259a_probe()
Dleds-pca963x.c343 init_data.devicename = "pca963x"; in pca963x_register_leds()
Dleds-lp8860.c435 init_data.devicename = LP8860_NAME; in lp8860_probe()
Dleds-sc27xx-bltc.c264 init_data.devicename = "sc27xx"; in sc27xx_led_register()
Dleds-lm3601x.c350 init_data.devicename = led->client->name; in lm3601x_register_leds()
Dled-class.c350 if (init_data->devname_mandatory && !init_data->devicename) { in led_classdev_register_ext()
Dleds-lm3692x.c448 init_data.devicename = led->client->name; in lm3692x_probe_dt()
Dleds-aat1290.c496 init_data.devicename = AAT1290_NAME; in aat1290_led_probe()
Dleds-lm3532.c581 .devicename = priv->client->name, in lm3532_parse_node()
/kernel/linux/linux-5.10/Documentation/leds/
Dleds-class.rst46 "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
Duleds.rst24 convention of "devicename:color:function".
/kernel/linux/linux-5.10/include/linux/
Dleds.h51 const char *devicename; member