Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp158 struct ThermalSysfsPathInfo sysfsInfo = {0}; in InitThermalZoneSysfs() local
159 sysfsInfo.name = entry->d_name; in InitThermalZoneSysfs()
160 THERMAL_HILOGI(FEATURE_PROTECTOR, "init sysfs info of %{public}s", sysfsInfo.name); in InitThermalZoneSysfs()
161 int32_t ret = sscanf_s(sysfsInfo.name, THERMAL_ZONE_DIR_NAME, &id); in InitThermalZoneSysfs()
167 …THERMAL_HILOGI(FEATURE_PROTECTOR, "Sensor %{public}s found at tz: %{public}d", sysfsInfo.name, id); in InitThermalZoneSysfs()
168 sysfsInfo.fd = id; in InitThermalZoneSysfs()
174 FormatThermalSysfsPaths(&sysfsInfo); in InitThermalZoneSysfs()