Lines Matching defs:count
127 int ret, count;
135 count = of_get_child_count(trips);
136 if (!count) {
142 tt = kzalloc(sizeof(*tt) * count, GFP_KERNEL);
148 *ntrips = count;
150 count = 0;
152 ret = thermal_of_populate_trip(trip, &tt[count++]);
187 int count, i;
189 count = of_count_phandle_with_args(tz, "thermal-sensors",
191 if (count <= 0) {
197 for (i = 0; i < count; i++) {
359 int count, i, trip_id;
369 count = of_count_phandle_with_args(map_np, "cooling-device", "#cooling-cells");
370 if (count <= 0) {
380 for (i = 0; i < count; i++)