Home
last modified time | relevance | path

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

12

/linux/tools/leds/
H A 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?"
/linux/drivers/leds/
H A Dled-core.c517 const char *devicename = init_data->devicename; in led_compose_name() local
531 if (!devicename) { in led_compose_name()
536 devicename, props.label); in led_compose_name()
552 devicename, tmp_buf); in led_compose_name()
558 if (!devicename) { in led_compose_name()
563 devicename, init_data->default_label); in led_compose_name()
H A Dleds-tps6105x.c62 init_data.devicename = "tps6105x"; in tps6105x_led_probe()
H A Dleds-lt3593.c96 init_data.devicename = LED_LT3593_NAME; in lt3593_led_probe()
H A Dleds-spi-byte.c112 init_data.devicename = "leds-spi-byte"; in spi_byte_probe()
H A Dleds-max77650.c104 init_data.devicename = "max77650"; in max77650_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-lm3697.c277 init_data.devicename = priv->client->name; in lm3697_probe_dt()
H A Dleds-an30259a.c311 init_data.devicename = AN30259A_NAME; in an30259a_probe()
H A Dleds-lp8860.c431 init_data.devicename = LP8860_NAME; in lp8860_probe()
H A Dleds-sc27xx-bltc.c264 init_data.devicename = "sc27xx"; in sc27xx_led_register()
H A Dleds-pca963x.c362 init_data.devicename = "pca963x"; in pca963x_register_leds()
H A Dleds-lm3692x.c447 init_data.devicename = led->client->name; in lm3692x_probe_dt()
H A Dled-class.c473 if (init_data->devname_mandatory && !init_data->devicename) { in led_classdev_register_ext()
H A Dleds-pca955x.c514 init_data.devicename = "pca955x"; in pca955x_probe()
H A Dleds-lm3532.c594 .devicename = priv->client->name, in lm3532_parse_node()
/linux/Documentation/leds/
H A 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
H A Duleds.rst24 convention of "devicename:color:function".
/linux/drivers/leds/flash/
H A Dleds-as3645a.c583 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
613 init_data.devicename = AS_NAME; in as3645a_led_class_setup()
H A Dleds-lm3601x.c350 init_data.devicename = led->client->name; in lm3601x_register_leds()
H A Dleds-aat1290.c492 init_data.devicename = AAT1290_NAME; in aat1290_led_probe()
/linux/include/linux/
H A Dleds.h76 const char *devicename; member
/linux/drivers/pci/
H A Dnpem.c495 init_data.devicename = pci_name(npem->dev); in pci_npem_set_led_classdev()
/linux/drivers/net/dsa/realtek/
H A Drtl8366rb.c975 init_data.devicename = kasprintf(GFP_KERNEL, "Realtek-%d:0%d:%d", in rtl8366rb_setup_led()
977 if (!init_data.devicename) in rtl8366rb_setup_led()

12