Home
last modified time | relevance | path

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

/linux-6.1.9/tools/thermal/tmon/
Dsysfs.c534 char ctrl_cdev_path[256]; in set_ctrl_state() local
552 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, in set_ctrl_state()
554 syslog(LOG_DEBUG, "ctrl cdev path %s", ctrl_cdev_path); in set_ctrl_state()
555 sysfs_set_ulong(ctrl_cdev_path, "cur_state", in set_ctrl_state()
563 char ctrl_cdev_path[256]; in get_ctrl_state() local
582 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, in get_ctrl_state()
584 sysfs_get_ulong(ctrl_cdev_path, "cur_state", state); in get_ctrl_state()