Home
last modified time | relevance | path

Searched refs:desc_dma (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/dma/
Dk3-udma-glue.h32 dma_addr_t desc_dma);
34 dma_addr_t *desc_dma);
40 void *data, void (*cleanup)(void *data, dma_addr_t desc_dma));
113 dma_addr_t desc_dma);
115 u32 flow_num, dma_addr_t *desc_dma);
127 void (*cleanup)(void *data, dma_addr_t desc_dma),
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_trace.h76 __field(dma_addr_t, desc_dma)
85 __entry->desc_dma = ring->desc_dma_addr,
94 __entry->ntc, &__entry->desc_dma,
107 __field(dma_addr_t, desc_dma)
117 __entry->desc_dma = ring->desc_dma_addr;
127 __entry->ntc, &__entry->desc_dma, &__entry->buf_dma,
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma-glue.c352 dma_addr_t desc_dma) in k3_udma_glue_push_tx_chn() argument
362 return k3_ringacc_ring_push(tx_chn->ringtx, &desc_dma); in k3_udma_glue_push_tx_chn()
367 dma_addr_t *desc_dma) in k3_udma_glue_pop_tx_chn() argument
371 ret = k3_ringacc_ring_pop(tx_chn->ringtxcq, desc_dma); in k3_udma_glue_pop_tx_chn()
438 void (*cleanup)(void *data, dma_addr_t desc_dma)) in k3_udma_glue_reset_tx_chn() argument
440 dma_addr_t desc_dma; in k3_udma_glue_reset_tx_chn() local
458 ret = k3_ringacc_ring_pop(tx_chn->ringtx, &desc_dma); in k3_udma_glue_reset_tx_chn()
463 cleanup(data, desc_dma); in k3_udma_glue_reset_tx_chn()
1121 void (*cleanup)(void *data, dma_addr_t desc_dma), bool skip_fdq) in k3_udma_glue_reset_rx_chn() argument
1125 dma_addr_t desc_dma; in k3_udma_glue_reset_rx_chn() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c76 dma_addr_t desc_dma; member
123 buf->desc_dma = dma; in prestera_sdma_buf_init()
349 if (buf->desc_dma) in prestera_sdma_rx_fini()
351 buf->desc_dma); in prestera_sdma_rx_fini()
404 next->desc_dma); in prestera_sdma_rx_init()
411 prestera_sdma_rx_desc_set_next(sdma, tail->desc, head->desc_dma); in prestera_sdma_rx_init()
414 prestera_sdma_map(sdma, head->desc_dma)); in prestera_sdma_rx_init()
553 next->desc_dma); in prestera_sdma_tx_init()
560 prestera_sdma_tx_desc_set_next(sdma, tail->desc, head->desc_dma); in prestera_sdma_tx_init()
566 prestera_sdma_map(sdma, head->desc_dma)); in prestera_sdma_tx_init()
[all …]
/kernel/linux/linux-5.10/sound/mips/
Dhal2.c62 dma_addr_t desc_dma; member
417 pbus->pbus->pbdma_dptr = hal2->dac.desc_dma; in hal2_start_dac()
427 pbus->pbus->pbdma_dptr = hal2->adc.desc_dma; in hal2_start_adc()
449 dma_addr_t desc_dma, buffer_dma; in hal2_alloc_dmabuf() local
458 &desc_dma, DMA_BIDIRECTIONAL, GFP_KERNEL); in hal2_alloc_dmabuf()
465 codec->desc_dma = desc_dma; in hal2_alloc_dmabuf()
471 desc_dma : desc_dma + (i + 1) * sizeof(struct hal2_desc); in hal2_alloc_dmabuf()
474 dma_sync_single_for_device(dev, codec->desc_dma, in hal2_alloc_dmabuf()
487 codec->desc, codec->desc_dma, DMA_BIDIRECTIONAL); in hal2_free_dmabuf()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c356 dma_addr_t desc_dma; in am65_cpsw_nuss_rx_push() local
365 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
380 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
505 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma);
506 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma);
681 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma) in am65_cpsw_nuss_rx_cleanup() argument
690 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_cleanup()
756 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_rx_packets() local
763 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
770 if (desc_dma & 0x1) { in am65_cpsw_nuss_rx_packets()
[all …]
Ddavinci_cpdma.c986 dma_addr_t desc_dma; in __cpdma_chan_submit() local
989 desc_dma = desc_phys(pool, desc); in __cpdma_chan_submit()
997 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit()
1002 desc_write(prev, hw_next, desc_dma); in __cpdma_chan_submit()
1011 chan_write(chan, hdp, desc_dma); in __cpdma_chan_submit()
1226 dma_addr_t desc_dma; in __cpdma_chan_process() local
1237 desc_dma = desc_phys(pool, desc); in __cpdma_chan_process()
1254 chan_write(chan, cp, desc_dma); in __cpdma_chan_process()
Dnetcp_core.c1121 dma_addr_t desc_dma; in netcp_tx_map_skb() local
1138 desc_dma = knav_pool_desc_virt_to_dma(netcp->tx_pool, ndesc); in netcp_tx_map_skb()
1140 desc_dma_32 = (u32)desc_dma; in netcp_tx_map_skb()
1145 sizeof(*pdesc), &desc_dma, &dma_sz); in netcp_tx_map_skb()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Djr.c373 dma_addr_t desc_dma; in caam_jr_enqueue() local
376 desc_dma = dma_map_single(dev, desc, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
377 if (dma_mapping_error(dev, desc_dma)) { in caam_jr_enqueue()
390 dma_unmap_single(dev, desc_dma, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
399 head_entry->desc_addr_dma = desc_dma; in caam_jr_enqueue()
401 jr_inpentry_set(jrp->inpring, head, cpu_to_caam_dma(desc_dma)); in caam_jr_enqueue()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.c123 entry_priv->desc_dma = dma + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma()
138 entry_priv->desc, entry_priv->desc_dma); in rt2x00mmio_free_queue_dma()
Drt2800mmio.c670 entry_priv->desc_dma); in rt2800mmio_init_queues()
678 entry_priv->desc_dma); in rt2800mmio_init_queues()
686 entry_priv->desc_dma); in rt2800mmio_init_queues()
694 entry_priv->desc_dma); in rt2800mmio_init_queues()
712 entry_priv->desc_dma); in rt2800mmio_init_queues()
Drt2x00mmio.h75 dma_addr_t desc_dma; member
Drt2400pci.c775 entry_priv->desc_dma); in rt2400pci_init_queues()
781 entry_priv->desc_dma); in rt2400pci_init_queues()
787 entry_priv->desc_dma); in rt2400pci_init_queues()
793 entry_priv->desc_dma); in rt2400pci_init_queues()
804 entry_priv->desc_dma); in rt2400pci_init_queues()
Drt2500pci.c860 entry_priv->desc_dma); in rt2500pci_init_queues()
866 entry_priv->desc_dma); in rt2500pci_init_queues()
872 entry_priv->desc_dma); in rt2500pci_init_queues()
878 entry_priv->desc_dma); in rt2500pci_init_queues()
889 entry_priv->desc_dma); in rt2500pci_init_queues()
Drt61pci.c1354 entry_priv->desc_dma); in rt61pci_init_queues()
1360 entry_priv->desc_dma); in rt61pci_init_queues()
1366 entry_priv->desc_dma); in rt61pci_init_queues()
1372 entry_priv->desc_dma); in rt61pci_init_queues()
1385 entry_priv->desc_dma); in rt61pci_init_queues()
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/
Dsolo6x10.h176 dma_addr_t desc_dma; member
351 struct solo_p2m_desc *desc, dma_addr_t desc_dma,
Dsolo6x10-p2m.c56 struct solo_p2m_desc *desc, dma_addr_t desc_dma, in solo_p2m_dma_desc() argument
82 solo_reg_write(solo_dev, SOLO_P2M_DES_ADR(p2m_id), desc_dma); in solo_p2m_dma_desc()
Dsolo6x10-v4l2-enc.c378 solo_enc->desc_dma, in solo_send_desc()
390 solo_enc->desc_dma, solo_enc->desc_count - 1); in solo_send_desc()
1292 &solo_enc->desc_dma); in solo_enc_alloc()
1322 solo_enc->desc_items, solo_enc->desc_dma); in solo_enc_alloc()
1336 solo_enc->desc_items, solo_enc->desc_dma); in solo_enc_free()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsungem.c363 u64 desc_dma; in gem_rxmac_reset() local
431 desc_dma = (u64) gp->gblock_dvma; in gem_rxmac_reset()
432 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_rxmac_reset()
433 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_rxmac_reset()
434 writel(desc_dma & 0xffffffff, gp->regs + RXDMA_DBLOW); in gem_rxmac_reset()
1744 u64 desc_dma = (u64) gp->gblock_dvma; in gem_init_dma() local
1750 writel(desc_dma >> 32, gp->regs + TXDMA_DBHI); in gem_init_dma()
1751 writel(desc_dma & 0xffffffff, gp->regs + TXDMA_DBLOW); in gem_init_dma()
1752 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_init_dma()
1760 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_init_dma()
[all …]
Dcassini.c1181 u64 desc_dma = cp->block_dvma; in cas_init_rx_dma() local
1196 writel((desc_dma + val) >> 32, cp->regs + REG_RX_DB_HI); in cas_init_rx_dma()
1197 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_DB_LOW); in cas_init_rx_dma()
1206 writel((desc_dma + val) >> 32, cp->regs + REG_PLUS_RX_DB1_HI); in cas_init_rx_dma()
1207 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
1216 writel((desc_dma + val) >> 32, cp->regs + REG_RX_CB_HI); in cas_init_rx_dma()
1217 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_CB_LOW); in cas_init_rx_dma()
1224 writel((desc_dma + val) >> 32, cp->regs + in cas_init_rx_dma()
1226 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
2862 u64 desc_dma = cp->block_dvma; in cas_init_tx_dma() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Ddma.c98 q->desc = dmam_alloc_coherent(dev->dev, size, &q->desc_dma, GFP_KERNEL); in mt76_dma_alloc_queue()
111 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_alloc_queue()
206 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_sync_idx()
/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
Dnetsec.c281 dma_addr_t desc_dma; member
1238 dring->vaddr, dring->desc_dma); in netsec_free_dring()
1251 &dring->desc_dma, GFP_KERNEL); in netsec_alloc_dring()
1423 upper_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1425 lower_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1428 upper_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
1430 lower_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
/kernel/linux/linux-5.10/drivers/dma/idxd/
Didxd.h216 dma_addr_t desc_dma; member
/kernel/linux/linux-5.10/drivers/net/ethernet/rdc/
Dr6040.c295 dma_addr_t desc_dma, int size) in r6040_init_ring_desc() argument
298 dma_addr_t mapping = desc_dma; in r6040_init_ring_desc()
307 desc->ndesc = cpu_to_le32(desc_dma); in r6040_init_ring_desc()
/kernel/linux/linux-5.10/drivers/crypto/
Dhifn_795x.c409 dma_addr_t desc_dma; member
883 u32 dptr = dev->desc_dma; in hifn_init_dma()
975 u32 dptr = dev->desc_dma; in hifn_init_registers()
2521 &dev->desc_dma, GFP_KERNEL); in hifn_probe()
2579 dev->desc_dma); in hifn_probe()
2617 dev->desc_virt, dev->desc_dma); in hifn_remove()

12