Searched refs:coeff_mul (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ipa/backend/ |
| H A D | mali_kbase_ipa_counter_common_jm.c | 187 u64 coeff = 0, coeff_mul = 0; in kbase_ipa_vinstr_dynamic_coeff() local 259 coeff_mul = coeff * model_data->scaling_factor; in kbase_ipa_vinstr_dynamic_coeff() 268 coeff_mul = div_u64(coeff_mul, 1000u); in kbase_ipa_vinstr_dynamic_coeff() 272 *coeffp = clamp(coeff_mul, (u64) 0, (u64) 1 << 16); in kbase_ipa_vinstr_dynamic_coeff()
|
| H A D | mali_kbase_ipa_counter_common_csf.c | 170 u64 coeff = 0, coeff_mul = 0; in calculate_coeff() local 240 coeff_mul = coeff * model_data->scaling_factor; in calculate_coeff() 249 coeff_mul = div_u64(coeff_mul, 1000u); in calculate_coeff() 252 *coeffp = clamp(coeff_mul, (u64)0, (u64)1 << 16); in calculate_coeff()
|
| /OK3568_Linux_fs/kernel/drivers/iio/temperature/ |
| H A D | tsys01.c | 43 static const int coeff_mul[] = { -1500000, 1000000, -2000000, variable 66 temp += coeff_mul[i] * in tsys01_read_temperature() 72 temp += coeff_mul[0] * (s64)dev_data->prom[5]; in tsys01_read_temperature()
|