Home
last modified time | relevance | path

Searched refs:tdma (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/crypto/marvell/
Dtdma.c63 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_cleanup() local
65 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup()
66 struct mv_cesa_tdma_desc *old_tdma = tdma; in mv_cesa_dma_cleanup()
67 u32 type = tdma->flags & CESA_TDMA_TYPE_MSK; in mv_cesa_dma_cleanup()
70 dma_pool_free(cesa_dev->dma->op_pool, tdma->op, in mv_cesa_dma_cleanup()
71 le32_to_cpu(tdma->src)); in mv_cesa_dma_cleanup()
73 tdma = tdma->next; in mv_cesa_dma_cleanup()
85 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_prepare() local
87 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare()
88 if (tdma->flags & CESA_TDMA_DST_IN_SRAM) in mv_cesa_dma_prepare()
[all …]
DMakefile2 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
/Linux-v4.19/drivers/dma/
Dtegra210-adma.c122 struct tegra_adma *tdma; member
155 static inline void tdma_write(struct tegra_adma *tdma, u32 reg, u32 val) in tdma_write() argument
157 writel(val, tdma->base_addr + reg); in tdma_write()
160 static inline u32 tdma_read(struct tegra_adma *tdma, u32 reg) in tdma_read() argument
162 return readl(tdma->base_addr + reg); in tdma_read()
188 return tdc->tdma->dev; in tdc2dev()
206 static int tegra_adma_init(struct tegra_adma *tdma) in tegra_adma_init() argument
212 tdma_write(tdma, ADMA_GLOBAL_INT_CLEAR, 0x1); in tegra_adma_init()
215 tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1); in tegra_adma_init()
219 tdma->base_addr + ADMA_GLOBAL_SOFT_RESET, in tegra_adma_init()
[all …]
Dtegra20-apb-dma.c196 struct tegra_dma *tdma; member
239 static inline void tdma_write(struct tegra_dma *tdma, u32 reg, u32 val) in tdma_write() argument
241 writel(val, tdma->base_addr + reg); in tdma_write()
244 static inline u32 tdma_read(struct tegra_dma *tdma, u32 reg) in tdma_read() argument
246 return readl(tdma->base_addr + reg); in tdma_read()
369 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_pause() local
371 spin_lock(&tdma->global_lock); in tegra_dma_global_pause()
373 if (tdc->tdma->global_pause_count == 0) { in tegra_dma_global_pause()
374 tdma_write(tdma, TEGRA_APBDMA_GENERAL, 0); in tegra_dma_global_pause()
379 tdc->tdma->global_pause_count++; in tegra_dma_global_pause()
[all …]
/Linux-v4.19/drivers/net/ethernet/seeq/
Dsgiseeq.c74 volatile struct hpc_dma_desc tdma; member
191 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
267 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
268 t[i].tdma.pnext); in sgiseeq_dump_rings()
271 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
272 t[i].tdma.pnext); in sgiseeq_dump_rings()
438 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == in kick_tx()
444 if (td->tdma.cntinfo & HPCDMA_XIU) { in kick_tx()
475 if (!(td->tdma.cntinfo & (HPCDMA_XIU))) in sgiseeq_tx()
477 if (!(td->tdma.cntinfo & (HPCDMA_ETXD))) { in sgiseeq_tx()
[all …]
/Linux-v4.19/drivers/media/pci/b2c2/
Dflexcop-dma.c13 dma_addr_t tdma = 0; in flexcop_dma_allocate() local
20 if ((tcpu = pci_alloc_consistent(pdev, size, &tdma)) != NULL) { in flexcop_dma_allocate()
23 dma->dma_addr0 = tdma; in flexcop_dma_allocate()
25 dma->dma_addr1 = tdma + size/2; in flexcop_dma_allocate()
/Linux-v4.19/arch/arm64/boot/dts/amlogic/
Dmeson-axg.dtsi1076 function = "tdma";
1083 function = "tdma";
1090 function = "tdma";
1097 function = "tdma";
1104 function = "tdma";
1111 function = "tdma";
1118 function = "tdma";
1125 function = "tdma";
1132 function = "tdma";
/Linux-v4.19/drivers/pinctrl/meson/
Dpinctrl-meson-axg.c985 FUNCTION(tdma),
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.c48 BCM_SYSPORT_IO_MACRO(tdma, SYS_PORT_TDMA_OFFSET);