/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | sbtsi_temp.c | 21 * corresponding decimal parts. 47 * the "low byte" encode in base-2 the decimal portion. 54 static inline int sbtsi_reg_to_mc(s32 integer, s32 decimal) in sbtsi_reg_to_mc() argument 56 return ((integer << 3) + (decimal >> 5)) * 125; in sbtsi_reg_to_mc() 65 static inline void sbtsi_mc_to_reg(s32 temp, u8 *integer, u8 *decimal) in sbtsi_mc_to_reg() argument 69 *decimal = (temp & 0x7) << 5; in sbtsi_mc_to_reg() 83 * decimal part of CPU temp for atomic reads. If bit == 0, in sbtsi_read() 84 * reading integer part triggers latching of the decimal part, in sbtsi_read()
|
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | task-analyzer.py | 17 import decimal namespace 426 # The size of the decimal after sum,mean and median varies, thus we cut 427 # the decimal number, by rounding it. It has no impact on the output, 428 # because we have a precision of the decimal points at the output. 554 return self._time_out * decimal.Decimal(factor) 559 return self._time_in * decimal.Decimal(factor) 563 return (self._time_out - self._time_in) * decimal.Decimal(factor) 774 return decimal.Decimal(time_ns) / decimal.Decimal(1e9) 872 if time >= decimal [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 27 #define PRECISION 5 /* Change this value to change the number of decimal places in the final output - 5 is a good default */ 39 * A.partial.decimal => Only the fractional portion 44 unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/ member 56 static int ConvertBackToInteger(fInt); /* Convert a FINT back to an INT that is scaled by 1000 (i.e. last 3 digits are the decimal digits) */ 338 X_LessThanOne = (X.partial.real == 0 && X.partial.decimal != 0 && X.full >= 0); in fMultiply() 339 Y_LessThanOne = (Y.partial.real == 0 && Y.partial.decimal != 0 && Y.full >= 0); in fMultiply() 350 tempProduct = tempProduct >> 16; /*Remove lagging 16 bits - Will lose some precision from decimal; */ in fMultiply() 512 int i, scaledDecimal = 0, tmp = A.partial.decimal; in uGetScaledDecimal() 545 solution.partial.decimal = 0; /*All fractional digits changes to 0 */ in fRoundUpByStepSize()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | adxl355_core.c | 97 .decimal = 38245, 110 .decimal = 250000, 122 .decimal = 191229, 135 .decimal = 250000, 526 *val2 = data->chip_info->accel_scale.decimal; in adxl355_read_raw() 533 *val2 = data->chip_info->temp_offset.decimal; in adxl355_read_raw()
|
H A D | adxl355.h | 20 int decimal; member
|
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
H A D | isif.c | 227 gain_off_p->gain.r_ye.decimal; in isif_config_gain_offset() 231 gain_off_p->gain.gr_cy.decimal; in isif_config_gain_offset() 235 gain_off_p->gain.gb_g.decimal; in isif_config_gain_offset() 239 gain_off_p->gain.b_mg.decimal; in isif_config_gain_offset() 387 linearize->scale_fact.decimal; in isif_config_linearization() 495 df_csc->csc.coeff[i].decimal; in isif_config_csc() 501 df_csc->csc.coeff[i].decimal; in isif_config_csc()
|
H A D | dm355_ccdc.c | 470 * convert decimal part to binary. Use 2 decimal in ccdc_config_csc() 473 val1 |= (((csc->coeff[i].decimal & in ccdc_config_csc() 482 val2 |= (((csc->coeff[i].decimal & in ccdc_config_csc()
|
/kernel/linux/linux-5.10/include/media/davinci/ |
H A D | isif.h | 17 /* 8 bit decimal part */ 18 __u8 decimal; member 25 /* 16 bit decimal part */ 26 __u16 decimal; member
|
H A D | dm355_ccdc.h | 120 unsigned int decimal; member 128 * S8Q5. Use 2 decimal precision, user values range from -3.00 to 3.99. 129 * example - to use 1.03, set integer part as 1, and decimal part as 3 130 * to use -1.03, set integer part as -1 and decimal part as 3
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | binstr.S | 10 | lword of the packed decimal memory string.) 15 | The 64-bit binary is assumed to have a decimal point before 18 | msb form a decimal digit. This process is iterated until
|
H A D | bindec.S | 47 | after the decimal point which are to be included as 54 | of decimal places needed to insure LEN integer digits 96 | such that the decimal point is to the left of bit 63. 280 | original decimal point which are to be included as 330 | of decimal places needed to insure LEN integer digits 720 | such that the decimal point is to the left of bit 63. 796 | written as specified in the 881/882 manual for packed decimal.
|
H A D | decbin.S | 32 | The mantissa digits will be converted with the decimal point 128 | (i.e., all digits assumed left of the decimal point.) 174 | (i.e., all digits assumed left of the decimal point.)
|
H A D | res_func.S | 1991 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 1996 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 2003 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 2007 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | binstr.S | 10 | lword of the packed decimal memory string.) 15 | The 64-bit binary is assumed to have a decimal point before 18 | msb form a decimal digit. This process is iterated until
|
H A D | bindec.S | 47 | after the decimal point which are to be included as 54 | of decimal places needed to insure LEN integer digits 96 | such that the decimal point is to the left of bit 63. 280 | original decimal point which are to be included as 330 | of decimal places needed to insure LEN integer digits 720 | such that the decimal point is to the left of bit 63. 796 | written as specified in the 881/882 manual for packed decimal.
|
H A D | decbin.S | 32 | The mantissa digits will be converted with the decimal point 128 | (i.e., all digits assumed left of the decimal point.) 174 | (i.e., all digits assumed left of the decimal point.)
|
H A D | res_func.S | 1991 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 1996 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 2003 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal 2007 leal ETEMP(%a6),%a0 |a0 will point to the packed decimal
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 27 #define PRECISION 5 /* Change this value to change the number of decimal places in the final output - 5 is a good default */ 39 * A.partial.decimal => Only the fractional portion 44 unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/ member 56 static int ConvertBackToInteger(fInt); /* Convert a FINT back to an INT that is scaled by 1000 (i.e. last 3 digits are the decimal digits) */ 341 X_LessThanOne = (X.partial.real == 0 && X.partial.decimal != 0 && X.full >= 0); in fMultiply() 342 Y_LessThanOne = (Y.partial.real == 0 && Y.partial.decimal != 0 && Y.full >= 0); in fMultiply() 350 tempProduct = tempProduct >> 16; /*Remove lagging 16 bits - Will lose some precision from decimal; */ in fMultiply() 512 int i, scaledDecimal = 0, tmp = A.partial.decimal; in uGetScaledDecimal() 545 solution.partial.decimal = 0; /*All fractional digits changes to 0 */ in fRoundUpByStepSize()
|
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 216 int decimal; in osnoise_top_print() local 226 decimal = percentage % 100000; in osnoise_top_print() 231 trace_seq_printf(s, " %3d.%05d", percentage, decimal); in osnoise_top_print()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_request.c | 2519 int integer, decimal; in perf_series_engines() local 2539 decimal = div64_u64(100 * busy, dt); in perf_series_engines() 2542 decimal = 0; in perf_series_engines() 2547 integer, decimal, in perf_series_engines() 2853 int integer, decimal; in perf_parallel_engines() local 2858 decimal = div64_u64(100 * busy, dt); in perf_parallel_engines() 2861 decimal = 0; in perf_parallel_engines() 2866 name, engine->name, p->count, integer, decimal, in perf_parallel_engines()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_request.c | 2907 int integer, decimal; in perf_series_engines() local 2927 decimal = div64_u64(100 * busy, dt); in perf_series_engines() 2930 decimal = 0; in perf_series_engines() 2935 integer, decimal, in perf_series_engines() 3267 int integer, decimal; in perf_parallel_engines() local 3272 decimal = div64_u64(100 * busy, dt); in perf_parallel_engines() 3275 decimal = 0; in perf_parallel_engines() 3280 name, engine->name, p->count, integer, decimal, in perf_parallel_engines()
|
/kernel/linux/linux-6.6/tools/perf/pmu-events/ |
H A D | metric.py | 4 import decimal namespace 339 ctx = decimal.Context()
|
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 32 from decimal import *
|
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 37 from decimal import *
|
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 37 from decimal import *
|