Home
last modified time | relevance | path

Searched refs:idma (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/arch/arm/mach-rpc/
Ddma.c54 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()
59 idma->cur_addr = idma->dma_addr; in iomd_get_next_sg()
60 offset = idma->cur_addr & ~PAGE_MASK; in iomd_get_next_sg()
62 end = offset + idma->dma_len; in iomd_get_next_sg()
70 idma->cur_len = end - TRANSFER_SIZE; in iomd_get_next_sg()
72 idma->dma_len -= end - offset; in iomd_get_next_sg()
73 idma->dma_addr += end - offset; in iomd_get_next_sg()
75 if (idma->dma_len == 0) { in iomd_get_next_sg()
76 if (idma->dma.sgcount > 1) { in iomd_get_next_sg()
[all …]
/Linux-v5.4/sound/soc/samsung/
Didma.c54 } idma; variable
60 *src = idma.lp_tx_addr + in idma_getpos()
61 (readl(idma.regs + I2STRNCNT) & 0xffffff) * 4; in idma_getpos()
75 val = idma.lp_tx_addr + prtd->periodsz; in idma_enqueue()
76 writel(val, idma.regs + I2SLVL0ADDR); in idma_enqueue()
79 val = idma.lp_tx_addr; in idma_enqueue()
80 writel(val, idma.regs + I2SSTR0); in idma_enqueue()
86 val = readl(idma.regs + I2SSIZE); in idma_enqueue()
90 writel(val, idma.regs + I2SSIZE); in idma_enqueue()
92 val = readl(idma.regs + I2SAHB); in idma_enqueue()
[all …]
DMakefile4 snd-soc-idma-objs := idma.o
19 obj-$(CONFIG_SND_SAMSUNG_I2S) += snd-soc-idma.o
/Linux-v5.4/drivers/mmc/host/
Dmmci_stm32_sdmmc.c95 struct sdmmc_priv *idma; in sdmmc_idma_setup() local
97 idma = devm_kzalloc(mmc_dev(host->mmc), sizeof(*idma), GFP_KERNEL); in sdmmc_idma_setup()
98 if (!idma) in sdmmc_idma_setup()
101 host->dma_priv = idma; in sdmmc_idma_setup()
104 idma->sg_cpu = dmam_alloc_coherent(mmc_dev(host->mmc), in sdmmc_idma_setup()
106 &idma->sg_dma, GFP_KERNEL); in sdmmc_idma_setup()
107 if (!idma->sg_cpu) { in sdmmc_idma_setup()
126 struct sdmmc_priv *idma = host->dma_priv; in sdmmc_idma_start() local
127 struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu; in sdmmc_idma_start()
152 writel_relaxed(idma->sg_dma, host->base + MMCI_STM32_IDMABAR); in sdmmc_idma_start()
/Linux-v5.4/drivers/media/pci/ddbridge/
Dddbridge.h83 const struct ddb_regset *idma; member
338 struct ddb_dma idma[DDB_MAX_INPUT]; member
Dddbridge-hw.c80 .idma = &octopus_idma,
Dddbridge-core.c2254 dma = out ? &io->port->dev->odma[nr] : &io->port->dev->idma[nr]; in ddb_dma_init()
2269 dma->regs = rm->idma->base + rm->idma->size * nr; in ddb_dma_init()
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.txt59 - samsung,idma-addr: Internal DMA register base address of the audio
80 samsung,idma-addr = <0x03000000>;
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c10018 struct sge_idma_monitor_state *idma) in t4_idma_monitor_init() argument
10032 idma->idma_1s_thresh = core_ticks_per_usec(adapter) * 1000000; /* 1s */ in t4_idma_monitor_init()
10033 idma->idma_stalled[0] = 0; in t4_idma_monitor_init()
10034 idma->idma_stalled[1] = 0; in t4_idma_monitor_init()
10045 struct sge_idma_monitor_state *idma, in t4_idma_monitor() argument
10070 if (idma_same_state_cnt[i] < idma->idma_1s_thresh) { in t4_idma_monitor()
10071 if (idma->idma_stalled[i] >= SGE_IDMA_WARN_THRESH * hz) in t4_idma_monitor()
10074 i, idma->idma_qid[i], in t4_idma_monitor()
10075 idma->idma_stalled[i] / hz); in t4_idma_monitor()
10076 idma->idma_stalled[i] = 0; in t4_idma_monitor()
[all …]
Dcxgb4.h1870 struct sge_idma_monitor_state *idma);
1872 struct sge_idma_monitor_state *idma,
/Linux-v5.4/arch/arm/boot/dts/
Dexynos5410.dtsi236 samsung,idma-addr = <0x03000000>;
Ds5pv210.dtsi263 samsung,idma-addr = <0xc0010000>;
Dexynos4.dtsi88 samsung,idma-addr = <0x03000000>;
Dexynos5250.dtsi597 samsung,idma-addr = <0x03000000>;
Dexynos5420.dtsi448 samsung,idma-addr = <0x03000000>;
/Linux-v5.4/arch/powerpc/include/asm/
Dcpm2.h651 typedef struct idma { struct