Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/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.15/drivers/mmc/host/
Dmmci_stm32_sdmmc.c121 struct sdmmc_idma *idma; in sdmmc_idma_setup() local
124 idma = devm_kzalloc(dev, sizeof(*idma), GFP_KERNEL); in sdmmc_idma_setup()
125 if (!idma) in sdmmc_idma_setup()
128 host->dma_priv = idma; in sdmmc_idma_setup()
131 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
132 &idma->sg_dma, GFP_KERNEL); in sdmmc_idma_setup()
133 if (!idma->sg_cpu) { in sdmmc_idma_setup()
151 struct sdmmc_idma *idma = host->dma_priv; in sdmmc_idma_start() local
152 struct sdmmc_lli_desc *desc = (struct sdmmc_lli_desc *)idma->sg_cpu; in sdmmc_idma_start()
177 writel_relaxed(idma->sg_dma, host->base + MMCI_STM32_IDMABAR); in sdmmc_idma_start()
/Linux-v5.15/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.15/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c10044 struct sge_idma_monitor_state *idma) in t4_idma_monitor_init() argument
10058 idma->idma_1s_thresh = core_ticks_per_usec(adapter) * 1000000; /* 1s */ in t4_idma_monitor_init()
10059 idma->idma_stalled[0] = 0; in t4_idma_monitor_init()
10060 idma->idma_stalled[1] = 0; in t4_idma_monitor_init()
10071 struct sge_idma_monitor_state *idma, in t4_idma_monitor() argument
10096 if (idma_same_state_cnt[i] < idma->idma_1s_thresh) { in t4_idma_monitor()
10097 if (idma->idma_stalled[i] >= SGE_IDMA_WARN_THRESH * hz) in t4_idma_monitor()
10100 i, idma->idma_qid[i], in t4_idma_monitor()
10101 idma->idma_stalled[i] / hz); in t4_idma_monitor()
10102 idma->idma_stalled[i] = 0; in t4_idma_monitor()
[all …]
Dcxgb4.h2082 struct sge_idma_monitor_state *idma);
2084 struct sge_idma_monitor_state *idma,
/Linux-v5.15/arch/arm/boot/dts/
Dexynos5410.dtsi228 samsung,idma-addr = <0x03000000>;
Ds5pv210.dtsi250 samsung,idma-addr = <0xc0010000>;
Dexynos4.dtsi88 samsung,idma-addr = <0x03000000>;
Dexynos5250.dtsi603 samsung,idma-addr = <0x03000000>;
Dexynos5420.dtsi511 samsung,idma-addr = <0x03000000>;
/Linux-v5.15/arch/powerpc/include/asm/
Dcpm2.h651 typedef struct idma { struct