/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 | 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/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/phosphor-power/tools/i2c/ |
H A D | i2c_interface.hpp | 32 virtual ~I2CException() = default; 51 virtual ~I2CInterface() = default; 73 virtual void open() = 0; 79 virtual bool isOpen() const = 0; 83 * The interface can later be re-opened by calling open(). 92 virtual void close() = 0; 96 * @param[out] data - The data read from the i2c device 100 virtual void read(uint8_t& data) = 0; 104 * @param[in] addr - The register address of the i2c device 105 * @param[out] data - The data read from the i2c device [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | iavf.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 4 Linux Base Driver for Intel(R) Ethernet Adaptive Virtual Function 7 Intel Ethernet Adaptive Virtual Function Linux driver. 8 Copyright(c) 2013-2018 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Additional Configurations 16 - Known Issues/Troubleshooting 17 - Support 25 The iavf driver supports the below mentioned virtual function devices and [all …]
|
H A D | i40e.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Intel(R) Ethernet Flow Director 16 - Additional Configurations 17 - Known Issues 18 - Support 47 ---------------------- 49 …intel.com/content/dam/www/public/us/en/documents/release-notes/xl710-ethernet-controller-feature-m… [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | speed_select.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 34 * the info on new D-Bus objects on the given bus connection. 52 * E.g. fn(0x7A) -> {1,3,4,5,6} 69 virtual ~SSTInterface() {} in ~SSTInterface() 76 virtual bool ready() = 0; 78 /** Whether the processor supports the control ("set") functions. */ 79 virtual bool supportsControl() = 0; 81 /** Whether SST-PP is enabled on the processor. */ 82 virtual bool ppEnabled() = 0; 83 /** Return the current SST-PP configuration level */ [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | pmbus-core.rst | 9 power-management protocol with a fully defined command language that facilitates 11 protocol is implemented over the industry-standard SMBus serial interface and 12 enables programming, control, and real-time monitoring of compliant power 18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters 22 commands, and manufacturers can add as many non-standard commands as they like. 23 Also, different PMBUs devices act differently if non-supported commands are 43 PMBus device capabilities auto-detection 46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported 47 PMBus commands. Auto-detection is somewhat limited, since there are simply too 50 pages (see the PMBus specification for details on multi-page PMBus devices). [all …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 23 * lps_pvt BFA LPS private functions 33 BFA_LPS_SM_RX_CVL = 7, /* Rx clear virtual link */ 52 #define __fcs_min_cfg(__fcs) ((__fcs)->min_cfg) 143 u16 num_rports; /* Num of r-ports */ 144 struct list_head rport_q; /* queue of discovered r-ports */ 154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa) [all …]
|
H A D | bfa_svc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 19 * Scatter-gather DMA related defines 27 #define BFA_SGPG_ROUNDUP(_l) (((_l) + (sizeof(struct bfi_sgpg_s) - 1)) \ 28 & ~(sizeof(struct bfi_sgpg_s) - 1)) 51 /* Max SGPG dma segs required */ 64 #define BFA_SGPG_MOD(__bfa) (&(__bfa)->modules.sgpg_mod) 65 #define BFA_MEM_SGPG_KVA(__bfa) (&(BFA_SGPG_MOD(__bfa)->kva_seg)) [all …]
|
/openbmc/qemu/docs/ |
H A D | rdma.txt | 31 data copies by bypassing the host networking stack. In particular, a TCP-based 32 migration, under certain types of memory-bound workloads, may take a more 38 over Converged Ethernet) as well as Infiniband-based. This implementation of 56 of RDMA migration may in fact be harmful to co-located VMs or other 58 relocate the entire footprint of the virtual machine. If so, then the 62 For example, if you have an 8GB RAM virtual machine, but only 1GB 65 bulk-phase round of the migration and can be enabled for extremely 66 high-performance RDMA hardware using the following command: 69 $ migrate_set_capability rdma-pin-all on # disabled by default 79 Note: for very large virtual machines (hundreds of GBs), pinning all [all …]
|
/openbmc/linux/include/uapi/misc/ |
H A D | fastrpc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 22 * enum fastrpc_map_flags - control flags for mapping memory on DSP user process 23 * @FASTRPC_MAP_STATIC: Map memory pages with RW- permission and CACHE WRITEBACK. 25 * the buffer to FastRPC calls. Same virtual address will be 28 * @FASTRPC_MAP_FD: Map memory pages with RW- permission and CACHE WRITEBACK. 30 * CPU and DSP cache maintenance for the buffer. Get virtual address 33 * functions on DSP. It is useful to map a buffer with cache modes 38 * @FASTRPC_MAP_MAX: max count for flags 106 __u64 vaddrin; /* optional virtual address */ 108 __u64 vaddrout; /* dsp virtual address */ [all …]
|
/openbmc/bios-bmc-smm-error-logger/include/ |
H A D | buffer.hpp | 55 return std::tie(this->bmcInterfaceVersion, this->biosInterfaceVersion, in operator ==() 56 this->magicNumber, this->queueSize, this->ueRegionSize, in operator ==() 57 this->bmcFlags, this->bmcReadPtr, this->biosFlags, in operator ==() 58 this->biosWritePtr) == in operator ==() 77 return std::tie(this->sequenceId, this->entrySize, this->checksum, in operator ==() 78 this->rdeCommandType) == in operator ==() 92 virtual ~BufferInterface() = default; 97 * @param[in] bmcInterfaceVersion - Used to initialize the header 98 * @param[in] queueSize - Used to initialize the header 99 * @param[in] ueRegionSize - Used to initialize the header [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_vnic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2009-2013 QLogic Corporation 14 return -EBUSY; in qlcnic_83xx_enable_vnic_mode() 16 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_OPER); in qlcnic_83xx_enable_vnic_mode() 25 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_83xx_disable_vnic_mode() 29 return -EBUSY; in qlcnic_83xx_disable_vnic_mode() 32 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_NON_OPER); in qlcnic_83xx_disable_vnic_mode() 33 ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; in qlcnic_83xx_disable_vnic_mode() 44 int ret = -EBUSY; in qlcnic_83xx_set_vnic_opmode() 46 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_83xx_set_vnic_opmode() [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 27 See Documentation/misc-devices/ad525x_dpot.rst for the 40 module will be called ad525x_dpot-i2c. 51 module will be called ad525x_dpot-spi. 65 This option enables device driver support for in-band access to the 68 ASM (Advanced Systems Management) functions on the service 78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/> 83 tristate "IBM Virtual Management Channel support" 86 This is the IBM POWER Virtual Management Channel 88 This driver is to be used for the POWER Virtual [all …]
|
/openbmc/qemu/hw/audio/ |
H A D | gusemu.h | 2 * GUSEMU32 - API 4 * Copyright (C) 2000-2007 Tibor "TS" Schütz 31 …uint8_t *gusdatapos; /* (gusdataend-gusdata) bytes used for storing emulated GF1/mixer register st… 39 /* ** Callback functions needed: */ 40 /* NMI is defined as hwirq=-1 (not supported (yet?)) */ 41 /* GUS_irqrequest returns the number of IRQs actually scheduled into the virtual machine */ 44 …est(GUSEmuState *state, int hwirq, int num);/* needed in both mixer and bus emulation functions. */ 45 …EmuState *state, int hwirq); /* used by gus_write() only - can be left empty for mixer functions */ 46 …EmuState *state); /* used by gus_write() only - can be left empty for mixer functions */ 48 /* ** ISA bus interface functions: */ [all …]
|
/openbmc/pldm/platform-mc/ |
H A D | terminus_manager.hpp | 32 constexpr size_t tidPoolSize = std::numeric_limits<pldm_tid_t>::max() + 1; 52 virtual ~TerminusManager() = default; 62 // DSP0240 v1.1.0 table-8, special value: 0,0xFF = reserved in TerminusManager() 69 * @param[in] mctpInfos - list information of the MCTP endpoints 75 * @param[in] mctpInfos - list information of the MCTP endpoints 84 * @param[in] tid - Destination TID 85 * @param[in] request - request PLDM message 86 * @param[out] responseMsg - response PLDM message 87 * @param[out] responseLen - length of response PLDM message 88 * @return coroutine return_value - PLDM completion code [all …]
|
/openbmc/linux/include/sound/ |
H A D | emux_synth.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Defines for the Emu-series WaveTable chip 64 #define SNDRV_EMUX_MAX_PORTS 32 /* max # of sequencer ports */ 65 #define SNDRV_EMUX_MAX_VOICES 64 /* max # of voices */ 66 #define SNDRV_EMUX_MAX_MULTI_VOICES 16 /* max # of playable voices 89 int midi_ports; /* number of virtual midi devices */ 90 int midi_devidx; /* device offset of virtual midi */ 108 struct timer_list tlist; /* for pending note-offs */ 216 * prototypes - interface to Emu10k1 and Emu8k routines 223 * exported functions
|
/openbmc/bmcweb/ |
H A D | .clang-tidy | 1 Checks: '-*, 2 boost-use-to-string, 3 bugprone-argument-comment, 4 bugprone-assert-side-effect, 5 bugprone-assignment-in-if-condition, 6 bugprone-bad-signal-to-kill-thread, 7 bugprone-bool-pointer-implicit-conversion, 8 bugprone-branch-clone, 9 bugprone-casting-through-void, 10 bugprone-chained-comparison, [all …]
|
/openbmc/linux/arch/mips/bcm47xx/ |
H A D | prom.c | 4 * Copyright (C) 2010-2012 Hauke Mehrtens <hauke@hauke-m.de> 59 unsigned long max; in prom_init_mem() local 66 * However as the BCM47XX is mostly used on low-memory systems, we in prom_init_mem() 68 * functions stop to work at some point during the boot, we should only in prom_init_mem() 80 max = 128 << 20; in prom_init_mem() 82 for (mem = 1 << 20; mem < max; mem += 1 << 20) { in prom_init_mem() 84 if (off + mem >= max) { in prom_init_mem() 85 mem = max; in prom_init_mem() 99 if (c->cputype == CPU_74K && (mem == (128 << 20))) in prom_init_mem() 100 mem -= 0x1000; in prom_init_mem() [all …]
|
/openbmc/linux/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/dma-mapping.h> 14 #include <linux/pci-epc.h> 15 #include <linux/pci-epf.h> 16 #include <linux/pci-ep-cfs.h> 24 * pci_epf_unbind() - Notify the function driver that the binding between the 35 if (!epf->driver) { in pci_epf_unbind() 36 dev_WARN(&epf->dev, "epf device not bound to driver\n"); in pci_epf_unbind() 40 mutex_lock(&epf->lock); in pci_epf_unbind() 41 list_for_each_entry(epf_vf, &epf->pci_vepf, list) { in pci_epf_unbind() [all …]
|
/openbmc/linux/sound/pci/echoaudio/ |
H A D | echoaudio.h | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 34 +-----------+ 35 record | |<-------------------- Inputs 36 <-------| | | 39 ------->| | +-------+ 40 play | |--->|monitor|-------> Outputs 41 +-----------+ | mixer | [all …]
|
/openbmc/linux/include/net/ |
H A D | ip_vs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* IP Virtual Server 40 return net->ipvs; in net_ipvs() 74 iphdr->hdr_flags = hdr_flags; in ip_vs_fill_iph_skb_off() 75 iphdr->off = offset; in ip_vs_fill_iph_skb_off() 85 iphdr->saddr.in6 = iph->saddr; in ip_vs_fill_iph_skb_off() 86 iphdr->daddr.in6 = iph->daddr; in ip_vs_fill_iph_skb_off() 88 iphdr->len = offset; in ip_vs_fill_iph_skb_off() 89 iphdr->flags = 0; in ip_vs_fill_iph_skb_off() 90 iphdr->protocol = ipv6_find_hdr(skb, &iphdr->len, -1, in ip_vs_fill_iph_skb_off() [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/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma_types.h | 1 /* SPDX-License-Identifier: MIT */ 70 * A new flavour of core GEM functions which work with GGTT bound objects were 77 * GEM API functions, the ones not taking the view parameter, are operating on, 86 * New views are required to build a scatter-gather table from within the 92 * calling the core API functions). 174 * DOC: Virtual Memory Address 200 /* mmap-offset associated with fencing for this vma */ 203 u32 guard; /* padding allocated around vma->pages within the node */ 211 * that exist in the ctx->handle_vmas LUT for this vma. 220 * and detect a no-op i915_vma_pin() in a single check, while also [all …]
|