Home
last modified time | relevance | path

Searched refs:ttyname (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/leds/trigger/
Dledtrig-tty.c14 const char *ttyname; member
32 if (trigger_data->ttyname) in ttyname_show()
33 len = sprintf(buf, "%s\n", trigger_data->ttyname); in ttyname_show()
45 char *ttyname; in ttyname_store() local
53 ttyname = kmemdup_nul(buf, size, GFP_KERNEL); in ttyname_store()
54 if (!ttyname) in ttyname_store()
57 ttyname = NULL; in ttyname_store()
62 running = trigger_data->ttyname != NULL; in ttyname_store()
64 kfree(trigger_data->ttyname); in ttyname_store()
68 trigger_data->ttyname = ttyname; in ttyname_store()
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-class-led-trigger-tty1 What: /sys/class/leds/<led>/ttyname