/linux/Documentation/devicetree/bindings/dma/ |
H A D | fsl,edma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl,edma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale enhanced Direct Memory Access(eDMA) Controller 10 The eDMA channels have multiplex capability by programmable 11 memory-mapped registers. channels are split into two groups, called 16 - Peng Fan <peng.fan@nxp.com> 21 - enum: 22 - fsl,vf610-edma [all …]
|
/linux/drivers/dma/ |
H A D | fsl-edma-main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/dma/fsl-edma.c 5 * Copyright 2013-2014 Freescale Semiconductor, Inc. 8 * Driver for the Freescale eDMA engine with flexible channel multiplexing 9 * capability for DMA request sources. The eDMA block can be found on some 13 #include <dt-bindings/dma/fsl-edma.h> 20 #include <linux/dma-mapping.h> 25 #include "fsl-edma-common.h" 31 vchan_synchronize(&fsl_chan->vchan); in fsl_edma_synchronize() 38 struct edma_regs *regs = &fsl_edma->regs; in fsl_edma_tx_handler() [all …]
|
H A D | fsl-edma-common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (c) 2013-2014 Freescale Semiconductor, Inc 11 #include <linux/dma-mapping.h> 15 #include "fsl-edma-common.h" 49 spin_lock(&fsl_chan->vchan.lock); in fsl_edma_tx_chan_handler() 51 if (!fsl_chan->edesc) { in fsl_edma_tx_chan_handler() 53 spin_unlock(&fsl_chan->vchan.lock); in fsl_edma_tx_chan_handler() 57 if (!fsl_chan->edesc->iscyclic) { in fsl_edma_tx_chan_handler() 58 list_del(&fsl_chan->edesc->vdesc.node); in fsl_edma_tx_chan_handler() 59 vchan_cookie_complete(&fsl_chan->edesc->vdesc); in fsl_edma_tx_chan_handler() [all …]
|
H A D | fsl-edma-common.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 9 #include <linux/dma-direction.h> 11 #include "virt-dma.h" 167 struct fsl_edma_engine *edma; member 226 /* All channel ERR IRQ share one IRQ line */ 274 return fsl_chan->edma->drvdata->flags; in fsl_edma_drvflags() 278 _Generic(((_tcd)->__name), \ 279 __iomem __le64 : edma_readq(chan->edma, &(_tcd)->__name), \ 280 __iomem __le32 : edma_readl(chan->edma, &(_tcd)->__name), \ [all …]
|
/linux/drivers/dma/dw-edma/ |
H A D | dw-edma-pcie.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates. 4 * Synopsys DesignWare eDMA PCIe driver 13 #include <linux/dma/edma.h> 14 #include <linux/pci-epf.h> 18 #include "dw-edma-core.h" 40 /* eDMA registers location */ 42 /* eDMA memory linked list location */ 45 /* eDMA memory data location */ 56 /* eDMA registers location */ [all …]
|
/linux/Documentation/devicetree/bindings/pci/ |
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 …]
|
H A D | rockchip-dw-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/rockchip-dw-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Lin <shawn.lin@rock-chips.com> 11 - Simon Xue <xxm@rock-chips.com> 12 - Heiko Stuebner <heiko@sntech.de> 22 - description: AHB clock for PCIe master 23 - description: AHB clock for PCIe slave 24 - description: AHB clock for PCIe dbi [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 …]
|
/linux/drivers/ata/ |
H A D | sata_mv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sata_mv.c - Marvell SATA support 5 * Copyright 2008-2009: Marvell Corporation, all rights reserved. 12 * Please ALWAYS copy linux-ide@vger.kernel.org on emails. 18 * --> Develop a low-power-consumption strategy, and implement it. 20 * --> Add sysfs attributes for per-chip / per-HC IRQ coalescing thresholds. 22 * --> [Experiment, Marvell value added] Is it possible to use target 23 * mode to cross-connect two Linux boxes with Marvell cards? If so, 31 * 80x1-B2 errata PCI#11: 34 * should be careful to insert those cards only onto PCI-X bus #0, [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | s32g3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright 2021-2024 NXP 7 * Andra-Teodora Ilie <andra.ilie@nxp.com> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 interrupt-parent = <&gic>; 15 #address-cells = <0x02>; 16 #size-cells = <0x02>; 19 #address-cells = <1>; 20 #size-cells = <0>; 22 cpu-map { [all …]
|
H A D | s32g2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright 2017-2021, 2024 NXP 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 interrupt-parent = <&gic>; 14 #address-cells = <2>; 15 #size-cells = <2>; 17 reserved-memory { 18 #address-cells = <2>; 19 #size-cells = <2>; 23 compatible = "arm,scmi-shmem"; [all …]
|
H A D | fsl-ls1012a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1012A family SoC. 6 * Copyright 2019-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 23 rtic-a = &rtic_a; [all …]
|
H A D | fsl-ls1043a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/thermal/thermal.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/gpio/gpio.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
H A D | fsl-ls1046a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1046A family SoC. 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/gpio/gpio.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 37 #address-cells = <1>; [all …]
|
H A D | fsl-ls1028a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1028A family SoC. 5 * Copyright 2018-2020 NXP 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 19 #size-cells = <2>; 22 #address-cells = <1>; [all …]
|
/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vfxxx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #include "vf610-pinfunc.h" 6 #include <dt-bindings/clock/vf610-clock.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 32 compatible = "fixed-clock"; 33 #clock-cells = <0>; 34 clock-frequency = <24000000>; 38 compatible = "fixed-clock"; 39 #clock-cells = <0>; [all …]
|
/linux/Documentation/devicetree/bindings/iommu/ |
H A D | ti,omap-iommu.txt | 4 - compatible : Should be one of, 5 "ti,omap2-iommu" for OMAP2/OMAP3 IOMMU instances 6 "ti,omap4-iommu" for OMAP4/OMAP5 IOMMU instances 7 "ti,dra7-dsp-iommu" for DRA7xx DSP IOMMU instances 8 "ti,dra7-iommu" for DRA7xx IOMMU instances 9 - ti,hwmods : Name of the hwmod associated with the IOMMU instance 10 - reg : Address space for the configuration registers 11 - interrupts : Interrupt specifier for the IOMMU instance 12 - #iommu-cells : Should be 0. OMAP IOMMUs are all "single-master" devices, 19 - ti,#tlb-entries : Number of entries in the translation look-aside buffer. [all …]
|
/linux/drivers/dma/ti/ |
H A D | dma-crossbar.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 8 #include <linux/err.h> 25 .compatible = "ti,dra7-dma-crossbar", 29 .compatible = "ti,am335x-edma-crossbar", 44 u32 dma_requests; /* number of DMA requests on eDMA */ 60 writeb_relaxed(val, iomem + (63 - event % 4)); in ti_am335x_xbar_write() 71 map->mux_val, map->dma_line); in ti_am335x_xbar_free() 73 ti_am335x_xbar_write(xbar->iomem, map->dma_line, 0); in ti_am335x_xbar_free() 80 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); in ti_am335x_xbar_route_allocate() [all …]
|
/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 12 interrupt-parent = <&gic>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 compatible = "arm,cortex-a7"; [all …]
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-rcar-gen4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PCIe controller driver for Renesas R-Car Gen4 Series SoCs 4 * Copyright (C) 2022-2023 Renesas Electronics Corporation 6 * The r8a779g0 (R-Car V4H) controller requires a specific firmware to be 24 #include "pcie-designware.h" 26 /* Renesas-specific */ 95 val = readl(rcar->base + PCIEINTSTS0); in rcar_gen4_pcie_link_up() 103 * -ETIMEDOUT. 125 return -ETIMEDOUT; in rcar_gen4_pcie_speed_change() 137 if (rcar->drvdata->ltssm_control) { in rcar_gen4_pcie_start_link() [all …]
|
/linux/drivers/accel/habanalabs/gaudi2/ |
H A D | gaudi2.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2020-2022 HabanaLabs, Ltd. 45 * since the code already has built-in support for binning of up to MAX_FAULTY_TPCS TPCs 126 #define GAUDI2_PMMU_SPI_SEI_ENABLE_MASK GENMASK(GAUDI2_NUM_OF_MMU_SPI_SEI_CAUSE - 2, 0) 127 #define GAUDI2_HMMU_SPI_SEI_ENABLE_MASK GENMASK(GAUDI2_NUM_OF_MMU_SPI_SEI_CAUSE - 1, 0) 131 #define GAUDI2_VDEC_MSIX_ENTRIES (GAUDI2_IRQ_NUM_SHARED_DEC1_ABNRM - \ 134 #define ENGINE_ID_DCORE_OFFSET (GAUDI2_DCORE1_ENGINE_ID_EDMA_0 - GAUDI2_DCORE0_ENGINE_ID_EDMA_0) 164 /* HW scrambles only bits 0-25 */ 904 "wap sei (wbc axi err)", 921 "WBC ERR RESP_0", [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 2 * Copyright (c) 2008-2011 Atheros Communications Inc. 17 #include <linux/dma-mapping.h> 33 #define TIME_SYMBOLS_HALFGI(t) (((t) * 5 - 4) / 18) 35 #define NUM_SYMBOLS_PER_USEC_HALFGI(_usec) (((_usec*5)-4)/18) 49 { 104, 216 }, /* 3: 16-QAM 1/2 */ 50 { 156, 324 }, /* 4: 16-QAM 3/4 */ 51 { 208, 432 }, /* 5: 64-QAM 2/3 */ 52 { 234, 486 }, /* 6: 64-QAM 3/4 */ 53 { 260, 540 }, /* 7: 64-QAM 5/6 */ 92 struct ieee80211_sta *sta = info->status.status_driver_data[0]; in ath_tx_status() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-davinci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2006-2007 David Brownell 13 #include <linux/err.h> 43 #define BINTEN 0x8 /* GPIO Interrupt Per-Bank Enable Register */ 73 /*--------------------------------------------------------------------------*/ 86 g = d->regs[bank]; in __davinci_direction() 87 spin_lock_irqsave(&d->lock, flags); in __davinci_direction() 88 temp = readl_relaxed(&g->dir); in __davinci_direction() 91 writel_relaxed(mask, value ? &g->set_data : &g->clr_data); in __davinci_direction() 95 writel_relaxed(temp, &g->dir); in __davinci_direction() [all …]
|
/linux/arch/s390/pci/ |
H A D | pci_clp.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/err.h> 20 #include <asm/asm-extable.h> 107 zdev->tlb_refresh = response->refresh; in clp_store_query_pci_fngrp() 108 zdev->dma_mask = response->dasm; in clp_store_query_pci_fngrp() 109 zdev->msi_addr = response->msia; in clp_store_query_pci_fngrp() 110 zdev->max_msi = response->noi; in clp_store_query_pci_fngrp() 111 zdev->fmb_update = response->mui; in clp_store_query_pci_fngrp() 112 zdev->version = response->version; in clp_store_query_pci_fngrp() 113 zdev->maxstbl = response->maxstbl; in clp_store_query_pci_fngrp() [all …]
|
/linux/sound/soc/ti/ |
H A D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 37 #include "edma-pcm.h" 38 #include "sdma-pcm.h" 39 #include "udma-pcm.h" 40 #include "davinci-mcasp.h" 134 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 141 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() 148 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits() [all …]
|