Home
last modified time | relevance | path

Searched refs:LED_MAX_NAME_SIZE (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/leds/
Dled-core.c440 LED_MAX_NAME_SIZE); in led_compose_name()
442 snprintf(led_classdev_name, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name()
446 char tmp_buf[LED_MAX_NAME_SIZE]; in led_compose_name()
449 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s-%d", in led_compose_name()
453 snprintf(tmp_buf, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name()
458 snprintf(led_classdev_name, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name()
461 strscpy(led_classdev_name, tmp_buf, LED_MAX_NAME_SIZE); in led_compose_name()
469 snprintf(led_classdev_name, LED_MAX_NAME_SIZE, "%s:%s", in led_compose_name()
473 LED_MAX_NAME_SIZE); in led_compose_name()
Dled-class.c250 char composed_name[LED_MAX_NAME_SIZE]; in led_classdev_register_ext()
251 char final_name[LED_MAX_NAME_SIZE]; in led_classdev_register_ext()
Dleds-spi-byte.c48 char name[LED_MAX_NAME_SIZE];
Dleds-lm36274.c73 char label[LED_MAX_NAME_SIZE]; in lm36274_parse_dt()
Dleds-lm3697.c53 char label[LED_MAX_NAME_SIZE];
Dleds-lm3532.c144 char label[LED_MAX_NAME_SIZE];
/Linux-v5.4/include/uapi/linux/
Duleds.h18 #define LED_MAX_NAME_SIZE 64 macro
21 char name[LED_MAX_NAME_SIZE];
/Linux-v5.4/tools/leds/
Dled_hw_brightness_mon.c29 char brightness_file_path[LED_MAX_NAME_SIZE + 11]; in main()
39 snprintf(brightness_file_path, LED_MAX_NAME_SIZE, in main()
Duledmon.c34 strncpy(uleds_dev.name, argv[1], LED_MAX_NAME_SIZE); in main()
/Linux-v5.4/Documentation/leds/
Duleds.rst16 #define LED_MAX_NAME_SIZE 64
19 char name[LED_MAX_NAME_SIZE];