Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/marvell/
Dtdma.c60 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_cleanup() local
62 for (tdma = dreq->chain.first; tdma;) { in mv_cesa_dma_cleanup()
63 struct mv_cesa_tdma_desc *old_tdma = tdma; in mv_cesa_dma_cleanup()
64 u32 type = tdma->flags & CESA_TDMA_TYPE_MSK; in mv_cesa_dma_cleanup()
67 dma_pool_free(cesa_dev->dma->op_pool, tdma->op, in mv_cesa_dma_cleanup()
68 le32_to_cpu(tdma->src)); in mv_cesa_dma_cleanup()
70 tdma = tdma->next; in mv_cesa_dma_cleanup()
82 struct mv_cesa_tdma_desc *tdma; in mv_cesa_dma_prepare() local
84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) { in mv_cesa_dma_prepare()
85 if (tdma->flags & CESA_TDMA_DST_IN_SRAM) in mv_cesa_dma_prepare()
[all …]
DMakefile3 marvell-cesa-objs := cesa.o cipher.o hash.o tdma.o
/Linux-v5.4/drivers/dma/
Dtegra210-adma.c133 struct tegra_adma *tdma; member
170 static inline void tdma_write(struct tegra_adma *tdma, u32 reg, u32 val) in tdma_write() argument
172 writel(val, tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_write()
175 static inline u32 tdma_read(struct tegra_adma *tdma, u32 reg) in tdma_read() argument
177 return readl(tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_read()
203 return tdc->tdma->dev; in tdc2dev()
221 static int tegra_adma_init(struct tegra_adma *tdma) in tegra_adma_init() argument
227 tdma_write(tdma, tdma->cdata->global_int_clear, 0x1); in tegra_adma_init()
230 tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1); in tegra_adma_init()
234 tdma->base_addr + in tegra_adma_init()
[all …]
Dtegra20-apb-dma.c189 struct tegra_dma *tdma; member
232 static inline void tdma_write(struct tegra_dma *tdma, u32 reg, u32 val) in tdma_write() argument
234 writel(val, tdma->base_addr + reg); in tdma_write()
237 static inline u32 tdma_read(struct tegra_dma *tdma, u32 reg) in tdma_read() argument
239 return readl(tdma->base_addr + reg); in tdma_read()
362 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_pause() local
364 spin_lock(&tdma->global_lock); in tegra_dma_global_pause()
366 if (tdc->tdma->global_pause_count == 0) { in tegra_dma_global_pause()
367 tdma_write(tdma, TEGRA_APBDMA_GENERAL, 0); in tegra_dma_global_pause()
372 tdc->tdma->global_pause_count++; in tegra_dma_global_pause()
[all …]
/Linux-v5.4/drivers/net/ethernet/seeq/
Dsgiseeq.c75 volatile struct hpc_dma_desc tdma; member
192 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
268 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
269 t[i].tdma.pnext); in sgiseeq_dump_rings()
272 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
273 t[i].tdma.pnext); in sgiseeq_dump_rings()
439 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == in kick_tx()
445 if (td->tdma.cntinfo & HPCDMA_XIU) { in kick_tx()
476 if (!(td->tdma.cntinfo & (HPCDMA_XIU))) in sgiseeq_tx()
478 if (!(td->tdma.cntinfo & (HPCDMA_ETXD))) { in sgiseeq_tx()
[all …]
/Linux-v5.4/drivers/media/pci/b2c2/
Dflexcop-dma.c13 dma_addr_t tdma = 0; in flexcop_dma_allocate() local
20 tcpu = pci_alloc_consistent(pdev, size, &tdma); in flexcop_dma_allocate()
24 dma->dma_addr0 = tdma; in flexcop_dma_allocate()
26 dma->dma_addr1 = tdma + size/2; in flexcop_dma_allocate()
/Linux-v5.4/arch/arm64/boot/dts/amlogic/
Dmeson-axg.dtsi764 function = "tdma";
772 function = "tdma";
780 function = "tdma";
788 function = "tdma";
796 function = "tdma";
804 function = "tdma";
812 function = "tdma";
820 function = "tdma";
828 function = "tdma";
/Linux-v5.4/drivers/pinctrl/meson/
Dpinctrl-meson-axg.c985 FUNCTION(tdma),
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dbcmsysport.c45 BCM_SYSPORT_IO_MACRO(tdma, SYS_PORT_TDMA_OFFSET);