| /linux/tools/power/x86/amd_pstate_tracer/ |
| H A D | amd_pstate_trace.py | 32 from decimal import * 220 start_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) 228 duration_ms = Decimal(duration_us) / Decimal(1000) 231 elapsed_time = Decimal(time_pre_dec) + Decimal(time_post_dec) / Decimal(1000000) - start_time 232 load = Decimal(in [all...] |
| /linux/tools/perf/scripts/python/ |
| H A D | task-analyzer.py | 17 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 …]
|
| /linux/Documentation/usb/ |
| H A D | misc_usbsevseg.rst | 45 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/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 35 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(in [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | utstrtoul64.c | 68 * 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/arch/alpha/include/uapi/asm/ |
| H A D | gentrap.h | 17 #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/Documentation/ABI/testing/ |
| H A D | sysfs-bus-usb-devices-usbsevseg | 41 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,
|
| H A D | sysfs-class-net | 112 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
|
| H A D | sysfs-devices-mmc | 10 Unit Byte. Format decimal. 21 Unit KByte. Format decimal.
|
| H A D | sysfs-driver-hid-lenovo | 41 Values are decimal integers from 1 (lowest sensitivity) to 255 (highest sensitivity). 49 Values are decimal integers from 1 (slowest) to 255 (fastest).
|
| /linux/drivers/scsi/ |
| H A D | scsi_proc.c | 325 * @host: user-supplied decimal integer 326 * @channel: user-supplied decimal integer 327 * @id: user-supplied decimal integer 328 * @lun: user-supplied decimal integer 358 * @host: user-supplied decimal integer 359 * @channel: user-supplied decimal integer 360 * @id: user-supplied decimal integer 361 * @lun: user-supplied decimal integer
|
| /linux/drivers/iio/test/ |
| H A D | iio-test-rescale.c | 329 * 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/Documentation/ABI/stable/ |
| H A D | procfs-audit_loginuid | 9 decimal unsigned int (%u, u32). If it is unset, 24 audit login session ID of process $pid as a decimal
|
| H A D | sysfs-driver-ib_srp | 25 * max_sect, a decimal number specifying the maximum number of 27 * max_cmd_per_lun, a decimal number specifying the maximum 71 * max_it_iu_size, a decimal number specifying the maximum
|
| /linux/tools/power/cpupower/utils/helpers/ |
| H A D | bitmask.c | 88 * 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/tools/perf/pmu-events/arch/s390/cf_z16/ |
| H A D | extended.json | 370 "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/lib/ |
| H A D | bitmap-str.c | 45 * true: print in decimal list format 79 * bitmask and decimal list to userspace by sysfs ABI. 122 * and it can break the size limit of converted decimal list and hexadecimal 155 * bitmap_print_list_to_buf - convert bitmap to decimal list format ASCII string 320 * Input format is a comma-separated list of decimal numbers and 322 * decimal numbers, the smallest and largest bit numbers set in
|
| /linux/arch/sparc/include/uapi/asm/ |
| H A D | display7seg.h | 23 * POINT - Toggle decimal point (0=absent 1=present) 40 #define D7S_POINT (1 << 7) /* Decimal point*/
|
| /linux/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
|
| /linux/include/linux/sunrpc/ |
| H A D | msg_prot.h | 185 * the first through fourth octets each converted to ASCII-decimal. 187 * and second octets each converted to ASCII-decimal. For example, if a 189 * a service listening on, in big endian order, port 0x020F (decimal
|
| /linux/Documentation/input/devices/ |
| H A D | iforce-protocol.rst | 186 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.
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z14/ |
| H A D | extended.json | 315 …t of floating point execution slots used for finished Binary Coded Decimal to Decimal Floating Poi… 322 …g point execution slots used for finished vector arithmetic Binary Coded Decimal instructions. Ins… 328 "BriefDescription": "Decimal Instructions", 329 …"PublicDescription": "Decimal instructions dispatched. Instructions: CVB, CVD, AP, CP, DP, ED, EDM…
|
| /linux/drivers/iio/light/ |
| H A D | opt3001.c | 93 * Factor used to align decimal part of processed value to six decimal 251 int decimal = opt->chip_info->factor_decimal; in opt3001_to_iio_ret() local 255 *val2 = (ret - (*val * integer)) * decimal; in opt3001_to_iio_ret() 572 int decimal; in opt3001_write_event_value() local 593 decimal = opt->chip_info->factor_decimal; in opt3001_write_event_value() 595 mantissa = (((val * integer) + (val2 / decimal)) / whole) >> exponent; in opt3001_write_event_value()
|
| /linux/Documentation/w1/slaves/ |
| H A D | w1_ds2438.rst | 68 registers and provided as an ASCII decimal value. 85 After the voltage conversion the value is returned as decimal ASCII.
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z15/ |
| H A D | extended.json | 315 …t of floating point execution slots used for finished Binary Coded Decimal to Decimal Floating Poi… 322 …g point execution slots used for finished vector arithmetic Binary Coded Decimal instructions. Ins… 328 "BriefDescription": "Decimal Instructions", 329 …"PublicDescription": "Decimal instructions dispatched. Instructions: CVB, CVD, AP, CP, DP, ED, EDM…
|