Home
last modified time | relevance | path

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

/drivers/crypto/marvell/cesa/
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
/drivers/dma/
Dtegra210-adma.c130 struct tegra_adma *tdma; member
167 static inline void tdma_write(struct tegra_adma *tdma, u32 reg, u32 val) in tdma_write() argument
169 writel(val, tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_write()
172 static inline u32 tdma_read(struct tegra_adma *tdma, u32 reg) in tdma_read() argument
174 return readl(tdma->base_addr + tdma->cdata->global_reg_offset + reg); in tdma_read()
200 return tdc->tdma->dev; in tdc2dev()
218 static int tegra_adma_init(struct tegra_adma *tdma) in tegra_adma_init() argument
224 tdma_write(tdma, tdma->cdata->ch_base_offset + tdma->cdata->global_int_clear, 0x1); in tegra_adma_init()
227 tdma_write(tdma, ADMA_GLOBAL_SOFT_RESET, 0x1); in tegra_adma_init()
231 tdma->base_addr + in tegra_adma_init()
[all …]
Dtegra20-apb-dma.c189 struct tegra_dma *tdma; member
231 static inline void tdma_write(struct tegra_dma *tdma, u32 reg, u32 val) in tdma_write() argument
233 writel(val, tdma->base_addr + reg); in tdma_write()
236 static inline u32 tdma_read(struct tegra_dma *tdma, u32 reg) in tdma_read() argument
238 return readl(tdma->base_addr + reg); in tdma_read()
354 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_global_pause() local
356 spin_lock(&tdma->global_lock); in tegra_dma_global_pause()
358 if (tdc->tdma->global_pause_count == 0) { in tegra_dma_global_pause()
359 tdma_write(tdma, TEGRA_APBDMA_GENERAL, 0); in tegra_dma_global_pause()
364 tdc->tdma->global_pause_count++; in tegra_dma_global_pause()
[all …]
Dtegra186-gpc-dma.c234 struct tegra_dma *tdma; member
259 writel_relaxed(val, tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_write()
264 return readl_relaxed(tdc->tdma->base_addr + tdc->chan_base_offset + reg); in tdc_read()
307 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_reserve() local
315 if (test_and_set_bit(sid, &tdma->sid_m2d_reserved)) { in tegra_dma_sid_reserve()
316 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve()
321 if (test_and_set_bit(sid, &tdma->sid_d2m_reserved)) { in tegra_dma_sid_reserve()
322 dev_err(tdma->dev, "slave id already in use\n"); in tegra_dma_sid_reserve()
337 struct tegra_dma *tdma = tdc->tdma; in tegra_dma_sid_free() local
342 clear_bit(sid, &tdma->sid_m2d_reserved); in tegra_dma_sid_free()
[all …]
/drivers/net/ethernet/seeq/
Dsgiseeq.c75 volatile struct hpc_dma_desc tdma; member
196 sp->tx_desc[i].tdma.cntinfo = TCNTINFO_INIT; in seeq_init_ring()
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()
276 i, (&t[i]), t[i].tdma.pbuf, t[i].tdma.cntinfo, in sgiseeq_dump_rings()
277 t[i].tdma.pnext); in sgiseeq_dump_rings()
445 while ((td->tdma.cntinfo & (HPCDMA_XIU | HPCDMA_ETXD)) == in kick_tx()
451 if (td->tdma.cntinfo & HPCDMA_XIU) { in kick_tx()
483 if (!(td->tdma.cntinfo & (HPCDMA_XIU))) in sgiseeq_tx()
485 if (!(td->tdma.cntinfo & (HPCDMA_ETXD))) { in sgiseeq_tx()
[all …]
/drivers/media/pci/b2c2/
Dflexcop-dma.c13 dma_addr_t tdma = 0; in flexcop_dma_allocate() local
20 tcpu = dma_alloc_coherent(&pdev->dev, size, &tdma, GFP_KERNEL); in flexcop_dma_allocate()
24 dma->dma_addr0 = tdma; in flexcop_dma_allocate()
26 dma->dma_addr1 = tdma + size/2; in flexcop_dma_allocate()
/drivers/net/wireless/realtek/rtw89/
Dcoex.c646 btc->dm.tdma = t_def[CXTD_OFF]; in _reset_btc_var()
1143 if (memcmp(&dm->tdma_now, &pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma, in _chk_btc_report()
1156 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.type, in _chk_btc_report()
1157 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.rxflctrl, in _chk_btc_report()
1158 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.txpause, in _chk_btc_report()
1159 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.wtgle_n, in _chk_btc_report()
1160 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.leak_n, in _chk_btc_report()
1161 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.ext_ctrl, in _chk_btc_report()
1162 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.rxflctrl_role, in _chk_btc_report()
1163 pfwinfo->rpt_fbtc_tdma.finfo_v1.tdma.option_ctrl); in _chk_btc_report()
[all …]
Dcore.h1425 struct rtw89_btc_fbtc_tdma tdma; member
1784 struct rtw89_btc_fbtc_tdma tdma; member
/drivers/pinctrl/meson/
Dpinctrl-meson-axg.c986 FUNCTION(tdma),
/drivers/net/ethernet/broadcom/
Dbcmsysport.c47 BCM_SYSPORT_IO_MACRO(tdma, SYS_PORT_TDMA_OFFSET);