Searched refs:ttyname (Results 1 – 2 of 2) sorted by relevance
14 const char *ttyname; member32 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() local53 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 …]
1 What: /sys/class/leds/<led>/ttyname