/openbmc/openbmc/meta-facebook/meta-ventura/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | ventura-phosphor-multi-gpio-monitor.json | 8 "FALLING": ["leak-detect-assert@SmallComputeTray1.service"], 9 "RISING": ["leak-detect-deassert@SmallComputeTray1.service"] 19 "FALLING": ["leak-detect-assert@SmallComputeTray2.service"], 20 "RISING": ["leak-detect-deassert@SmallComputeTray2.service"] 30 "FALLING": ["leak-detect-assert@SmallComputeTray3.service"], 31 "RISING": ["leak-detect-deassert@SmallComputeTray3.service"] 41 "FALLING": ["leak-detect-assert@SmallComputeTray4.service"], 42 "RISING": ["leak-detect-deassert@SmallComputeTray4.service"] 52 "FALLING": ["leak-detect-assert@SmallComputeTray5.service"], 53 "RISING": ["leak-detect-deassert@SmallComputeTray5.service"] [all …]
|
H A D | frontled | 10 LEDtray=$(echo "$MESSAGE" | cut -d '-' -f1) 12 if [ "$LEDtray" == "compute" ]; then 13 traynum=$(echo "$MESSAGE" | cut -d '-' -f3 | cut -d ' ' -f1) 14 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4) 16 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 17 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 19 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 22 traynum=$(echo "$MESSAGE" | cut -d '-' -f3 | cut -d ' ' -f1) 23 LEDstate=$(echo "$MESSAGE" | cut -d ' ' -f4) 25 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… [all …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 The architecture-agnostic topology definitions are in 12 Documentation/admin-guide/cputopology.rst. This file holds x86-specific 17 Needless to say, code should use the generic functions - this file is *only* 35 - packages 36 - cores 37 - threads 48 Package-related topology information in the kernel: 50 - cpuinfo_x86.x86_max_cores: 54 - cpuinfo_x86.x86_max_dies: [all …]
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | array_size_dup.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /// 1. An opencoded expression is used before array_size() to compute the same size 6 /// 2. An opencoded expression is used after array_size() to compute the same size 13 // Options: --no-includes --include-headers --no-loops 43 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 51 msg = "WARNING: array_size is used later (line %s) to compute the same size" % (p2[0].line) 72 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line) 80 msg = "WARNING: array_size is already used (line %s) to compute the same size" % (p1[0].line) 108 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line) 116 msg = "WARNING: array3_size is used later (line %s) to compute the same size" % (p2[0].line) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/misc/ |
H A D | qcom,fastrpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 The FastRPC implements an IPC (Inter-Processor Communication) 25 - adsp 26 - mdsp 27 - sdsp 28 - cdsp 30 memory-region: [all …]
|
/openbmc/linux/Documentation/gpu/amdgpu/ |
H A D | driver-core.rst | 32 This was a dedicated IP on older pre-vega chips, but has since 58 It is described in more details in :ref:`Display Core <amdgpu-display-core>`. 61 This is a multi-purpose DMA engine. The kernel driver uses it for 66 GC (Graphics and Compute) 67 This is the graphics and compute engine, i.e., the block that 69 largest block on the GPU. The 3D pipeline has tons of sub-blocks. In 75 This is the multi-media engine. It handles video and image encode and 76 decode. It's exposed to userspace for user mode drivers (VA-API, 79 Graphics and Compute Microcontrollers 80 ------------------------------------- [all …]
|
H A D | amdgpu-glossary.rst | 7 'Documentation/gpu/amdgpu/display/dc-glossary.rst'. 22 Compute Unit 43 Graphics and Compute 75 Kernel Compute Queue 84 MicroEngine Compute 90 Multi-Media HUB 96 PowerPlay Library - PowerPlay is the power management component.
|
/openbmc/linux/tools/perf/pmu-events/arch/s390/cf_z16/ |
H A D | pai_crypto.json | 3 "Unit": "PAI-CRYPTO", 10 "Unit": "PAI-CRYPTO", 14 "PublicDescription": "KM-DEA function ending with CC=0" 17 "Unit": "PAI-CRYPTO", 21 "PublicDescription": "KM-TDEA-128 function ending with CC=0" 24 "Unit": "PAI-CRYPTO", 28 "PublicDescription": "KM-TDEA-192 function ending with CC=0" 31 "Unit": "PAI-CRYPTO", 35 "PublicDescription": "KM-Encrypted-DEA function ending with CC=0" 38 "Unit": "PAI-CRYPTO", [all …]
|
/openbmc/linux/drivers/accel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Compute Acceleration device configuration 5 # This framework provides support for compute acceleration devices, such 6 # as, but not limited to, Machine-Learning and Deep-Learning acceleration 12 bool "Compute Acceleration Framework" 14 Framework for device drivers of compute acceleration devices, such 15 as, but not limited to, Machine-Learning and Deep-Learning 19 This framework is integrated with the DRM subsystem as compute 23 major number than GPUs, and will be exposed to user-space using
|
/openbmc/openbmc/poky/meta/recipes-core/libxcrypt/files/ |
H A D | fix_cflags_handling.patch | 10 x86_64-pokysdk-linux-gcc: error: : No such file or directory 14 Upstream-Status: Submitted [https://github.com/besser82/libxcrypt/pull/126] 15 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 16 --- 17 build-aux/scripts/compute-symver-floor | 2 ++ 20 diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor 22 --- a/build-aux/scripts/compute-symver-floor 23 +++ b/build-aux/scripts/compute-symver-floor 24 @@ -36,6 +36,8 @@ sub preprocessor_check {
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/ |
H A D | ventura-init-tray-sgpio-status | 8 systemctl stop phosphor-multi-gpio-monitor 13 # Control compute tray i blue light LED group 25 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 26 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 42 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… 43 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… 47 # Control compute tray i amber light LED group 59 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 60 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/comput… 76 …busctl set-property "xyz.openbmc_project.LED.GroupManager" "/xyz/openbmc_project/led/groups/nvs""$… [all …]
|
/openbmc/linux/drivers/iio/common/inv_sensors/ |
H A D | inv_sensors_timestamp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 /* compute jitter, min and max following jitter in per mille */ 17 (((_val) * (1000 - (_jitter))) / 1000) 27 acc->values[acc->idx++] = val; in inv_update_acc() 28 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc() 29 acc->idx = 0; in inv_update_acc() 31 /* compute the mean of all stored values, use 0 as empty slot */ in inv_update_acc() 32 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc() 33 if (acc->values[i] == 0) in inv_update_acc() 35 sum += acc->values[i]; in inv_update_acc() [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | dma-buf.rst | 1 Buffer Sharing and Synchronization (dma-buf) 4 The dma-buf subsystem provides the framework for sharing buffers for 8 This is used, for example, by drm "prime" multi-GPU support, but is of 11 The three main components of this are: (1) dma-buf, representing a 18 ------------------ 20 This document serves as a guide to device-driver writers on what is the dma-buf 27 exporter, and A as buffer-user/importer. 31 - implements and manages operations in :c:type:`struct dma_buf_ops 33 - allows other users to share the buffer by using dma_buf sharing APIs, 34 - manages the details of buffer allocation, wrapped in a :c:type:`struct [all …]
|
/openbmc/u-boot/cmd/ |
H A D | sha1sum.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <u-boot/sha1.h> 25 ac = argc - 1; in do_sha1sum() 27 if (strcmp(*av, "-v") == 0) { in do_sha1sum() 30 ac--; in do_sha1sum() 40 "compute SHA1 message digest", 42 " - compute SHA1 message digest [save to sum]\n" 43 "sha1sum -v address count [*]sum\n" 44 " - verify sha1sum of memory area" 49 "compute SHA1 message digest", [all …]
|
/openbmc/qemu/qapi/ |
H A D | cxl.json | 1 # -*- Mode: Python -*- 32 # @cxl-inject-general-media-event: 42 # @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event 46 # lower bits include some flags. See CXL r3.0 Table 8-43 General 50 # information. See CXL r3.0 Table 8-43 General Media Event 53 # @type: Type of memory event that occurred. See CXL r3.0 Table 8-43 57 # @transaction-type: Type of first transaction that caused the event 58 # to occur. See CXL r3.0 Table 8-43 General Media Event Record, 70 # @component-id: Device specific component identifier for the event. 71 # May describe a field replaceable sub-component of the device. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/bcm/ |
H A D | bcm2835.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eric Anholt <eric@anholt.net> 11 - Stefan Wahren <wahrenst@gmx.net> 18 - description: BCM2711 based Boards 20 - enum: 21 - raspberrypi,400 22 - raspberrypi,4-compute-module 23 - raspberrypi,4-model-b [all …]
|
/openbmc/openbmc/meta-facebook/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 3 SRC_URI:append:fb-compute-multihost = " file://phosphor-multi-gpio-monitor.json" 4 SRC_URI:append:fb-compute-multihost = " file://obmc-ipmb-rescan-fru.service" 5 SRC_URI:append:fb-compute-multihost = " file://ipmb-rescan-fru" 9 SYSTEMD_SERVICE:${PN}-monitor += "phosphor-multi-gpio-monitor.service" 10 SYSTEMD_SERVICE:${PN} += "obmc-ipmb-rescan-fru.service" 12 SYSTEMD_LINK:${PN}-monitor:append = " ../phosphor-multi-gpio-monitor.service:multi-user.target.requ… 14 GPIO_HOST_TEMPLATES:append = " ${UNPACKDIR}/phosphor-multi-gpio-monitor.json" 16 do_install:append:fb-compute-multihost() { 18 install -d ${D}${datadir}/phosphor-gpio-monitor 19 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-monitor.json \ [all …]
|
/openbmc/linux/arch/x86/events/amd/ |
H A D | power.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Performance events - AMD Processor Power Reporting Mechanism 16 /* Event code: LSB 8 bits, passed in attr->config any other bit is reserved. */ 25 * The ratio of compute unit power accumulator sample period to the 30 /* Maximum accumulated power of a compute unit. */ 36 * Accumulated power represents the sum of each compute unit's (CU) power 45 struct hw_perf_event *hwc = &event->hw; in event_update() 49 prev_pwr_acc = hwc->pwr_acc; in event_update() 50 prev_ptsc = hwc->ptsc; in event_update() 56 * final value (delta) is micro-Watts. Then add it to the event count. in event_update() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | fam15h_power.rst | 16 - BIOS and Kernel Developer's Guide (BKDG) For AMD Family 15h Processors 17 - BIOS and Kernel Developer's Guide (BKDG) For AMD Family 16h Processors 18 - AMD64 Architecture Programmer's Manual Volume 2: System Programming 23 ----------- 55 On multi-node processors the calculated value is for the entire 57 attributes only for internal node0 of a multi-node processor. 67 compute unit power accumulator sample period 76 the ratio of compute unit power accumulator sample period to the 80 max compute unit accumulated power which is indicated by 84 compute unit accumulated power which is indicated by [all …]
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-diff.txt | 1 perf-diff(1) 5 ---- 6 perf-diff - Read perf.data files and display the differential profile 9 -------- 14 ----------- 29 ------- 30 -D:: 31 --dump-raw-trace:: 34 --kallsyms=<file>:: 37 -m:: [all …]
|
/openbmc/linux/lib/ |
H A D | siphash.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 2 /* Copyright (C) 2016-2022 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 4 * SipHash: a fast short-input PRF 7 * This implementation is specifically for SipHash2-4 for a secure PRF 8 * and HalfSipHash1-3/SipHash1-3 for an insecure PRF only suitable for 17 #include <asm/word-at-a-time.h> 28 v3 ^= key->key[1]; \ 29 v2 ^= key->key[0]; \ 30 v1 ^= key->key[1]; \ 31 v0 ^= key->key[0]; [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | fam15h_power.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * fam15h_power.c - AMD Family 15h processor power monitoring 5 * Copyright (c) 2011-2016 Advanced Micro Devices, Inc. 11 #include <linux/hwmon-sysfs.h> 54 /* maximum accumulated power of a compute unit */ 56 /* accumulated power of the compute units */ 60 /* online/offline status of current compute unit */ 77 struct pci_dev *f4 = data->pdev; in power1_input_show() 79 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() 96 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | checksum_64.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Checksums for x86-64 8 * with some code from asm-x86/checksum.h 15 * csum_fold - Fold and invert a 32bit checksum. 41 * ip_fast_csum - Compute the IPv4 header checksum efficiently. 76 * csum_tcpup_nofold - Compute an IPv4 pseudo header checksum. 102 * csum_tcpup_magic - Compute an IPv4 pseudo header checksum. 120 * csum_partial - Compute an internet checksum. 139 * ip_compute_csum - Compute an 16bit IP checksum. 149 * csum_ipv6_magic - Compute checksum of an IPv6 pseudo header.
|
/openbmc/linux/arch/powerpc/kernel/vdso/ |
H A D | cacheflush.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include <asm/asm-offsets.h> 40 addi r5,r7,-1 42 li r5, L1_CACHE_BYTES - 1 45 subf r8,r6,r4 /* compute length */ 49 PPC_SRL. r8,r8,r9 /* compute line count */ 70 addi r5,r7,-1 72 subf r8,r6,r4 /* compute length */ 75 PPC_SRL. r8,r8,r9 /* compute line count */
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 68 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get() 75 return -EFSCORRUPTED; in xfs_rtbuf_get() 78 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get() 80 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get() 117 * Compute and read in starting bitmap block for starting block. in xfs_rtfind_back() 124 bufp = bp->b_addr; in xfs_rtfind_back() 130 bit = (int)(start & (XFS_NBWORD - 1)); in xfs_rtfind_back() 131 len = start - limit + 1; in xfs_rtfind_back() [all …]
|