/openbmc/linux/tools/leds/ |
H A D | get_led_device_info.sh | 125 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?"
|
/openbmc/phosphor-led-sysfs/test/ |
H A D | test_led_description.cpp | 35 ASSERT_EQ("devicename", d.devicename); in TEST() 44 ASSERT_EQ("devicename", d.devicename); in TEST() 53 ASSERT_EQ(std::nullopt, d.devicename); in TEST() 62 ASSERT_EQ("input9", d.devicename); in TEST() 71 ASSERT_EQ(std::nullopt, d.devicename); in TEST() 80 ASSERT_EQ(std::nullopt, d.devicename); in TEST() 89 ASSERT_EQ("identify", d.devicename); in TEST()
|
/openbmc/u-boot/arch/arm/mach-zynq/ |
H A D | cpu.c | 31 char *devicename; member 119 fpga.name = zynq_fpga_descs[cpu_id].devicename; in arch_early_init_r() 140 printf("CPU: Zynq %s\n", zynq_fpga_descs[cpu_id].devicename); in print_cpuinfo()
|
/openbmc/linux/drivers/leds/ |
H A D | led-core.c | 475 const char *devicename = init_data->devicename; in led_compose_name() local 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() 521 devicename, init_data->default_label); in led_compose_name()
|
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 | 104 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-cr0014114.c | 196 init_data.devicename = CR_DEV_NAME; in cr0014114_probe_dt()
|
H A D | leds-lm3697.c | 277 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-pca963x.c | 361 init_data.devicename = "pca963x"; in pca963x_register_leds()
|
H A D | leds-lp8860.c | 431 init_data.devicename = LP8860_NAME; in lp8860_probe()
|
/openbmc/u-boot/include/ |
H A D | zynqpl.h | 59 .devicename = XILINX_XC##name##_NAME \ 64 .devicename = XILINX_XC##name##_NAME \
|
/openbmc/phosphor-led-sysfs/ |
H A D | sysfs.cpp | 188 ledDescr.devicename = words.at(0); in getLedDescr() 195 ledDescr.devicename = words.at(0); in getLedDescr()
|
H A D | sysfs.hpp | 33 std::optional<std::string> devicename; member
|
/openbmc/qemu/tests/functional/qemu_test/ |
H A D | testcase.py | 167 def require_device(self, devicename): argument 170 if devhelp.find(devicename) < 0: 171 self.skipTest('no support for device ' + devicename)
|
/openbmc/phosphor-led-sysfs/interfaces/ |
H A D | internal_interface.cpp | 41 if (ledDescr.devicename.has_value()) in getDbusName() 43 words.emplace_back(ledDescr.devicename.value()); in getDbusName()
|
/openbmc/linux/drivers/net/dsa/qca/ |
H A D | qca8k-leds.c | 432 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() 444 kfree(init_data.devicename); in qca8k_parse_port_leds()
|
/openbmc/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".
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-as3645a.c | 585 init_data.devicename = AS_NAME; in as3645a_led_class_setup() 615 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()
|
/openbmc/linux/include/linux/ |
H A D | leds.h | 76 const char *devicename; member
|