Home
last modified time | relevance | path

Searched +full:idma +full:- +full:addr (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/samsung/
Didma.c1 // SPDX-License-Identifier: GPL-2.0+
3 // idma.c - I2S0 internal DMA driver
10 #include <linux/dma-mapping.h>
18 #include "idma.h"
19 #include "i2s-regs.h"
54 } idma; variable
60 *src = idma.lp_tx_addr + in idma_getpos()
61 (readl(idma.regs + I2STRNCNT) & 0xffffff) * 4; in idma_getpos()
66 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue()
67 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_enqueue()
[all …]
Di2s.c1 // SPDX-License-Identifier: GPL-2.0
3 // ALSA SoC Audio Layer - Samsung I2S Controller driver
8 #include <dt-bindings/sound/samsung-i2s.h>
12 #include <linux/clk-provider.h>
23 #include <linux/platform_data/asoc-s3c.h>
26 #include "idma.h"
28 #include "i2s-regs.h"
124 void __iomem *addr; member
133 return i2s->drv->id == SAMSUNG_I2S_ID_SECONDARY; in is_secondary()
144 active = readl(i2s->priv->addr + I2SCON); in tx_active()
[all …]
/kernel/linux/linux-4.19/sound/soc/samsung/
Didma.c2 * sound/soc/samsung/idma.c
16 #include <linux/dma-mapping.h>
24 #include "idma.h"
25 #include "i2s-regs.h"
60 } idma; variable
66 *src = idma.lp_tx_addr + in idma_getpos()
67 (readl(idma.regs + I2STRNCNT) & 0xffffff) * 4; in idma_getpos()
72 struct snd_pcm_runtime *runtime = substream->runtime; in idma_enqueue()
73 struct idma_ctrl *prtd = substream->runtime->private_data; in idma_enqueue()
76 spin_lock(&prtd->lock); in idma_enqueue()
[all …]
Di2s.c3 * ALSA SoC Audio Layer - Samsung I2S Controller driver
13 #include <dt-bindings/sound/samsung-i2s.h>
17 #include <linux/clk-provider.h>
28 #include <linux/platform_data/asoc-s3c.h>
31 #include "idma.h"
33 #include "i2s-regs.h"
61 void __iomem *addr; member
110 return i2s->pri_dai ? true : false; in is_secondary()
113 /* If operating in SoC-Slave mode */
116 u32 mod = readl(i2s->addr + I2SMOD); in is_slave()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-rpc/
Ddma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-rpc/dma.c
12 #include <linux/dma-mapping.h>
48 #define ENDA (IOMD_IO0ENDA - IOMD_IO0CURA)
49 #define CURB (IOMD_IO0CURB - IOMD_IO0CURA)
50 #define ENDB (IOMD_IO0ENDB - IOMD_IO0CURA)
51 #define CR (IOMD_IO0CR - IOMD_IO0CURA)
52 #define ST (IOMD_IO0ST - IOMD_IO0CURA)
54 static void iomd_get_next_sg(struct iomd_dma *idma) in iomd_get_next_sg() argument
58 if (idma->dma.sg) { in iomd_get_next_sg()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-rpc/
Ddma.c2 * linux/arch/arm/mach-rpc/dma.c
15 #include <linux/dma-mapping.h>
50 #define ENDA (IOMD_IO0ENDA - IOMD_IO0CURA)
51 #define CURB (IOMD_IO0CURB - IOMD_IO0CURA)
52 #define ENDB (IOMD_IO0ENDB - IOMD_IO0CURA)
53 #define CR (IOMD_IO0CR - IOMD_IO0CURA)
54 #define ST (IOMD_IO0ST - IOMD_IO0CURA)
56 static void iomd_get_next_sg(struct scatterlist *sg, struct iomd_dma *idma) in iomd_get_next_sg() argument
60 if (idma->dma.sg) { in iomd_get_next_sg()
61 sg->dma_address = idma->dma_addr; in iomd_get_next_sg()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.txt5 - compatible : should be one of the following.
6 - samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
7 - samsung,s5pv210-i2s: for 8/16/24bit multichannel(5.1) I2S with
9 - samsung,exynos5420-i2s: for 8/16/24bit multichannel(5.1) I2S for
14 - samsung,exynos7-i2s: with all the available features of exynos5 i2s,
17 - samsung,exynos7-i2s1: I2S1 on previous samsung platforms supports
21 - reg: physical base address of the controller and length of memory mapped
23 - dmas: list of DMA controller phandle and DMA request line ordered pairs.
24 - dma-names: identifier string for each DMA request line in the dmas property.
26 - clocks: Handle to iis clock and RCLK source clk.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
16 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
18 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with
22 samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for
29 samsung,exynos7-i2s: with all the available features of Exynos5 I2S.
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
43 * t4_wait_op_done_val - wait until an operation is completed
46 * @mask: a single-bit field within @reg that indicates completion
55 * operation completes and -EAGAIN otherwise.
68 if (--attempts == 0) in t4_wait_op_done_val()
69 return -EAGAIN; in t4_wait_op_done_val()
83 * t4_set_reg_field - set a register field to a value
85 * @addr: the register address
[all …]
Dcxgb4.h4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
59 #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__)
125 FEC_RS = 1 << 1, /* Reed-Solomon */
126 FEC_BASER_RS = 1 << 2 /* BaseR/Reed-Solomon */
186 u64 rx_ovflow0; /* drops due to buffer-group 0 overflows */
187 u64 rx_ovflow1; /* drops due to buffer-group 1 overflows */
188 u64 rx_ovflow2; /* drops due to buffer-group 2 overflows */
189 u64 rx_ovflow3; /* drops due to buffer-group 3 overflows */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
43 * t4_wait_op_done_val - wait until an operation is completed
46 * @mask: a single-bit field within @reg that indicates completion
55 * operation completes and -EAGAIN otherwise.
68 if (--attempts == 0) in t4_wait_op_done_val()
69 return -EAGAIN; in t4_wait_op_done_val()
83 * t4_set_reg_field - set a register field to a value
85 * @addr: the register address
[all …]
Dcxgb4.h4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
61 #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__)
138 FEC_RS = 1 << 1, /* Reed-Solomon */
139 FEC_BASER_RS = 1 << 2 /* BaseR/Reed-Solomon */
262 u64 rx_ovflow0; /* drops due to buffer-group 0 overflows */
263 u64 rx_ovflow1; /* drops due to buffer-group 1 overflows */
264 u64 rx_ovflow2; /* drops due to buffer-group 2 overflows */
265 u64 rx_ovflow3; /* drops due to buffer-group 3 overflows */
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2010-2017 Digital Devices GmbH
59 #define DDBRIDGE_VERSION "0.9.33-integrated"
83 const struct ddb_regset *idma; member
338 struct ddb_dma idma[DDB_MAX_INPUT]; member
359 int ddbridge_flashread(struct ddb *dev, u32 link, u8 *buf, u32 addr, u32 len);
363 /* ddbridge-core.c */
/kernel/linux/linux-4.19/drivers/media/pci/ddbridge/
Dddbridge.h4 * Copyright (C) 2010-2017 Digital Devices GmbH
66 #define DDBRIDGE_VERSION "0.9.33-integrated"
90 const struct ddb_regset *idma; member
345 struct ddb_dma idma[DDB_MAX_INPUT]; member
366 int ddbridge_flashread(struct ddb *dev, u32 link, u8 *buf, u32 addr, u32 len);
370 /* ddbridge-core.c */
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcpm2.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Device sub-block and page codes.
72 /* CPM2-specific opcodes (see cpm.h for common opcodes)
157 * get some microcode patches :-).
158 * The parameter ram space for the SMCs is fifty-some bytes, and
357 uint sen_tbuf0data0; /* Save area 0 - current frame */
358 uint sen_tbuf0data1; /* Save area 1 - current frame */
369 uint sen_tbuf1data0; /* Save area 0 - current frame */
370 uint sen_tbuf1data1; /* Save area 1 - current frame */
555 uint fen_gaddrh; /* Group address filter, high 32-bits */
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dcpm2.h1 /* SPDX-License-Identifier: GPL-2.0 */
27 /* Device sub-block and page codes.
72 /* CPM2-specific opcodes (see cpm.h for common opcodes)
157 * get some microcode patches :-).
158 * The parameter ram space for the SMCs is fifty-some bytes, and
357 uint sen_tbuf0data0; /* Save area 0 - current frame */
358 uint sen_tbuf0data1; /* Save area 1 - current frame */
369 uint sen_tbuf1data0; /* Save area 0 - current frame */
370 uint sen_tbuf1data1; /* Save area 1 - current frame */
555 uint fen_gaddrh; /* Group address filter, high 32-bits */
[all …]
/kernel/linux/linux-4.19/drivers/usb/atm/
Dueagle-atm.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /*-
6 * Copyright (c) 2005-2007 Matthieu Castet <castet.matthieu@free.fr>
7 * Copyright (c) 2005-2007 Stanislaw Gruszka <stf_xl@wp.pl>
50 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
85 dev_dbg(&(usb_dev)->dev, \
86 "[ueagle-atm dbg] %s: " format, \
93 dev_dbg(&(usb_dev)->dev, \
94 "[ueagle-atm vdbg] " format, ##args); \
104 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
[all …]
/kernel/linux/linux-5.10/drivers/usb/atm/
Dueagle-atm.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause)
6 * Copyright (c) 2005-2007 Matthieu Castet <castet.matthieu@free.fr>
7 * Copyright (c) 2005-2007 Stanislaw Gruszka <stf_xl@wp.pl>
41 dev_dbg(&(usb_dev)->dev, \
42 "[ueagle-atm dbg] %s: " format, \
49 dev_dbg(&(usb_dev)->dev, \
50 "[ueagle-atm vdbg] " format, ##args); \
60 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
63 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
66 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args)
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dexynos5410.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 #include <dt-bindings/clock/exynos5410.h>
15 #include <dt-bindings/clock/exynos-audss-clk.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
20 interrupt-parent = <&gic>;
30 #address-cells = <1>;
31 #size-cells = <0>;
35 compatible = "arm,cortex-a15";
37 clock-frequency = <1600000000>;
42 compatible = "arm,cortex-a15";
[all …]
Ds5pv210.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
19 #include <dt-bindings/clock/s5pv210.h>
20 #include <dt-bindings/clock/s5pv210-audss.h>
23 #address-cells = <1>;
24 #size-cells = <1>;
43 #address-cells = <1>;
44 #size-cells = <0>;
48 compatible = "arm,cortex-a8";
54 compatible = "simple-bus";
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dintel-lpss.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/clk-provider.h>
27 #include <linux/io-64-nonatomic-lo-hi.h>
31 #include "intel-lpss.h"
41 /* Offsets from lpss->priv */
100 * Cells needs to be ordered so that the iDMA is created first. This is
117 .name = "dw-apb-uart",
123 .name = "pxa2xx-spi",
133 lpss->active_ltr = readl(lpss->priv + LPSS_PRIV_ACTIVELTR); in intel_lpss_cache_ltr()
134 lpss->idle_ltr = readl(lpss->priv + LPSS_PRIV_IDLELTR); in intel_lpss_cache_ltr()
[all …]
/kernel/linux/linux-4.19/drivers/mfd/
Dintel-lpss.c18 #include <linux/clk-provider.h>
29 #include <linux/io-64-nonatomic-lo-hi.h>
31 #include "intel-lpss.h"
41 /* Offsets from lpss->priv */
102 * Cells needs to be ordered so that the iDMA is created first. This is
119 .name = "dw-apb-uart",
125 .name = "pxa2xx-spi",
146 lpss->active_ltr = readl(lpss->priv + LPSS_PRIV_ACTIVELTR); in intel_lpss_cache_ltr()
147 lpss->idle_ltr = readl(lpss->priv + LPSS_PRIV_IDLELTR); in intel_lpss_cache_ltr()
154 dir = debugfs_create_dir(dev_name(lpss->dev), intel_lpss_debugfs); in intel_lpss_debugfs_add()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos5410.dtsi1 // SPDX-License-Identifier: GPL-2.0
14 #include <dt-bindings/clock/exynos5410.h>
15 #include <dt-bindings/clock/exynos-audss-clk.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
20 interrupt-parent = <&gic>;
30 #address-cells = <1>;
31 #size-cells = <0>;
35 compatible = "arm,cortex-a15";
37 clock-frequency = <1600000000>;
42 compatible = "arm,cortex-a15";
[all …]
Ds5pv210.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
19 #include <dt-bindings/clock/s5pv210.h>
20 #include <dt-bindings/clock/s5pv210-audss.h>
23 #address-cells = <1>;
24 #size-cells = <1>;
45 #address-cells = <1>;
46 #size-cells = <0>;
50 compatible = "arm,cortex-a8";
55 xxti: oscillator-0 {
[all …]
/kernel/linux/linux-4.19/drivers/dma/dw/
Dcore.c4 * Copyright (C) 2007-2008 Atmel Corporation
5 * Copyright (C) 2010-2011 ST Microelectronics
16 #include <linux/dma-mapping.h>
42 struct dma_slave_config *_sconfig = &_dwc->dma_sconfig; \
43 bool _is_slave = is_slave_direction(_dwc->direction); \
44 u8 _smsize = _is_slave ? _sconfig->src_maxburst : \
46 u8 _dmsize = _is_slave ? _sconfig->dst_maxburst : \
48 u8 _dms = (_dwc->direction == DMA_MEM_TO_DEV) ? \
49 _dwc->dws.p_master : _dwc->dws.m_master; \
50 u8 _sms = (_dwc->direction == DMA_DEV_TO_MEM) ? \
[all …]

12