Searched refs:num_trips (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/thermal/intel/ |
| A D | intel_bxt_pmic_thermal.c | 41 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()
|
| A D | x86_pkg_temp_thermal.c | 273 struct thermal_trip *trips, int num_trips) in pkg_temp_thermal_trips_init() argument 279 for (i = 0; i < num_trips; i++) { in pkg_temp_thermal_trips_init()
|
| /linux/drivers/thermal/ |
| A D | thermal_core.h | 116 int num_trips; member 142 struct thermal_trip_desc trips[] __counted_by(num_trips); 253 for (__td = __tz->trips; __td - __tz->trips < __tz->num_trips; __td++)
|
| A D | thermal_sysfs.c | 401 attrs = kcalloc(tz->num_trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); in create_trip_attrs() 431 attrs[i + tz->num_trips] = &trip_attrs->temp.attr.attr; in create_trip_attrs() 444 attrs[i + 2 * tz->num_trips] = &trip_attrs->hyst.attr.attr; in create_trip_attrs() 447 attrs[tz->num_trips * 3] = NULL; in create_trip_attrs() 481 if (tz->num_trips) { in thermal_zone_create_device_groups() 502 if (tz->num_trips) in thermal_zone_destroy_device_groups()
|
| A D | gov_fair_share.c | 89 divisor = tz->num_trips; in fair_share_throttle()
|
| A D | thermal_core.c | 1362 int num_trips, void *devdata, in thermal_zone_device_register_with_trips() argument 1387 if (num_trips < 0) { in thermal_zone_device_register_with_trips() 1397 if (num_trips > 0 && !trips) in thermal_zone_device_register_with_trips() 1406 tz = kzalloc(struct_size(tz, trips, num_trips), GFP_KERNEL); in thermal_zone_device_register_with_trips() 1439 tz->num_trips = num_trips; in thermal_zone_device_register_with_trips()
|
| A D | thermal_debugfs.c | 557 tze = kzalloc(struct_size(tze, trip_stats, tz->num_trips), GFP_KERNEL); in thermal_debugfs_tz_event_alloc() 566 for (i = 0; i < tz->num_trips; i++) { in thermal_debugfs_tz_event_alloc() 874 tz_dbg->trips_crossed = kzalloc(sizeof(int) * tz->num_trips, GFP_KERNEL); in thermal_debug_tz_add()
|
| /linux/drivers/thermal/testing/ |
| A D | zone.c | 50 unsigned int num_trips; member 366 tt_zone->num_trips++; in tt_zone_add_trip() 404 trips = kcalloc(tt_zone->num_trips, sizeof(*trips), GFP_KERNEL); in tt_zone_register_tz()
|
| /linux/include/linux/ |
| A D | thermal.h | 227 int num_trips, void *devdata, 276 int num_trips, void *devdata, in thermal_zone_device_register_with_trips() argument
|
| /linux/Documentation/driver-api/thermal/ |
| A D | sysfs-api.rst | 42 int num_trips, void *devdata,
|
Completed in 17 milliseconds