Home
last modified time | relevance | path

Searched refs:devicename (Results 1 - 25 of 44) sorted by relevance

12

/kernel/linux/linux-5.10/tools/leds/
H A Dget_led_device_info.sh125 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...]
/kernel/linux/linux-6.6/tools/leds/
H A Dget_led_device_info.sh125 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...]
/kernel/linux/linux-5.10/drivers/leds/
H A Dled-core.c426 const char *devicename = init_data->devicename; in led_compose_name() local
439 * If init_data.devicename is NULL, then it indicates that in led_compose_name()
441 * Otherwise the label is prepended with devicename to compose in led_compose_name()
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()
472 dev_err(dev, "Legacy LED naming requires devicename segment"); in led_compose_name()
476 devicename, init_dat in led_compose_name()
[all...]
H A Dleds-tps6105x.c62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
H A Dleds-max77650.c104 init_data.devicename = "max77650"; in max77650_led_probe()
H A Dleds-lt3593.c98 init_data.devicename = LED_LT3593_NAME; in lt3593_led_probe()
H A Dleds-lm36274.c83 init_data->devicename = chip->pdev->name; in lm36274_parse_dt()
H A Dleds-cr0014114.c196 init_data.devicename = CR_DEV_NAME; in cr0014114_probe_dt()
H A Dleds-as3645a.c585 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
615 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
H A Dleds-an30259a.c321 init_data.devicename = AN30259A_NAME; in an30259a_probe()
H A Dleds-lm3697.c271 init_data.devicename = priv->client->name; in lm3697_probe_dt()
H A Dleds-sc27xx-bltc.c264 init_data.devicename = "sc27xx"; in sc27xx_led_register()
H A Dleds-pca963x.c343 init_data.devicename = "pca963x"; in pca963x_register_leds()
/kernel/linux/linux-6.6/drivers/leds/
H A Dled-core.c475 const char *devicename = init_data->devicename; in led_compose_name() local
484 * If init_data.devicename is NULL, then it indicates that in led_compose_name()
486 * Otherwise the label is prepended with devicename to compose in led_compose_name()
489 if (!devicename) { in led_compose_name()
494 devicename, props.label); in led_compose_name()
510 devicename, tmp_buf); in led_compose_name()
516 if (!devicename) { in led_compose_name()
517 dev_err(dev, "Legacy LED naming requires devicename segment"); in led_compose_name()
521 devicename, init_dat in led_compose_name()
[all...]
H A Dleds-tps6105x.c62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
H A Dleds-max77650.c104 init_data.devicename = "max77650"; in max77650_led_probe()
H A Dleds-lt3593.c96 init_data.devicename = LED_LT3593_NAME; in lt3593_led_probe()
H A Dleds-lm36274.c84 init_data->devicename = chip->pdev->name; in lm36274_parse_dt()
H A Dleds-cr0014114.c196 init_data.devicename = CR_DEV_NAME; in cr0014114_probe_dt()
H A Dleds-an30259a.c308 init_data.devicename = AN30259A_NAME; in an30259a_probe()
H A Dleds-lm3697.c277 init_data.devicename = priv->client->name; in lm3697_probe_dt()
/kernel/linux/linux-6.6/drivers/net/dsa/qca/
H A Dqca8k-leds.c432 init_data.devicename = kasprintf(GFP_KERNEL, "%s:0%d", ds->slave_mii_bus->id, in qca8k_parse_port_leds()
434 if (!init_data.devicename) in qca8k_parse_port_leds()
441 kfree(init_data.devicename); in qca8k_parse_port_leds()
/kernel/linux/linux-6.6/drivers/leds/flash/
H A Dleds-as3645a.c585 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
615 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
/kernel/linux/linux-5.10/include/linux/
H A Dleds.h47 * string to be used for devicename section of LED class device
51 const char *devicename; member
53 * indicates if LED name should always comprise devicename section;
319 * The name can have <devicename:color:function> or <color:function>.
/kernel/linux/linux-6.6/include/linux/
H A Dleds.h72 * 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;
441 * The name can have <devicename:color:function> or <color:function>.

Completed in 16 milliseconds

12