Home
last modified time | relevance | path

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

12345678910>>...26

/kernel/linux/linux-6.6/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)
/kernel/linux/linux-6.6/drivers/hwmon/
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/liteos_a/shell/full/src/cmds/
Ddate_shellcmd.c95 PRINTK(" %%d The day of the month as a decimal number (range 01 to 31).\n"); in OsCmdUsageDate()
96 PRINTK(" %%e Like %%d, the day of the month as a decimal number, \n"); in OsCmdUsageDate()
99 PRINTK(" %%H The hour as a decimal number using a 24-hour clock (range 00 to 23).\n"); in OsCmdUsageDate()
100 PRINTK(" %%I The hour as a decimal number using a 12-hour clock (range 01 to 12).\n"); in OsCmdUsageDate()
101 PRINTK(" %%j The day of the year as a decimal number (range 001 to 366).\n"); in OsCmdUsageDate()
102 PRINTK(" %%k The hour (24-hour clock) as a decimal number (range 0 to 23); \n"); in OsCmdUsageDate()
104 PRINTK(" %%l The hour (12-hour clock) as a decimal number (range 1 to 12); \n"); in OsCmdUsageDate()
106 PRINTK(" %%m The month as a decimal number (range 01 to 12).\n"); in OsCmdUsageDate()
107 PRINTK(" %%M The minute as a decimal number (range 00 to 59).\n"); in OsCmdUsageDate()
116 PRINTK(" %%S The second as a decimal number (range 00 to 60).\n"); in OsCmdUsageDate()
[all …]
/kernel/linux/linux-6.6/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 mmapped
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 mmapped
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-secvar68 Description: Config version as reported by the hypervisor in ASCII decimal
77 represented in ASCII decimal format.
89 Description: Total size of the PLPKS in bytes, represented in ASCII decimal
98 in ASCII decimal format.
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
/kernel/linux/linux-6.6/tools/perf/scripts/python/
Dtask-analyzer.py17 import decimal
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)
772 To prevent float rounding errors we use Decimal internally
774 return decimal.Decimal(time_ns) / decimal.Decimal(1e9)
872 if time >= decimal.Decimal(lower_time_limit):
[all …]
/kernel/linux/linux-6.6/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.
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-6.6/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)
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.
Dima_policy40 uid:= decimal value
41 euid:= decimal value
42 fowner:= decimal value
54 pcr:= decimal value
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
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-6.6/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 */
/kernel/liteos_m/testsuites/unittest/posix/src/ctype/
Disdigit_test.c69 * @tc.name : Checks whether a parameter is a decimal digit (0-9)
88 * @tc.name : Checks whether a parameter is a decimal digit (0-9)
107 * @tc.name : Checks whether a parameter is a decimal digit (0-9)
126 * @tc.name : Checks whether a parameter is a decimal digit (0-9)
145 * @tc.name : Checks whether a parameter is a decimal digit (0-9)
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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

12345678910>>...26