Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.15/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-v5.15/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-v5.15/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py37 from decimal import *
465 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000)
473 duration_ms = Decimal(duration_us) / Decimal(1000)
476 … elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time
477 load = Decimal(int(mperf)*100)/ Decimal(tsc)
478 freq_ghz = Decimal(freq)/Decimal(1000000)
481 tsc_ghz = Decimal(0)
482 if duration_ms != Decimal(0) :
483 tsc_ghz = Decimal(tsc)/duration_ms/Decimal(1000000)
/Linux-v5.15/Documentation/ABI/stable/
Dsysfs-devices-system-cpu66 Values: decimal list.
77 Values: decimal list.
86 Values: decimal list.
97 Values: decimal list.
108 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-v5.15/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-v5.15/Documentation/ABI/testing/
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 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.
173 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,
Dima_policy41 uid:= decimal value
42 euid:= decimal value
43 fowner:= decimal value
55 pcr:= decimal value
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-v5.15/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-v5.15/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-v5.15/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-v5.15/include/media/davinci/
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-v5.15/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-v5.15/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-v5.15/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-v5.15/arch/sparc/include/uapi/asm/
Ddisplay7seg.h23 * POINT - Toggle decimal point (0=absent 1=present)
40 #define D7S_POINT (1 << 7) /* Decimal point*/
/Linux-v5.15/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-v5.15/fs/ksmbd/
Dsmbacl.h98 * The fields are unsigned values in decimal. So:
100 * u8: max 3 bytes in decimal
101 * u32: max 10 bytes in decimal
/Linux-v5.15/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
/Linux-v5.15/fs/cifs/
Dcifsacl.h43 * The fields are unsigned values in decimal. So:
45 * u8: max 3 bytes in decimal
46 * u32: max 10 bytes in decimal
/Linux-v5.15/include/uapi/asm-generic/
Dsiginfo.h218 #define __FPE_DECOVF 9 /* decimal overflow */
219 #define __FPE_DECDIV 10 /* decimal division by zero */
220 #define __FPE_DECERR 11 /* packed decimal error */
222 #define __FPE_INVDEC 13 /* invalid decimal digit */
/Linux-v5.15/Documentation/input/devices/
Diforce-protocol.rst186 06+07 Dead band (Val 01F4 = 5000 (decimal))
187 08 Positive saturation (Val 0a = 1000 (decimal) Val 64 = 10000 (decimal))
191 maximum value is 64 (100 decimal), the min is 9c.

12345678910>>...13