/linux/drivers/dma/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 Enable support for the Qualcomm Application Data Mover (ADM) DMA 10 This controller provides DMA capabilities for both general purpose 11 and on-chip peripheral devices. 14 tristate "QCOM BAM DMA support" 19 Enable support for the QCOM BAM DMA controller. This controller 20 provides DMA capabilities for a variety of on-chip devices. 23 tristate "Qualcomm Technologies GPI DMA support" 28 Enable support for the QCOM GPI DMA controller. This controller 29 provides DMA capabilities for a variety of peripheral buses such [all …]
|
H A D | gpi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 9 #include <linux/dma [all...] |
/linux/arch/arm/boot/dts/samsung/ |
H A D | s3c64xx-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * - pin control-related definitions 8 * Samsung's S3C64xx SoCs pin banks, pin-mux and pin-config options are 12 #include "s3c64xx-pinctrl.h" 19 gpa: gpa-gpio-bank { 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; 23 #interrupt-cells = <2>; 26 gpb: gpb-gpio-bank { [all …]
|
/linux/sound/arm/ |
H A D | pxa2xx-ac97-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 #define GCR_nDMAEN (1 << 24) /* non DMA Enable */ 32 #define GCR_ACLINK_OFF (1 << 3) /* AC-link Shut Off */ 35 #define GCR_GIE (1 << 0) /* Codec GPI Interrupt Enable */ 43 #define PISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 48 #define MCSR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */ 65 #define GSR_ACOFFD (1 << 3) /* AC-link Shut Off Done */ 68 #define GSR_GSCI (1 << 0) /* Codec GPI Status Change Interrupt */ 74 #define MCDR (0x0060) /* Mic-in FIFO Data Register */ 90 #define MISR_EOC (1 << 3) /* DMA End-of-Chain (exclusive clear) */
|
/linux/arch/mips/sgi-ip22/ |
H A D | ip22-platform.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/dma-mapping.h> 72 * Create a platform device for the GPI port that receives the 79 sgiwd93_0_pd.hregs = &hpc3c0->scsi_chan0; in sgiwd93_devinit() 80 sgiwd93_0_pd.wdregs = (unsigned char *) hpc3c0->scsi0_ext; in sgiwd93_devinit() 89 sgiwd93_1_pd.hregs = &hpc3c0->scsi_chan1; in sgiwd93_devinit() 90 sgiwd93_1_pd.wdregs = (unsigned char *) hpc3c0->scsi1_ext; in sgiwd93_devinit() 144 * Create a platform device for the GPI port that receives the 168 get_dbe(pbdma, (unsigned int *)&hpc3c1->pbdma[1])) in sgiseeq_devinit() 171 sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 | in sgiseeq_devinit() [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | qcom,spi-geni-qcom.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/qcom,spi-geni-qcom.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 17 mini-core. 24 described in Documentation/devicetree/bindings/soc/qcom/qcom,geni-se.yaml. 27 - $ref: /schemas/spi/spi-controller.yaml# [all …]
|
/linux/drivers/spi/ |
H A D | spi-geni-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2017-2018, The Linux foundation. All rights reserved. 6 #include <linux/dma-mapping.h> 7 #include <linux/dma/qcom-gpi-dma.h> 16 #include <linux/soc/qcom/geni-se.h> 108 struct geni_se *se = &mas->se; in spi_slv_setup() 110 writel(SPI_SLAVE_EN, se->base + SE_SPI_SLAVE_EN); in spi_slv_setup() 111 writel(GENI_IO_MUX_0_EN, se->base + GENI_OUTPUT_CTRL); in spi_slv_setup() 112 writel(START_TRIGGER, se->base + SE_GENI_CFG_SEQ_START); in spi_slv_setup() 113 dev_dbg(mas->dev, "spi slave setup done\n"); in spi_slv_setup() [all …]
|
/linux/drivers/soc/ti/ |
H A D | pruss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PRU-ICSS platform driver for various TI SoCs 5 * Copyright (C) 2014-2020 Texas Instruments Incorporated - http://www.ti.com/ 7 * Suman Anna <s-anna@ti.com> 9 * Tero Kristo <t-kristo@ti.com> 12 #include <linux/clk-provider.h> 13 #include <linux/dma-mapping.h> 29 * struct pruss_private_data - PRUSS driver private data 39 * pruss_get() - get the pruss for a given PRU remoteproc 53 * -EINVAL if invalid parameter [all …]
|
/linux/include/linux/soc/qcom/ |
H A D | geni-se.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved. 17 * @GENI_SE_DMA: Serial Engine DMA mode. Data is transferred 19 * @GENI_GPI_DMA: GPI DMA mode. Data is transferred using a DMAengine 20 * configured by a firmware residing on a GSI engine. This DMA name is 21 * interchangeably used as GSI or GPI which seem to imply the same DMAengine 56 * struct geni_se - GENI Serial Engine 319 * geni_se_read_proto() - Read the protocol configured for a serial engine 328 val = readl_relaxed(se->base + GENI_FW_REVISION_RO); in geni_se_read_proto() 334 * geni_se_setup_m_cmd() - Setup the primary sequencer [all …]
|
/linux/drivers/mmc/host/ |
H A D | via-sdmmc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/mmc/host/via-sdmmc.c - VIA SD/MMC Card Reader driver 9 #include <linux/dma-mapping.h> 62 * Bit 0 -Bit 10 : Block length. So, the maximum block length should be 2048. 63 * Bit 11 - Bit 13 : Reserved. 64 * GPIDET : Select GPI pin to detect card, GPI means CR_CD# in top design. 66 * Bit 16 - Bit 31 : Block count. So, the maximun block count should be 65536. 85 * CRDIE : Command-Response transfer Done Interrupt Enable 86 * CRTOIE : Command-Response response TimeOut Interrupt Enable 87 * ASCRDIE : Auto Stop Command-Response transfer Done Interrupt Enable [all …]
|
/linux/drivers/net/ipa/ |
H A D | gsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 29 * providing a well-defined communication layer between the AP subsystem 32 * -------- --------- 34 * | AP +<---. .----+ Modem | 35 * | +--. | | .->+ | 37 * -------- | | | | --------- 39 * --+-+---+-+-- 41 * |-----------| [all …]
|
/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-bk4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 15 stdout-path = &uart1; 23 audio_ext: oscillator-audio { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <24576000>; 29 enet_ext: oscillator-ethernet { 30 compatible = "fixed-clock"; 31 #clock-cells = <0>; [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sa8775p.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/interconnect/qcom,icc.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/clock/qcom,rpmh.h> 10 #include <dt-bindings/clock/qcom,sa8775p-dispcc.h> 11 #include <dt-bindings/clock/qcom,sa8775p-gcc.h> 12 #include <dt-bindings/clock/qcom,sa8775p-gpucc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h> 15 #include <dt-bindings/mailbox/qcom-ipcc.h> [all …]
|
H A D | qcm2290.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/clock/qcom,dispcc-qcm2290.h> 9 #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 10 #include <dt-bindings/clock/qcom,qcm2290-gpucc.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/interconnect/qcom,qcm2290.h> [all …]
|
H A D | x1e80100.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h> 11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/interconnect/qcom,icc.h> 14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h> [all …]
|
H A D | sm8350-sony-xperia-sagami.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 18 * Yes, you are correct, there is NO MORE {msm,board,pmic}-id on SM8350! 24 chassis-type = "handset"; 27 #address-cells = <2>; 28 #size-cells = <2>; 32 compatible = "simple-framebuffer"; 35 /* The display, even though it's 4K, initializes at 1080-ish p */ 49 gpio-keys { [all …]
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | rtl28xxu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 137 * 0x2000 USB : SIE, USB endpoint, debug, DMA 196 #define USB_TOUT_VAL 0x2F08 /* USB time-out time */ 209 #define USB_SLBBIST 0x2FA0 /* self-loop-back BIST */ 219 #define SYS_SYS0 0x3000 /* include DEMOD_CTL, GPO, GPI, GPOE */ 220 #define SYS_DEMOD_CTL 0x3000 /* control register for DVB-T demodulator */ 229 #define SYS_GPIO_CFG0 0x3007 /* PAD configuration for GPIO0-GPIO3 */
|
/linux/sound/pci/ |
H A D | intel8x0m.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * This is modified (by Sasha Khapyorsky <sashak@alsa-project.org>) version 29 static int index = -2; /* Exclude the first card */ 38 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect)."); 53 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \ 54 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 55 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ 56 ICH_REG_##name##_SR = base + 0x06, /* byte - status register */ \ 57 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ 58 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ [all …]
|
H A D | intel8x0.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ 36 static int buggy_irq = -1; /* auto-check */ 38 static int spdif_aclink = -1; 39 static int inside_vm = -1; 46 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = allowlist + auto-detect, 1 = force autodetect)… 56 MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link."); 75 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \ 76 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 77 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ [all …]
|
H A D | via82xx_modem.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Tjeerd.Mulder <Tjeerd.Mulder@fujitsu-siemens.com> 15 * Sep. 2, 2004 Sasha Khapyorsky <sashak@alsa-project.org> 42 static int index = -2; /* Exclude the first card */ 62 #define VIAREG(via, x) ((via)->port + VIA_REG_##x) 63 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) 66 #define VIA_REG_OFFSET_STATUS 0x00 /* byte - channel status */ 73 #define VIA_REG_OFFSET_CONTROL 0x01 /* byte - channel control */ 81 #define VIA_REG_CTRL_RESET 0x01 /* RW - probably reset? undocumented */ 83 #define VIA_REG_OFFSET_TYPE 0x02 /* byte - channel type (686 only) */ [all …]
|
H A D | via82xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Tjeerd.Mulder <Tjeerd.Mulder@fujitsu-siemens.com> 16 * - use the DSX channels for the first pcm playback. 19 * multi-channel playback is assigned to the second device 21 * - support the secondary capture (on VIA8233/C,8235) 22 * - SPDIF support 26 * the card config of alsa-lib will assign the correct 28 * - clean up the code, separate low-level initialization 32 * - Optimize position calculation for the 823x chips. 64 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ [all …]
|
/linux/sound/pci/pcxhr/ |
H A D | pcxhr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/dma-mapping.h> 39 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 159 [PCI_ID_VX222HRMIC] = { "VX222HR-Mic", 1, 1, 5, 44 }, 160 [PCI_ID_VX222E_MIC] = { "VX222e-Mic", 1, 1, 5, 44 }, 163 [PCI_ID_PCX924HRMIC] = { "PCX924HR-Mic", 1, 1, 5, 44 }, 164 [PCI_ID_PCX924E_MIC] = { "PCX924e-Mic", 1, 1, 5, 44 }, 177 #define PCXHR_BOARD_HAS_AES1(x) (x->fw_file_set != 4) 179 #define PCXHR_BOARD_AESIN_NO_192K(x) ((x->capture_chips == 0) || \ 180 (x->fw_file_set == 0) || \ [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 15 * Use separate card based DMA buffer for periods table list. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ [all …]
|