Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dtherm_throt.c94 u8 temp_samples[3]; member
274 state->temp_samples[state->sample_index] = temp; in throttle_active_work()
276 state->sample_index = (state->sample_index + 1) % ARRAY_SIZE(state->temp_samples); in throttle_active_work()
277 if (state->sample_count < ARRAY_SIZE(state->temp_samples)) in throttle_active_work()
281 for (i = 0; i < ARRAY_SIZE(state->temp_samples); ++i) in throttle_active_work()
282 avg += state->temp_samples[i]; in throttle_active_work()
284 avg /= ARRAY_SIZE(state->temp_samples); in throttle_active_work()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/hwmon/
Dsysfs-interface.rst1099 | temp_samples | Note that on some devices it won't be possible to set all of |