/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/pci-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 - Kishon Vijay Abraham I <kishon@ti.com> 17 pattern: "^pcie-ep@" 19 max-functions: 20 description: Maximum number of functions that can be configured 26 max-virtual-functions: 27 description: Array representing the number of virtual functions corresponding to each physical [all …]
|
H A D | rcar-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Renesas Electronics Europe GmbH - https://www.renesas.com/eu/en/ 4 --- 5 $id: http://devicetree.org/schemas/pci/rcar-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Renesas R-Car PCIe Endpoint 11 - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 12 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 17 - enum: 18 - renesas,r8a774a1-pcie-ep # RZ/G2M [all …]
|
H A D | ti,j721e-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: cdns-pcie-ep.yaml# 19 - const: ti,j721e-pcie-ep 20 - description: PCIe EP controller in AM64 22 - const: ti,am64-pcie-ep [all …]
|
H A D | snps,dw-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jingoo Han <jingoohan1@gmail.com> 11 - Gustavo Pimentel <gustavo.pimentel@synopsys.com> 16 # Please create a separate DT-schema for your DWC PCIe Endpoint controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie-ep 23 - compatible [all …]
|
/openbmc/u-boot/doc/driver-model/ |
H A D | livetree.txt | 6 ------------ 8 Traditionally U-Boot has used a 'flat' device tree. This means that it 13 This document describes U-Boot's support for a 'live' device tree, meaning 14 that the tree is loaded into a hierarchical data structure within U-Boot. 18 ---------- 22 - it is the format produced by the device tree compiler, so no translation 25 - it is fairly compact (e.g. there is no need for pointers) 27 - it is accessed by the libfdt library, which is well tested and stable 38 Driver model scans the entire device tree sequentially on start-up which 40 modified at run-time, a live tree is much faster. Even if no modification [all …]
|
/openbmc/linux/tools/power/pm-graph/config/ |
H A D | example.cfg | 6 # command line. It also includes advanced settings for functions 9 # sudo ./sleepgraph.py -config config/example.cfg 14 # ---- General Options ---- 26 output-dir: suspend-{hostname}-{date}-{time} 49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action) 53 # Switch the display on/off for the test using xset (default: no-action) 57 # Print the status of the test run in the given file (default: no-action) 64 # ---- Advanced Options ---- 74 # graph source functions in the timeline (default: false) 101 # Call Loop Max Gap (dev mode only) [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 API, which will be used by other function-entry hooking 27 See Documentation/trace/ftrace-design.rst 32 See Documentation/trace/ftrace-design.rst 40 See Documentation/trace/ftrace-design.rst 69 See Documentation/trace/ftrace-design.rst 74 See Documentation/trace/ftrace-design.rst 79 Arch supports the gcc options -pg with -mfentry 84 Arch supports the gcc options -pg with -mrecord-mcount and -nop-mcount 89 Arch supports objtool --mcount [all …]
|
/openbmc/linux/net/xdp/ |
H A D | xsk_queue.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* XDP user-space ring structure 58 * Documentation/core-api/circular-buffers.rst. For the Rx and 65 * if (LOAD ->consumer) { (A) LOAD.acq ->producer (C) 67 * STORE.rel ->producer (B) STORE.rel ->consumer (D) 82 * between ->producer and data. 84 * (A) is a control dependency that separates the load of ->consumer 85 * from the stores of $data. In case ->consumer indicates there is no 118 /* Functions that read and validate content from consumer rings. */ 122 struct xdp_umem_ring *ring = (struct xdp_umem_ring *)q->ring; in __xskq_cons_read_addr_unchecked() [all …]
|
/openbmc/qemu/util/ |
H A D | qemu-progress.c | 2 * QEMU progress printing utility functions 26 #include "qemu/qemu-progress.h" 42 * @max percent of total operation 134 * If @max is zero, @delta is an absolute value of the total job done. 136 * of @max. I.e. the delta is @delta * @max / 100. This allows 137 * relative accounting of functions which may be a different fraction of 142 void qemu_progress_print(float delta, int max) in qemu_progress_print() argument 146 if (max == 0) { in qemu_progress_print() 149 current = state.current + delta / 100 * max; in qemu_progress_print() 157 current < (state.last_print - state.min_skip) || in qemu_progress_print()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * ACPI PCI HotPlug glue functions to ACPI CA subsystem 5 * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com) 6 * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com) 8 * Copyright (C) 2003-2005 Matthew Wilcox (willy@infradead.org) 9 * Copyright (C) 2003-2005 Hewlett Packard 21 * - The one in acpiphp_bridge has its refcount elevated by pci_get_slot() 24 * - When a P2P bridge is present, we elevate the refcount on the subordinate 35 #include <linux/pci-acpi.h> 54 * acpiphp_init_context - Create hotplug context and grab a reference to it. [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | math_support.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/kernel.h> /* Override the definition of max/min from linux kernel*/ 34 /* for preprocessor and array sizing use MIN and MAX 35 otherwise use min and max */ 36 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro 40 #define CEIL_DIV(a, b) (((b) != 0) ? ((a) + (b) - 1) / (b) : 0) 42 #define CEIL_MUL2(a, b) (((a) + (b) - 1) & ~((b) - 1)) 43 #define CEIL_SHIFT(a, b) (((a) + (1 << (b)) - 1) >> (b)) 45 #define ROUND_HALF_DOWN_DIV(a, b) (((b) != 0) ? ((a) + (b / 2) - 1) / (b) : 0) 54 #define NEXT_POWER_OF_2(x) (bit32(x - 1) + 1) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/addac/ |
H A D | adi,ad74413r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74412R and AD74413R are quad-channel software configurable input/output 18 The devices feature a 16-bit ADC and four configurable 13-bit DACs to provide 19 four configurable input/output channels and a suite of diagnostic functions. 20 The AD74413R differentiates itself from the AD74412R by being HART-compatible. 27 - adi,ad74412r 28 - adi,ad74413r [all …]
|
/openbmc/linux/samples/pktgen/ |
H A D | functions.sh | 2 # Common functions used by pktgen scripts 3 # - Depending on bash 3 (or higher) syntax 8 set -o errexit 10 ## -- General shell logging cmds -- 23 if [[ -n "$VERBOSE" ]]; then 28 ## -- Pktgen proc config commands -- ## 31 # Three different shell functions for configuring the different 35 # These functions correspond to pktgens different components. 67 if [[ ! -e "$proc_ctrl" ]]; then 70 if [[ ! -w "$proc_ctrl" ]]; then [all …]
|
/openbmc/linux/Documentation/core-api/ |
H A D | rbtree.rst | 2 Red-black Trees (rbtree) in Linux 9 What are red-black trees, and what are they for? 10 ------------------------------------------------ 12 Red-black trees are a type of self-balancing binary search tree, used for 19 Red-black trees are similar to AVL trees, but provide faster real-time bounded 26 There are a number of red-black trees in use in the kernel. 29 The high-resolution timer code uses an rbtree to organize outstanding 31 red-black tree. Virtual memory areas (VMAs) are tracked with red-black 38 Linux Weekly News article on red-black trees 41 Wikipedia entry on red-black trees [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-throttle.c | 4 * Copyright Nodalink, EURL. 2013-2014 12 * See the COPYING.LIB file in the top-level directory. 20 #include "qemu/error-report.h" 21 #include "qemu/main-loop.h" 23 #include "block/throttle-groups.h" 24 #include "sysemu/block-backend.h" 36 return fabsl(x - y) < 1e-6; in double_cmp() 47 bkt.max = 15; in test_leak_bucket() 53 g_assert(bkt.max == 15); in test_leak_bucket() 59 g_assert(bkt.max == 15); in test_leak_bucket() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/security/tpm/ |
H A D | google,cr50.txt | 4 functions, including TPM-like functionality. It communicates over 8 - compatible: Should be "google,cr50". 9 - spi-max-frequency: Maximum SPI frequency. 17 spi-max-frequency = <800000>;
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 27 …hange this value to change the number of decimal places in the final output - 5 is a good default … 30 #define MAX (1 << (SHIFT_AMOUNT - 1)) - 1 /* 32767 - Might change in the future */ macro 32 /* ------------------------------------------------------------------------------- 33 * NEW TYPE - fINT 34 * ------------------------------------------------------------------------------- 45 int real: 32 - SHIFT_AMOUNT; 49 /* ------------------------------------------------------------------------------- 51 * ------------------------------------------------------------------------------- 58 static fInt fNegate(fInt); /* Returns -1 * input fInt value */ 60 static fInt fSubtract (fInt A, fInt B); /* Returns A-B - Sometimes easier than Ad… [all …]
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | errp-guard.cocci | 20 // spatch --sp-file scripts/coccinelle/errp-guard.cocci \ 21 // --macro-file scripts/cocci-macro-file.h --in-place \ 22 // --no-show-diff --max-width 80 FILES... 24 // Note: --max-width 80 is needed because coccinelle default is less 32 // Disable optional_qualifier to skip functions with 35 // Skip functions with "assert(_errp && *_errp)" statement, because 47 - Error **_errp 55 - _errp 61 // Add invocation of ERRP_GUARD() to errp-functions where // necessary 103 // functions to warn (even those we are not going to convert). [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 cx231xx.h - driver for Conexant Cx23100/101/102 USB video capture devices 21 #include <media/drv-intf/cx2341x.h> 23 #include <media/videobuf2-vmalloc.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-fh.h> 27 #include <media/rc-core.h> 28 #include <media/i2c/ir-kbd-i2c.h> 30 #include "cx231xx-reg.h" [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_82598.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 10 #define IXGBE_DPMCS_TDPAC 0x00000001 /* 0 Round Robin, 1 DFP - Deficit Fixed Priority */ 17 #define IXGBE_RT2CR_MCL_SHIFT 12 /* Offset to Max Credit Limit setting */ 33 #define IXGBE_PDPMCS_TPPAC 0x00000020 /* 0 Round Robin, 1 for DFP - Deficit Fixed Priority */ 46 /* DCB hardware-specific driver APIs */ 48 /* DCB PFC functions */ 54 u16 *max, 59 u16 *max, 65 u16 *max, [all …]
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | intro-specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 21 - ``--spec`` - point to the spec file 22 - ``--do $name`` / ``--dump $name`` - issue request ``$name`` 23 - ``--json $attrs`` - provide attributes for the request 24 - ``--subscribe $group`` - receive notifications from ``$group`` 30 $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/ethtool.yaml \ 31 --do rings-get \ 32 --json '{"header":{"dev-index": 18}}' 33 {'header': {'dev-index': 18, 'dev-name': 'eni1np1'}, 35 'rx-jumbo': 0, [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/ |
H A D | yosemite4-schematic-init | 1 #!/bin/bash -e 2 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common… 3 source /usr/libexec/yosemite4-common-functions 12 if [ -z "$mgm_stage" ]; then 15 echo pca9506 "0x20" > /sys/bus/i2c/devices/i2c-13/new_device 16 echo pca9506 "0x21" > /sys/bus/i2c/devices/i2c-13/new_device 17 echo pca9506 "0x22" > /sys/bus/i2c/devices/i2c-13/new_device 18 echo pca9506 "0x23" > /sys/bus/i2c/devices/i2c-13/new_device 24 if [ -z "$medusa_stage" ]; then 62 fsc_source=$(busctl get-property xyz.openbmc_project.EntityManager /xyz/openbmc_project/inventory/s… [all …]
|
/openbmc/linux/lib/ |
H A D | pci_iomap.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * pci_iomap_range - create a virtual mapping cookie for a PCI BAR 18 * @maxlen: max length of the memory to map 21 * You can access it using ioread*() and iowrite*(). These functions hide 39 len -= offset; in pci_iomap_range() 53 * pci_iomap_wc_range - create a virtual WC mapping cookie for a PCI BAR 57 * @maxlen: max length of the memory to map 60 * You can access it using ioread*() and iowrite*(). These functions hide 84 len -= offset; in pci_iomap_wc_range() 98 * pci_iomap - create a virtual mapping cookie for a PCI BAR [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * This header file contains helper functions and macros 29 #define THREADS 100 /* Max threads */ 30 #define COUNT 100 /* Max iterations */ 31 #define DSCR_MAX 16 /* Max DSCR value */ 32 #define LEN_MAX 100 /* Max name length */
|
/openbmc/linux/sound/pci/ice1712/ |
H A D | wm8776.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Lowlevel functions for WM8776 codec 7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org> 16 /* low-level access */ 24 wm->regs[addr] = data; in snd_wm8776_write() 25 wm->ops.write(wm, bus_addr, bus_data); in snd_wm8776_write() 28 /* register-level functions */ 34 struct snd_card *card = wm->card; in snd_wm8776_activate_ctl() 42 index_offset = snd_ctl_get_ioff(kctl, &kctl->id); in snd_wm8776_activate_ctl() 43 vd = &kctl->vd[index_offset]; in snd_wm8776_activate_ctl() [all …]
|