Searched refs:cdi (Results 1 – 4 of 4) sorted by relevance
/tools/thermal/tmon/ |
D | sysfs.c | 96 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev() argument 98 sysfs_get_string(path, "type", cdi->type); in probe_cdev() 99 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 100 sysfs_get_ulong(path, "cur_state", &cdi->cur_state); in probe_cdev() 104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 366 sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); in scan_cdevs() 367 ptdata.cdi[k].instance = i; in scan_cdevs() 368 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs() 369 ptdata.cdi[k].flag |= CDEV_FLAG_IN_CONTROL; in scan_cdevs() 450 ptdata.cdi = calloc(ptdata.max_cdev_instance + 1, in probe_thermal_sysfs() [all …]
|
D | tui.c | 217 ptdata.cdi[j].instance, in show_cooling_device() 218 ptdata.cdi[j].type, in show_cooling_device() 219 ptdata.cdi[j].cur_state, in show_cooling_device() 220 ptdata.cdi[j].max_state); in show_cooling_device() 237 cdev_inst = ptdata.cdi[j].instance; in show_cooling_device() 303 ptdata.cdi[j].type, ptdata.cdi[j].instance); in show_dialogue() 430 CDEV, ptdata.cdi[ch].instance); in handle_input_val() 456 ptdata.cdi[cdev_id].type, in handle_input_choice() 457 ptdata.cdi[cdev_id].instance); in handle_input_choice()
|
D | tmon.c | 190 i, ptdata.cdi[i].type); in prepare_logging() 199 fprintf(tmon_log, "%s%d ", ptdata.cdi[i].type, in prepare_logging() 200 ptdata.cdi[i].instance); in prepare_logging()
|
D | tmon.h | 95 struct cdev_info *cdi; member
|