Home
last modified time | relevance | path

Searched refs:temp_samples (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/thermal/intel/
Dtherm_throt.c95 u8 temp_samples[3]; member
275 state->temp_samples[state->sample_index] = temp; in throttle_active_work()
277 state->sample_index = (state->sample_index + 1) % ARRAY_SIZE(state->temp_samples); in throttle_active_work()
278 if (state->sample_count < ARRAY_SIZE(state->temp_samples)) in throttle_active_work()
282 for (i = 0; i < ARRAY_SIZE(state->temp_samples); ++i) in throttle_active_work()
283 avg += state->temp_samples[i]; in throttle_active_work()
285 avg /= ARRAY_SIZE(state->temp_samples); in throttle_active_work()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_validate_shaders.c161 struct vc4_texture_sample_info *temp_samples; in record_texture_sample() local
163 temp_samples = krealloc(validated_shader->texture_samples, in record_texture_sample()
164 (s + 1) * sizeof(*temp_samples), in record_texture_sample()
166 if (!temp_samples) in record_texture_sample()
169 memcpy(&temp_samples[s], in record_texture_sample()
171 sizeof(*temp_samples)); in record_texture_sample()
174 validated_shader->texture_samples = temp_samples; in record_texture_sample()
/linux-6.1.9/Documentation/hwmon/
Dsysfs-interface.rst599 | temp_samples | Note that on some devices it won't be possible to set all of |