Lines Matching refs:trips
441 /* We expose passive only if passive trips are present */
458 for (count = 0; count < tz->trips && !passive; count++) {
499 if (tz->trips <= 0)
502 tz->trip_type_attrs = kcalloc(tz->trips, sizeof(*tz->trip_type_attrs),
507 tz->trip_temp_attrs = kcalloc(tz->trips, sizeof(*tz->trip_temp_attrs),
515 tz->trip_hyst_attrs = kcalloc(tz->trips,
525 attrs = kcalloc(tz->trips * 3 + 1, sizeof(*attrs), GFP_KERNEL);
534 for (indx = 0; indx < tz->trips; indx++) {
561 attrs[indx + tz->trips] = &tz->trip_temp_attrs[indx].attr.attr;
579 attrs[indx + tz->trips * 2] =
582 attrs[tz->trips * 3] = NULL;
613 /* we need one extra for trips and the NULL to terminate the array */
623 if (tz->trips) {
644 if (tz->trips)