/openbmc/linux/drivers/misc/mei/ |
H A D | hw-me-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2003-2022, Intel Corporation. All rights reserved. 45 #define MEI_DEV_ID_CPT_1 0x1C3A /* Couger Point */ 48 #define MEI_DEV_ID_PPT_1 0x1E3A /* Panther Point */ 49 #define MEI_DEV_ID_PPT_2 0x1CBA /* Panther Point */ 50 #define MEI_DEV_ID_PPT_3 0x1DBA /* Panther Point */ 52 #define MEI_DEV_ID_LPT_H 0x8C3A /* Lynx Point H */ 53 #define MEI_DEV_ID_LPT_W 0x8D3A /* Lynx Point - Wellsburg */ 54 #define MEI_DEV_ID_LPT_LP 0x9C3A /* Lynx Point LP */ 55 #define MEI_DEV_ID_LPT_HR 0x8CBA /* Lynx Point H Refresh */ [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/ |
H A D | common-and-microarch.json | 129 "PublicDescription": "Attributable Level 1 data cache write-back", 132 "BriefDescription": "Attributable Level 1 data cache write-back" 147 "PublicDescription": "Attributable Level 2 data cache write-back", 150 "BriefDescription": "Attributable Level 2 data cache write-back" 231 "PublicDescription": "Attributable Level 3 data cache allocation without refill", 234 "BriefDescription": "Attributable Level 3 data cache allocation without refill" 237 "PublicDescription": "Attributable Level 3 data cache refill", 240 "BriefDescription": "Attributable Level 3 data cache refill" 243 "PublicDescription": "Attributable Level 3 data cache access", 246 "BriefDescription": "Attributable Level 3 data cache access" [all …]
|
/openbmc/u-boot/include/usb/ |
H A D | ehci-ci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 /* offsets for the non-ehci registers in the FSL SOC USB controller */ 21 #define PORT_PTS_MSK (3 << 30) 24 #define PORT_PTS_SERIAL (3 << 30) 26 #define PORT_PFSC (1 << 24) /* Defined on Page 39-44 of the mpc5151 ERM */ 35 #define CM_HOST (3 << 0) 38 #define SLOM (1 << 3) 45 #define LSF_EN (1 << 3) 58 #define CLKIN_SEL_SYS_CLK2 (3 << 11) 71 #define CTRL_OTG_TERMINATION (0x1<<3) [all …]
|
/openbmc/phosphor-webui/app/common/directives/ |
H A D | serial-console.js | 19 var fontFamily = 'courier-new'; 40 // https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder#Polyfill 44 var Len = str.length, resPos = -1; 45 // The Uint8Array's length must be at least 3x the length of the string 46 // because an invalid UTF-16 47 // takes up the equivelent space of 3 UTF-8 characters to encode it 51 new Uint8Array(Len * 3); 52 for (var point = 0, nextcode = 0, i = 0; i !== Len;) { 53 point = str.charCodeAt(i), i += 1; 54 if (point >= 0xD800 && point <= 0xDBFF) { [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 NetWinder Floating Point Emulator 14 /* This is the kernel's entry point into the floating point emulator. 24 strb r8, [r10, #TSK_USED_MATH] @ set current->used_math 27 ldr pc, [r4] @ Call FP emulator entry point 40 is used as a flag to detect the first time a process uses floating point, 49 2) It calls EmulateAll to emulate a floating point instruction. 52 3) If an instruction has been emulated successfully, it looks ahead at 53 the next instruction. If it is a floating point instruction, it 55 way it repeatedly looks ahead and executes floating point instructions [all …]
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | strnlen_user.S | 50 addi a4, a2, -4 # because we overincrement at the end; 55 movi a8, MASK3 # mask for byte 3 56 bbsi.l a2, 0, .L1mod2 # if only 8-bit aligned 57 bbsi.l a2, 1, .L2mod4 # if only 16-bit aligned 60 * String is word-aligned. 77 bnone a9, a8, .Lz3 # if byte 3 is zero 101 # NOTE that in several places below, we point to the byte just after 104 .Lz3: # byte 3 is zero 105 addi a4, a4, 3 # point to zero byte 107 addi a4, a4, 1 # point just beyond zero byte [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | eeprom.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 49 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 52 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 : in ath5k_eeprom_bin2freq() 55 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 75 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_eeprom_init_header() 89 if (ah->ah_ee_version < AR5K_EEPROM_VERSION_3_0) in ath5k_eeprom_init_header() 101 eep_max = (eep_max | val) - AR5K_EEPROM_INFO_BASE; in ath5k_eeprom_init_header() 108 if (eep_max > (3 * AR5K_EEPROM_INFO_MAX)) { in ath5k_eeprom_init_header() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | ec.c | 1 /* ec.c - Elliptic Curve functions 21 #include "mpi-internal.h" 33 /* Create a new point option. NBITS gives the size in bits of one 34 * coordinate; it is only used to pre-allocate some resources and 50 /* Release the point object P. P may be NULL. */ 60 /* Initialize the fields of a point object. gcry_mpi_point_free_parts 65 p->x = mpi_new(0); in mpi_point_init() 66 p->y = mpi_new(0); in mpi_point_init() 67 p->z = mpi_new(0); in mpi_point_init() 71 /* Release the parts of a point object. */ [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | smu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * These commands are used to retrieve the sdb-partition-XX datas from 31 * - 0..1 : partition address 32 * - 2 : a byte containing the partition ID 33 * - 3 : length (maybe other bits are rest of header ?) 53 * --------------------- 66 * ------------------------ 115 * 0: bus number (from device-tree usually, SMU has lots of busses !) 119 * 3: subaddress length (0..3) 128 * - 0x00: Simple transfer [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/ |
H A D | feature-arm-neon.inc | 2 …-fp16', 'vfpv3-d16', 'vfpv3-d16-fp16', 'vfpv3xd', 'vfpv3xd-fp16', 'neon', 'neon-fp16', 'vfpv4', 'v… 5 # 'vfp', -mfloat-abi parameter and 'hf' suffix is implemented in feature-arm-vfp.inc 10 TUNEVALID[vfpv3d16] = "Enable Vector Floating Point Version 3 with 16 registers (vfpv3-d16) unit." 11 TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv3d16', ' vfpv3-d16', '', d)}" 13 TUNEVALID[vfpv3] = "Enable Vector Floating Point Version 3 with 32 registers (vfpv3) unit." 16 TUNEVALID[vfpv4] = "Enable Vector Floating Point Version 4 (vfpv4) unit." 18 TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', [ 'vfpv4', 'neon' ], ' neon-vfpv4', '', … 20 TUNEVALID[vfpv4d16] = "Enable Vector Floating Point Version 4 with 16 registers (vfpv4-d16) unit." 21 TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfpv4d16', ' vfpv4-d16', '', d)}" 23 …EVALID[vfpv5spd16] = "Enable Vector Floating Point Version 5, Single Precision. with 16 registers … [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 of tasks. It was introduced in v5.3 release. The CGroup support was merged in 22 point; hence the name. That is, by clamping utilization we are making the 23 system run at a certain performance point. 36 performance point to operate at to deliver the desired user experience. Or one 38 much resources and should not go above a specific performance point. Viewing 40 abstraction from user space point of view. 44 performance point required by its display pipeline to ensure no frame is 57 foreground, top-app, etc. Util clamp can be used to constrain how much 58 resources background tasks are consuming by capping the performance point they [all …]
|
/openbmc/linux/include/crypto/internal/ |
H A D | ecc.h | 33 #define ECC_CURVE_NIST_P192_DIGITS 3 38 #define ECC_DIGITS_TO_BYTES_SHIFT 3 45 * ecc_swap_digits() - Copy ndigits from big endian array to native array 56 out[i] = get_unaligned_be64(&src[ndigits - 1 - i]); in ecc_swap_digits() 60 * ecc_digits_from_bytes() - Create ndigits-sized digits array from byte array 70 * ecc_is_key_valid() - Validate a given ECDH private key 83 * ecc_gen_privkey() - Generates an ECC private key. 86 * point G. 97 * ecc_make_pub_key() - Compute an ECC public key 111 * crypto_ecdh_shared_secret() - Compute a shared secret [all …]
|
/openbmc/u-boot/cmd/ |
H A D | yaffs2.c | 6 * # Configure mountpt xxx using nand device 0 using blocks 100-500 11 * yls -l xxx 12 * yrdm xxx/boot-image 82000000 45 /* ytrace - show/set yaffs trace mask */ 56 /* ydevls - lists yaffs mount points. */ 75 return -1; in do_ydevconfig() 80 start_block = simple_strtol(argv[3], NULL, 16); in do_ydevconfig() 94 return -1; in do_ymount() 98 printf("Mounting yaffs2 mount point %s\n", mtpoint); in do_ymount() 111 return -1; in do_yumount() [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | sint.S | 4 | The entry point sINT computes the rounded integer 10 | respectively. Entry point sintdo is used by bindec. 12 | Input: (Entry points sint and sintrz) Double-extended 13 | number X in the ETEMP space in the floating-point 15 | (Entry point sintdo) Double-extended number X in 17 | (Entry point sintd) Double-extended denormalized 18 | number X in the ETEMP space in the floating-point 28 | If exp(X) < 0, return +/- 0 or +/- 1, according to 31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the 34 | 3. Round the result in the mode given in USER_FPCR. For [all …]
|
H A D | sgetem.S | 4 | The entry point sGETEXP returns the exponent portion 10 | The entry point sGETMAN extracts the mantissa of the 13 | range of the result is [1.0 - 2.0). 16 | Input: Double-extended number X in the ETEMP space in 17 | the floating-point save stack. 30 |SGETEM idnt 2,1 | Motorola 040 Floating Point Software Package 39 | This entry point is used by the unimplemented instruction exception 65 | This entry point is used by the unimplemented instruction exception 74 | with an exponent of +/- $3fff. 83 bclrl #14,%d0 |make it the new exp +-3fff [all …]
|
H A D | slog2.S | 4 | The entry point slog10 computes the base-10 8 | sLog2 and sLog2d are the base-2 analogues. 10 | INPUT: Double-extended value in memory location pointed to 13 | OUTPUT: log_10(X) or log_2(X) returned in floating-point 22 | SPEED: Two timings are measured, both in the copy-back mode. 34 | Notes: Default means round-to-nearest mode, no floating-point 49 | Notes: Default means round-to-nearest mode, no floating-point 63 | Notes: Default means round-to-nearest mode, no floating-point 78 | Notes: Default means round-to-nearest mode, no floating-point 82 | go to Step 3. [all …]
|
H A D | decbin.S | 5 | register A6 to extended-precision value in FP0. 9 | Output: Exact floating-point representation of the packed bcd value. 11 | Saves and Modifies: D2-D5 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 32 | The mantissa digits will be converted with the decimal point 33 | assumed following the least-significant digit. 43 | SM = 0 a non-zero digit in the integer position 44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction 47 | representation (ex. 0.1E2, 1E1, 10E0, 100E-1), is converted 75 |DECBIN idnt 2,1 | Motorola 040 Floating Point Software Package [all …]
|
/openbmc/linux/tools/perf/arch/powerpc/util/ |
H A D | sym-handling.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "probe-event.h" 11 #include "probe-file.h" 16 char *sym = syma->name; in arch__choose_best_symbol() 25 if (strlen(sym) >= 3 && !strncmp(sym, "SyS", 3)) in arch__choose_best_symbol() 72 s->arch_sym = sym->st_other; in arch__sym_update() 85 * When probing at a function entry point, we normally always want the in arch__fix_tev_from_maps() 94 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps() 98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps() 105 lep_offset = PPC64_LOCAL_ENTRY_OFFSET(sym->arch_sym); in arch__fix_tev_from_maps() [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | mmu_notifier.rst | 14 B) a page table entry is updated to point to a new page (COW, write fault 23 - take page table lock 24 - clear page table entry and notify ([pmd/pte]p_huge_clear_flush_notify()) 25 - set page table entry to point to new page 33 Two address addrA and addrB such that \|addrA - addrB\| >= PAGE_SIZE we assume 38 [Time N] -------------------------------------------------------------------- 39 CPU-thread-0 {try to write to addrA} 40 CPU-thread-1 {try to write to addrB} 41 CPU-thread-2 {} 42 CPU-thread-3 {} [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | f71882fg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2007-2011 Hans de Goede <hdegoede@redhat.com> * 16 #include <linux/hwmon-sysfs.h> 26 #define SIO_UNLOCK_KEY 0x87 /* Key to enable Super-I/O */ 27 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */ 94 #define F71882FG_REG_POINT_PWM(pwm, point) (0xAA + (point) + (16 * (pwm))) argument 95 #define F71882FG_REG_POINT_TEMP(pwm, point) (0xA6 + (point) + (16 * (pwm))) argument 185 [f71808e] = 3, 187 [f71858fg] = 3, 188 [f71862fg] = 3, [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_tv_regs.h | 1 /* SPDX-License-Identifier: MIT */ 26 # define TV_ENC_OUTPUT_SVIDEO_COMPOSITE (3 << 28) 37 # define TV_OVERSAMPLE_8X (3 << 18) 38 # define TV_OVERSAMPLE_MASK (3 << 18) 41 /* Sets the colorburst to PAL mode. Required for non-M PAL modes. */ 54 # define TV_CTL_SAVE ((1 << 11) | (3 << 9) | (7 << 6) | 0xf) 55 # define TV_FUSE_STATE_MASK (3 << 4) 56 /* Read-only state that reports all features enabled */ 58 /* Read-only state that reports that Macrovision is disabled in hardware*/ 60 /* Read-only state that reports that TV-out is disabled in hardware. */ [all …]
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2019-2021 Intel Corporation 32 #define DRV_NAME "keembay-ocs-ecc" 73 #define POW_CUBE 3 76 * struct ocs_ecc_dev - ECC device context 94 * struct ocs_ecc_ctx - Transformation context. 137 return readl_poll_timeout((dev->base_reg + HW_OFFS_OCS_ECC_STATUS), in ocs_ecc_wait_idle() 146 ecc_dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_cmd_start() 156 iowrite32(op_size | inst, dev->base_reg + HW_OFFS_OCS_ECC_COMMAND); in ocs_ecc_write_cmd_and_data() 159 memcpy_toio(dev->base_reg + HW_OFFS_OCS_ECC_DATA_IN, data_in, in ocs_ecc_write_cmd_and_data() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | prctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 /* Get/set current->mm->dumpable */ 13 #define PR_GET_DUMPABLE 3 27 /* Get/set floating-point emulation control bits (if meaningful) */ 33 /* Get/set floating-point exception mode (if meaningful) */ 37 # define PR_FP_EXC_DIV 0x010000 /* floating point divide by zero */ 38 # define PR_FP_EXC_OVF 0x020000 /* floating point overflow */ 39 # define PR_FP_EXC_UND 0x040000 /* floating point underflow */ 40 # define PR_FP_EXC_RES 0x080000 /* floating point inexact result */ 41 # define PR_FP_EXC_INV 0x100000 /* floating point invalid operation */ [all …]
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | prctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 12 /* Get/set current->mm->dumpable */ 13 #define PR_GET_DUMPABLE 3 27 /* Get/set floating-point emulation control bits (if meaningful) */ 33 /* Get/set floating-point exception mode (if meaningful) */ 37 # define PR_FP_EXC_DIV 0x010000 /* floating point divide by zero */ 38 # define PR_FP_EXC_OVF 0x020000 /* floating point overflow */ 39 # define PR_FP_EXC_UND 0x040000 /* floating point underflow */ 40 # define PR_FP_EXC_RES 0x080000 /* floating point inexact result */ 41 # define PR_FP_EXC_INV 0x100000 /* floating point invalid operation */ [all …]
|
/openbmc/u-boot/include/ |
H A D | charset.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 14 #define MAX_UTF8_PER_UTF16 3 17 * console_read_unicode() - read Unicode code point from console 19 * @code: pointer to store Unicode code point 25 * utf8_get() - get next UTF-8 code point from buffer 27 * @src: pointer to current byte, updated to point to next byte 28 * Return: code point, or 0 for end of string, or -1 if no legal 29 * code point is found. In case of an error src points to 35 * utf8_put() - write UTF-8 code point to buffer 37 * @code: code point [all …]
|