/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | rockchip,rk3399-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Lin <shawn.lin@rock-chips.com> 13 - $ref: /schemas/pci/pci-ep.yaml# 14 - $ref: rockchip,rk3399-pcie-common.yaml# 18 const: rockchip,rk3399-pcie-ep 22 reg-names: 24 - const: apb-base [all …]
|
H A D | cdns-pcie-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/cdns-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tom Joseph <tjoseph@cadence.com> 13 - $ref: cdns-pcie.yaml# 14 - $ref: pci-ep.yaml# 17 cdns,max-outbound-regions: 18 description: maximum number of outbound regions
|
H A D | cdns-pcie-host.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/cdns-pcie-host.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tom Joseph <tjoseph@cadence.com> 13 - $ref: /schemas/pci/pci-bus.yaml# 14 - $ref: cdns-pcie.yaml# 17 cdns,max-outbound-regions: 18 description: maximum number of outbound regions 25 cdns,no-bar-match-nbits: [all …]
|
H A D | cdns,cdns-pcie-ep.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pci/cdns,cdns-pcie-ep.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tom Joseph <tjoseph@cadence.com> 13 - $ref: cdns-pcie-ep.yaml# 17 const: cdns,cdns-pcie-ep 22 reg-names: 24 - const: reg 25 - const: mem [all …]
|
H A D | baikal,bt1-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/baikal,bt1-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Baikal-T1 PCIe Root Port Controller 10 - Serge Semin <fancer.lancer@gmail.com> 13 Embedded into Baikal-T1 SoC Root Complex controller with a single port 14 activated. It's based on the DWC RC PCIe v4.60a IP-core, which is configured 18 performed by software. There four in- and four outbound iATU regions 22 - $ref: /schemas/pci/snps,dw-pcie.yaml# [all …]
|
H A D | snps,dw-pcie.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/pci/snps,dw-pcie.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 Root Port controller 17 # and make sure it's assigned with the vendor-specific compatible string. 21 const: snps,dw-pcie 23 - compatible [all …]
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rockchip-ep.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Author: Shawn Lin <shawn.lin@rock-chips.com> 8 * Simon Xue <xxm@rock-chips.com> 15 #include <linux/pci-epc.h> 17 #include <linux/pci-epf.h> 20 #include "pcie-rockchip.h" 23 * struct rockchip_pcie_ep - private data for PCIe endpoint controller driver 26 * @max_regions: maximum number of regions supported by hardware 27 * @ob_region_map: bitmask of mapped outbound regions 28 * @ob_addr: base addresses in the AXI bus where the outbound regions start [all …]
|
H A D | pcie-iproc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014 Hauke Mehrtens <hauke@hauke-m.de> 9 #include <linux/pci-ecam.h> 17 #include <linux/irqchip/arm-gic-v3.h> 24 #include "pcie-iproc.h" 62 /* derive the enum index of the outbound/inbound mapping registers */ 66 * Maximum number of outbound mapping window sizes that can be supported by any 91 * struct iproc_pcie_ob_map - iProc PCIe outbound mapping controller-specific 93 * @window_sizes: list of supported outbound mapping window sizes in MB 94 * @nr_sizes: number of supported outbound mapping window sizes [all …]
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_defs.h | 2 * PMC-Sierra 8001/8081/8088/8089 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 18 * 3. Neither the names of the above-listed copyright holders nor the names 68 DATA_DIR_OUT = 0x02, /* OUTBOUND */ 77 /* driver compile-time configuration */ 78 #define PM8001_MAX_CCB 1024 /* max ccbs supported */ 84 /* Inbound/Outbound queue size */ 89 #define PM8001_MAX_PHYS 16 /* max. possible phys */ 90 #define PM8001_MAX_PORTS 16 /* max. possible ports */ 91 #define PM8001_MAX_DEVICES 2048 /* max supported device */ [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | fsl_pci_init.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2007-2012 Freescale Semiconductor, Inc. 18 * Hose fields which need to be pre-initialized by board specific code: 19 * regions[] 50 u32 sz = (__ilog2_u64(size) - 1); in set_inbound_window() 59 out_be32(&pi->pitar, r->phys_start >> 12); in set_inbound_window() 60 out_be32(&pi->piwbar, r->bus_start >> 12); in set_inbound_window() 62 out_be32(&pi->piwbear, r->bus_start >> 44); in set_inbound_window() 64 out_be32(&pi->piwbear, 0); in set_inbound_window() 66 if (r->flags & PCI_REGION_PREFETCH) in set_inbound_window() [all …]
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | tsi721.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * RapidIO mport driver for Tsi721 PCIExpress-to-SRIO bridge 19 #include <linux/dma-mapping.h> 32 static int pcie_mrrs = -1; 47 * tsi721_lcread - read from local SREP config space 55 * success or %-EINVAL on failure. 60 struct tsi721_device *priv = mport->priv; in tsi721_lcread() 63 return -EINVAL; /* only 32-bit access is supported */ in tsi721_lcread() 65 *data = ioread32(priv->regs + offset); in tsi721_lcread() 71 * tsi721_lcwrite - write into local SREP config space [all …]
|
/openbmc/linux/include/linux/ |
H A D | rio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 24 #define RIO_NO_HOPCOUNT -1 56 * 0 RapidIO outbound doorbells 57 * 1-15 RapidIO memory regions 63 * 2 RapidIO outbound mailboxes 89 * struct rio_switch - RIO switch info 92 * @port_ok: Status of each port (one bit per port) - OK=1 or UNINIT=0 93 * @ops: pointer to switch-specific operations 95 * @nextdev: Array of per-port pointers to the next attached device 107 * struct rio_switch_ops - Per-switch operations [all …]
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-ep.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Author: Cyrille Pitchen <cyrille.pitchen@free-electrons.com> 9 #include <linux/pci-epc.h> 13 #include "pcie-cadence.h" 29 fn = fn + first_vf_offset + ((vfn - 1) * stride); in cdns_pcie_get_fn_from_vfn() 39 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_write_header() 43 dev_err(&epc->dev, "Only Virtual Function #1 has deviceID\n"); in cdns_pcie_ep_write_header() 44 return -EINVAL; in cdns_pcie_ep_write_header() 47 cdns_pcie_ep_fn_writew(pcie, fn, reg, hdr->deviceid); in cdns_pcie_ep_write_header() 51 cdns_pcie_ep_fn_writew(pcie, fn, PCI_DEVICE_ID, hdr->deviceid); in cdns_pcie_ep_write_header() [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | immap_85xx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright 2007-2012 Freescale Semiconductor, Inc. 47 /* Local-Access Registers & ECM Registers */ 123 u8 res[4096 - 1 * sizeof(struct fsl_i2c_base)]; 191 u32 potar0; /* PCIX Outbound Transaction Addr 0 */ 192 u32 potear0; /* PCIX Outbound Translation Extended Addr 0 */ 193 u32 powbar0; /* PCIX Outbound Window Base Addr 0 */ 194 u32 powbear0; /* PCIX Outbound Window Base Extended Addr 0 */ 195 u32 powar0; /* PCIX Outbound Window Attrs 0 */ 197 u32 potar1; /* PCIX Outbound Transaction Addr 1 */ [all …]
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_init.c | 5 * Copyright (c) 2001-2013 ATTO Technology, Inc. 21 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 40 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 50 mem_desc->esas2r_param = mem_desc->size + align; in esas2r_initmem_alloc() 51 mem_desc->virt_addr = NULL; in esas2r_initmem_alloc() 52 mem_desc->phys_addr = 0; in esas2r_initmem_alloc() 53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc() 54 (size_t)mem_desc-> in esas2r_initmem_alloc() 56 (dma_addr_t *)&mem_desc-> in esas2r_initmem_alloc() 60 if (mem_desc->esas2r_data == NULL) { in esas2r_initmem_alloc() [all …]
|
/openbmc/linux/drivers/scsi/aacraid/ |
H A D | aacraid.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 * Copyright (c) 2000-2010 Adaptec, Inc. 10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com) 11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com) 34 /*------------------------------------------------------------------------------ 36 *----------------------------------------------------------------------------*/ 61 /* Bit definitions in IOA->Host Interrupt Register */ 90 # define AAC_DRIVER_BRANCH "-custom" 95 #define AAC_NUM_IO_FIB (1024 - AAC_NUM_MGT_FIB) 106 /* Thor: 5 phys. buses: #0: empty, 1-4: 256 targets each */ [all …]
|
/openbmc/linux/arch/powerpc/platforms/4xx/ |
H A D | pci.c | 2 * PCI / PCI-X / PCI-Express support for 4xx parts 30 #include <asm/pci-bridge.h> 33 #include <asm/dcr-regs.h> 62 if (dev->devfn != 0 || dev->bus->self != NULL) in fixup_ppc4xx_pci_bridge() 65 hose = pci_bus_to_host(dev->bus); in fixup_ppc4xx_pci_bridge() 69 if (!of_device_is_compatible(hose->dn, "ibm,plb-pciex") && in fixup_ppc4xx_pci_bridge() 70 !of_device_is_compatible(hose->dn, "ibm,plb-pcix") && in fixup_ppc4xx_pci_bridge() 71 !of_device_is_compatible(hose->dn, "ibm,plb-pci")) in fixup_ppc4xx_pci_bridge() 74 if (of_device_is_compatible(hose->dn, "ibm,plb440epx-pci") || in fixup_ppc4xx_pci_bridge() 75 of_device_is_compatible(hose->dn, "ibm,plb440grx-pci")) { in fixup_ppc4xx_pci_bridge() [all …]
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "pcie-designware.h" 46 [DW_PCIE_NON_STICKY_RST] = "non-sticky", 60 pci->app_clks[i].id = dw_pcie_app_clks[i]; in dw_pcie_get_clocks() 63 pci->core_clks[i].id = dw_pcie_core_clks[i]; in dw_pcie_get_clocks() 65 ret = devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_APP_CLKS, in dw_pcie_get_clocks() 66 pci->app_clks); in dw_pcie_get_clocks() 70 return devm_clk_bulk_get_optional(pci->dev, DW_PCIE_NUM_CORE_CLKS, in dw_pcie_get_clocks() 71 pci->core_clks); in dw_pcie_get_clocks() 79 pci->app_rsts[i].id = dw_pcie_app_rsts[i]; in dw_pcie_get_resets() [all …]
|
/openbmc/linux/drivers/parisc/ |
H A D | ccio-dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** ccio-dma.c: 4 ** DMA management routines for first generation cache-coherent machines. 9 ** (c) Copyright 2000 Hewlett-Packard Company 13 ** the I/O MMU - basically what x86 does. 16 ** o outbound DMA is slower - U2 won't prefetch data (GSC+ XQL signal). 17 ** o Inbound DMA less efficient - U2 can't use DMA_FAST attribute. 19 ** o Doesn't work under PCX-U/U+ machines since they didn't follow 20 ** the coherency design originally worked out. Only PCX-W does. 34 #include <linux/dma-map-ops.h> [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3399-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3399-power.h> 12 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; [all …]
|
/openbmc/linux/Documentation/ |
H A D | memory-barriers.txt | 19 documentation at tools/memory-model/. Nevertheless, even this memory 37 Note also that it is possible that a barrier may be a no-op for an 48 - Device operations. 49 - Guarantees. 53 - Varieties of memory barrier. 54 - What may not be assumed about memory barriers? 55 - Address-dependency barriers (historical). 56 - Control dependencies. 57 - SMP barrier pairing. 58 - Examples of memory barrier sequences. [all …]
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2016-2022 HabanaLabs, Ltd. 19 #include <linux/dma-direction.h> 28 #include <linux/io-64-nonatomic-lo-hi.h> 30 #include <linux/dma-buf.h> 42 * bits[63:59] - Encode mmap type 43 * bits[45:0] - mmap offset value 48 #define HL_MMAP_TYPE_SHIFT (59 - PAGE_SHIFT) 107 * enum hl_mmu_page_table_location - mmu page table location 108 * @MMU_DR_PGT: page-table is located on device DRAM. [all …]
|
/openbmc/u-boot/ |
H A D | README | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2000 - 2013 9 This directory contains the source code for U-Boot, a boot loader for 15 The development of U-Boot is closely related to Linux: some parts of 37 scattered throughout the U-Boot source identifying the people or 41 actual U-Boot source tree; however, it can be created dynamically 51 U-Boot, you should send a message to the U-Boot mailing list at 52 <u-boot@lists.denx.de>. There is also an archive of previous traffic 53 on the mailing list - please search the archive before asking FAQ's. 54 Please see http://lists.denx.de/pipermail/u-boot and [all …]
|
/openbmc/linux/include/rdma/ |
H A D | ib_verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 18 #include <linux/dma-mapping.h> 204 if (attr->gid_type == IB_GID_TYPE_IB) in rdma_gid_attr_network_type() 207 if (attr->gid_type == IB_GID_TYPE_ROCE) in rdma_gid_attr_network_type() 210 if (ipv6_addr_v4mapped((struct in6_addr *)&attr->gid)) in rdma_gid_attr_network_type() 281 * This device supports a per-device lkey or stag that can be 288 /* IB_QP_CREATE_INTEGRITY_EN is supported to implement T10-PI */ 359 /* Max size of RNDV header */ 361 /* Max number of entries in tag matching list */ 365 /* Max number of outstanding list operations */ [all …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptbase.c | 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 47 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 61 #include <linux/dma-mapping.h> 68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 106 " debug level - refer to mptdebug.h - (default=0)"); 112 "Enable detection of Firmware fault and halt Firmware on fault - (default=0)"); [all …]
|