Lines Matching refs:info
40 static zx_status_t acpi_thermal_get_info(acpi_thermal_device_t* dev, thermal_info_t* info) {
49 info->passive_temp = (uint32_t)temp; // we probably won't exceed 429496456.35 C
54 info->critical_temp = (uint32_t)temp;
56 info->max_trip_count = dev->trip_point_count;
57 memcpy(info->active_trip, dev->trip_points, sizeof(info->active_trip));
63 info->state = 0;
64 if (info->active_trip[0] && (temp > info->active_trip[0])) {
65 info->state |= THERMAL_STATE_TRIP_VIOLATION;
106 thermal_info_t info;
107 zx_status_t status = acpi_thermal_get_info(dev, &info);
111 memcpy(out_buf, &info, sizeof(info));
112 *out_actual = sizeof(info);
182 zx_status_t thermal_init(zx_device_t* parent, ACPI_DEVICE_INFO* info, ACPI_HANDLE acpi_handle) {
226 memcpy(name, &info->Name, sizeof(UINT32));