Home
last modified time | relevance | path

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

12

/openbmc/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?"
/openbmc/phosphor-led-sysfs/test/
H A Dtest_led_description.cpp35 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 Dcpu.c31 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 Dled-core.c475 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 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-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-sc27xx-bltc.c264 init_data.devicename = "sc27xx"; in sc27xx_led_register()
H A Dleds-pca963x.c361 init_data.devicename = "pca963x"; in pca963x_register_leds()
H A Dleds-lp8860.c431 init_data.devicename = LP8860_NAME; in lp8860_probe()
/openbmc/u-boot/include/
H A Dzynqpl.h59 .devicename = XILINX_XC##name##_NAME \
64 .devicename = XILINX_XC##name##_NAME \
/openbmc/phosphor-led-sysfs/
H A Dsysfs.cpp188 ledDescr.devicename = words.at(0); in getLedDescr()
195 ledDescr.devicename = words.at(0); in getLedDescr()
H A Dsysfs.hpp33 std::optional<std::string> devicename; member
/openbmc/qemu/tests/functional/qemu_test/
H A Dtestcase.py167 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 Dinternal_interface.cpp41 if (ledDescr.devicename.has_value()) in getDbusName()
43 words.emplace_back(ledDescr.devicename.value()); in getDbusName()
/openbmc/linux/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()
444 kfree(init_data.devicename); in qca8k_parse_port_leds()
/openbmc/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".
/openbmc/linux/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()
H A Dleds-lm3601x.c350 init_data.devicename = led->client->name; in lm3601x_register_leds()
/openbmc/linux/include/linux/
H A Dleds.h76 const char *devicename; member

12