Home
last modified time | relevance | path

Searched full:decimal (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/Linux-v6.1/tools/power/x86/amd_pstate_tracer/
Damd_pstate_trace.py32 from decimal import *
221 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
229 duration_ms = Decimal(duration_us) / Decimal(1000)
232 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
233 load = Decimal(int(mperf)*100)/ Decimal(tsc)
234 freq_ghz = Decimal(freq)/Decimal(1000000)
/Linux-v6.1/drivers/hwmon/
Dsbtsi_temp.c22 * corresponding decimal parts.
48 * the "low byte" encode in base-2 the decimal portion.
55 static inline int sbtsi_reg_to_mc(s32 integer, s32 decimal) in sbtsi_reg_to_mc() argument
57 return ((integer << 3) + (decimal >> 5)) * 125; in sbtsi_reg_to_mc()
66 static inline void sbtsi_mc_to_reg(s32 temp, u8 *integer, u8 *decimal) in sbtsi_mc_to_reg() argument
70 *decimal = (temp & 0x7) << 5; in sbtsi_mc_to_reg()
84 * decimal part of CPU temp for atomic reads. If bit == 0, in sbtsi_read()
85 * reading integer part triggers latching of the decimal part, in sbtsi_read()
/Linux-v6.1/Documentation/ABI/testing/
Dima_policy43 uid:= decimal value
44 euid:= decimal value
45 gid:= decimal value
46 egid:= decimal value
47 fowner:= decimal value
48 fgroup:= decimal value
71 pcr:= decimal value
Dsysfs-class-cxl24 Decimal value of maximum number of interrupts that can be
35 Decimal value of the minimum number of interrupts that
45 Decimal value of the size of the MMIO space that may be mmaped
99 Decimal value of the current version of the kernel/user API.
106 Decimal value of the lowest version of the userspace API
158 Decimal value of the size of the MMIO space that may be mmaped
166 Decimal value of the Per Process MMIO space length.
174 Decimal value of the Per Process MMIO space offset.
Dsysfs-bus-usb-devices-usbsevseg41 Description: Controls the decimal places on the device.
42 To set the nth decimal place, give this field
44 the value k and has 1 or more decimal places set,
Dsysfs-class-net112 as a decimal value. Some NICs have multiple independent ports
194 decimal number. This attribute is used for mapping an interface
205 the interface is linked to. Format is decimal. This attribute is
214 Indicates the interface link mode, as a decimal number. This
229 bytes, and in decimal format. Specific values depends on the
238 Indicates the interface network device group, as a decimal
298 Indicates the interface protocol type as a decimal value. See
Dsysfs-devices-mmc10 Unit Byte. Format decimal.
21 Unit KByte. Format decimal.
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-devices-system-cpu72 Values: decimal list.
83 Values: decimal list.
96 Values: decimal list.
105 Values: decimal list.
116 Values: decimal list.
127 Values: decimal list.
Dprocfs-audit_loginuid9 decimal unsigned int (%u, u32). If it is unset,
24 audit login session ID of process $pid as a decimal
/Linux-v6.1/Documentation/usb/
Dmisc_usbsevseg.rst45 5. Set the decimal places.
46 The device has either 6 or 8 decimal points.
47 to set the nth decimal place calculate 10 ** n
50 For example, to set the 0th and 3rd decimal place
/Linux-v6.1/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py37 from decimal import *
461 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
469 duration_ms = Decimal(duration_us) / Decimal(1000)
472 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
473 load = Decimal(int(mperf)*100)/ Decimal(tsc)
474 freq_ghz = Decimal(freq)/Decimal(1000000)
477 tsc_ghz = Decimal(0)
478 if duration_ms != Decimal(0) :
479 tsc_ghz = Decimal(tsc)/duration_ms/Decimal(1000000)
/Linux-v6.1/drivers/acpi/acpica/
Dutstrtoul64.c68 * integer width. Supports Decimal, Hex, and Octal strings.
84 u32 base = 10; /* Default is decimal */ in acpi_ut_strtoul64()
170 * Base is always 16, either with or without the 0x prefix. Decimal and
247 * main restriction is that only hex and decimal are supported.
255 * to_integer ("1000") Decimal
260 * 1) The input string is either a decimal or hexadecimal numeric string.
261 * A hex value must be prefixed by "0x" or it is interpreted as decimal.
290 u32 base = 10; /* Default is decimal */ in acpi_ut_explicit_strtoul64()
299 * Only Hex and Decimal are supported, as per the ACPI specification. in acpi_ut_explicit_strtoul64()
300 * A "0x" prefix indicates hex; otherwise decimal is assumed. in acpi_ut_explicit_strtoul64()
/Linux-v6.1/arch/alpha/include/uapi/asm/
Dgentrap.h17 #define GEN_DECOVF -8 /* decimal overflow (for COBOL??) */
18 #define GEN_DECDIV -9 /* decimal division by zero */
19 #define GEN_DECINV -10 /* invalid decimal operand */
/Linux-v6.1/drivers/scsi/
Dscsi_proc.c230 * @host: user-supplied decimal integer
231 * @channel: user-supplied decimal integer
232 * @id: user-supplied decimal integer
233 * @lun: user-supplied decimal integer
263 * @host: user-supplied decimal integer
264 * @channel: user-supplied decimal integer
265 * @id: user-supplied decimal integer
266 * @lun: user-supplied decimal integer
/Linux-v6.1/lib/
Dparser.c182 * match_int - scan a decimal representation of an integer from a substring_t
186 * Description: Attempts to parse the &substring_t @s as a decimal integer.
198 * match_uint - scan a decimal representation of an integer from a substring_t
202 * Description: Attempts to parse the &substring_t @s as a decimal integer.
221 * match_u64 - scan a decimal representation of a u64 from
226 * Description: Attempts to parse the &substring_t @s as a long decimal
/Linux-v6.1/drivers/staging/media/deprecated/vpfe_capture/
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
/Linux-v6.1/tools/lib/api/
Dio.h90 /* Read a positive decimal value with out argument dec. If the first character
91 * isn't a decimal returns -2, io->eof returns -1, otherwise returns the
92 * character after the decimal value which may be -1 for eof. If the read value
/Linux-v6.1/drivers/iio/test/
Diio-test-rescale.c329 * INT_PLUS_{MICRO,NANO} decimal part overflow
332 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, positive",
341 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative",
350 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative schan",
359 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, positive",
368 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative",
377 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative schan",
600 * the multiplier for the first decimal place. in iio_str_to_nano()
/Linux-v6.1/tools/power/cpupower/utils/helpers/
Dbitmask.c88 * character in the sscanf input string was not a decimal number.
243 * Helper routine for bitmask_displaylist(). Write decimal number
262 * Write decimal list representation of bmp to buf.
264 * Output format is a comma-separated list of decimal numbers and
266 * decimal numbers, the smallest and largest bit numbers set in
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppevvmath.h27 #define PRECISION 5 /* Change this value to change the number of decimal places in the final output…
39 * A.partial.decimal => Only the fractional portion
44 unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/ member
56 …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()
/Linux-v6.1/tools/perf/pmu-events/arch/s390/cf_z16/
Dextended.json370 "BriefDescription": "Binary Coded Decimal to Decimal Floating Point conversions",
371 …t of floating point execution slots used for finished Binary Coded Decimal to Decimal Floating Poi…
377 "BriefDescription": "Count finished vector arithmetic Binary Coded Decimal instructions",
378 …g point execution slots used for finished vector arithmetic Binary Coded Decimal instructions. Ins…
384 "BriefDescription": "Decimal instruction dispatched",
385 …"PublicDescription": "Decimal instruction dispatched. Instructions: CVB, CVD, AP, CP, DP, ED, EDMK…
/Linux-v6.1/arch/sparc/include/uapi/asm/
Ddisplay7seg.h23 * POINT - Toggle decimal point (0=absent 1=present)
40 #define D7S_POINT (1 << 7) /* Decimal point*/
/Linux-v6.1/include/linux/sunrpc/
Dmsg_prot.h178 * the first through fourth octets each converted to ASCII-decimal.
180 * and second octets each converted to ASCII-decimal. For example, if a
182 * a service listening on, in big endian order, port 0x020F (decimal
/Linux-v6.1/fs/ksmbd/
Dsmbacl.h99 * The fields are unsigned values in decimal. So:
101 * u8: max 3 bytes in decimal
102 * u32: max 10 bytes in decimal
/Linux-v6.1/arch/m68k/fpsp040/
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

12345678910>>...13