Lines Matching full:trips
419 if (tz->trips <= 0) in create_trip_attrs()
422 tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs), in create_trip_attrs()
427 tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs), in create_trip_attrs()
435 tz->trip_hyst_attrs = kcalloc(tz->trips, in create_trip_attrs()
445 attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL); in create_trip_attrs()
454 for (indx = 0; indx < tz->trips; indx++) { in create_trip_attrs()
481 attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr; in create_trip_attrs()
499 attrs[indx + tz->trips * 2] = in create_trip_attrs()
502 attrs[tz->trips * 3] = NULL; in create_trip_attrs()
533 /* we need one extra for trips and the NULL to terminate the array */ in thermal_zone_create_device_groups()
543 if (tz->trips) { in thermal_zone_create_device_groups()
564 if (tz->trips) in thermal_zone_destroy_device_groups()