Home
last modified time | relevance | path

Searched refs:decimal (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/hwmon/
H A Dsbtsi_temp.c21 * 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 Dtask-analyzer.py17 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 Dppevvmath.h27 #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 Dadxl355_core.c97 .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 Dadxl355.h20 int decimal; member
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A Disif.c227 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 Ddm355_ccdc.c470 * 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 Disif.h17 /* 8 bit decimal part */
18 __u8 decimal; member
25 /* 16 bit decimal part */
26 __u16 decimal; member
H A Ddm355_ccdc.h120 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 Dbinstr.S10 | 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 Dbindec.S47 | 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 Ddecbin.S32 | 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 Dres_func.S1991 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 Dbinstr.S10 | 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 Dbindec.S47 | 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 Ddecbin.S32 | 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 Dres_func.S1991 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 Dppevvmath.h27 #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 Dosnoise_top.c216 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 Di915_request.c2519 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 Di915_request.c2907 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 Dmetric.py4 import decimal namespace
339 ctx = decimal.Context()
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py32 from decimal import *
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py37 from decimal import *
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py37 from decimal import *

Completed in 26 milliseconds

12