Home
last modified time | relevance | path

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

/linux/drivers/thermal/intel/
H A Dintel_bxt_pmic_thermal.c41 int num_trips; member
129 .num_trips = ARRAY_SIZE(bxtwc_str0_trip_config),
134 .num_trips = ARRAY_SIZE(bxtwc_str1_trip_config),
139 .num_trips = ARRAY_SIZE(bxtwc_str2_trip_config),
144 .num_trips = ARRAY_SIZE(bxtwc_str3_trip_config),
171 for (j = 0; j < td->maps[i].num_trips; j++) { in pmic_thermal_irq_handler()
257 for (j = 0; j < thermal_data->maps[i].num_trips; j++) { in pmic_thermal_probe()
H A Dx86_pkg_temp_thermal.c277 struct thermal_trip *trips, int num_trips) in pkg_temp_thermal_trips_init() argument
283 for (i = 0; i < num_trips; i++) { in pkg_temp_thermal_trips_init()
/linux/drivers/thermal/testing/
H A Dzone.c50 unsigned int num_trips; member
356 tt_zone->num_trips++; in tt_zone_add_trip()
394 tt_zone->num_trips); in tt_zone_register_tz()
/linux/drivers/thermal/
H A Dthermal_core.c1500 int num_trips, void *devdata, in thermal_zone_device_register_with_trips() argument
1527 if (num_trips < 0) { in thermal_zone_device_register_with_trips()
1537 if (num_trips > 0 && !trips) in thermal_zone_device_register_with_trips()
1546 tz = kzalloc_flex(*tz, trips, num_trips); in thermal_zone_device_register_with_trips()
1581 tz->num_trips = num_trips; in thermal_zone_device_register_with_trips()
H A Dthermal_debugfs.c562 tze = kzalloc_flex(*tze, trip_stats, tz->num_trips); in thermal_debugfs_tz_event_alloc()
571 for (i = 0; i < tz->num_trips; i++) { in thermal_debugfs_tz_event_alloc()
879 tz_dbg->trips_crossed = kzalloc_objs(int, tz->num_trips); in thermal_debug_tz_add()