Home
last modified time | relevance | path

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

12

/linux-6.1.9/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));
119 dma_addr_t desc_dma);
121 u32 flow_num, dma_addr_t *desc_dma);
133 void (*cleanup)(void *data, dma_addr_t desc_dma),
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_trace.h75 __field(dma_addr_t, desc_dma)
84 __entry->desc_dma = ring->desc_dma_addr,
93 __entry->ntc, &__entry->desc_dma,
106 __field(dma_addr_t, desc_dma)
116 __entry->desc_dma = ring->desc_dma_addr;
126 __entry->ntc, &__entry->desc_dma, &__entry->buf_dma,
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_rxtx.c77 dma_addr_t desc_dma; member
124 buf->desc_dma = dma; in prestera_sdma_buf_init()
354 if (buf->desc_dma) in prestera_sdma_rx_fini()
356 buf->desc_dma); in prestera_sdma_rx_fini()
409 next->desc_dma); in prestera_sdma_rx_init()
416 prestera_sdma_rx_desc_set_next(sdma, tail->desc, head->desc_dma); in prestera_sdma_rx_init()
419 prestera_sdma_map(sdma, head->desc_dma)); in prestera_sdma_rx_init()
558 next->desc_dma); in prestera_sdma_tx_init()
565 prestera_sdma_tx_desc_set_next(sdma, tail->desc, head->desc_dma); in prestera_sdma_tx_init()
571 prestera_sdma_map(sdma, head->desc_dma)); in prestera_sdma_tx_init()
[all …]
/linux-6.1.9/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c308 dma_addr_t desc_dma; in am65_cpsw_nuss_rx_push() local
317 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
334 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
467 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma);
468 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma);
615 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma) in am65_cpsw_nuss_rx_cleanup() argument
624 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_cleanup()
691 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_rx_packets() local
698 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
705 if (cppi5_desc_is_tdcm(desc_dma)) { 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()
/linux-6.1.9/drivers/dma/ti/
Dk3-udma-glue.c402 dma_addr_t desc_dma) in k3_udma_glue_push_tx_chn() argument
412 return k3_ringacc_ring_push(tx_chn->ringtx, &desc_dma); in k3_udma_glue_push_tx_chn()
417 dma_addr_t *desc_dma) in k3_udma_glue_pop_tx_chn() argument
421 ret = k3_ringacc_ring_pop(tx_chn->ringtxcq, desc_dma); in k3_udma_glue_pop_tx_chn()
507 void (*cleanup)(void *data, dma_addr_t desc_dma)) in k3_udma_glue_reset_tx_chn() argument
510 dma_addr_t desc_dma; in k3_udma_glue_reset_tx_chn() local
524 ret = k3_ringacc_ring_pop(tx_chn->ringtx, &desc_dma); in k3_udma_glue_reset_tx_chn()
530 cleanup(data, desc_dma); in k3_udma_glue_reset_tx_chn()
1323 void (*cleanup)(void *data, dma_addr_t desc_dma), bool skip_fdq) in k3_udma_glue_reset_rx_chn() argument
1327 dma_addr_t desc_dma; in k3_udma_glue_reset_rx_chn() local
[all …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/crypto/caam/
Djr.c374 dma_addr_t desc_dma; in caam_jr_enqueue() local
377 desc_dma = dma_map_single(dev, desc, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
378 if (dma_mapping_error(dev, desc_dma)) { in caam_jr_enqueue()
391 dma_unmap_single(dev, desc_dma, desc_size, DMA_TO_DEVICE); in caam_jr_enqueue()
400 head_entry->desc_addr_dma = desc_dma; in caam_jr_enqueue()
402 jr_inpentry_set(jrp->inpring, head, cpu_to_caam_dma(desc_dma)); in caam_jr_enqueue()
/linux-6.1.9/drivers/net/ethernet/sunplus/
Dspl2sw_mac.c134 writel(comm->desc_dma, comm->l2sw_reg_base + L2SW_TX_LBASE_ADDR_0); in spl2sw_mac_hw_init()
135 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * TX_DESC_NUM, in spl2sw_mac_hw_init()
137 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * (TX_DESC_NUM + in spl2sw_mac_hw_init()
139 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * (TX_DESC_NUM + in spl2sw_mac_hw_init()
Dspl2sw_desc.c110 comm->desc_dma); in spl2sw_descs_free()
112 comm->desc_dma = 0; in spl2sw_descs_free()
179 comm->desc_base = dma_alloc_coherent(&comm->pdev->dev, desc_size, &comm->desc_dma, in spl2sw_descs_alloc()
Dspl2sw_define.h230 dma_addr_t desc_dma; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/ethernet/engleder/
Dtsnep.h61 dma_addr_t desc_dma; member
95 dma_addr_t desc_dma; member
Dtsnep_main.c256 entry->desc_dma = tx->page_dma[i] + TSNEP_DESC_SIZE * j; in tsnep_tx_ring_init()
262 entry->desc->next = __cpu_to_le64(next_entry->desc_dma); in tsnep_tx_ring_init()
584 dma = tx->entry[0].desc_dma | TSNEP_RESET_OWNER_COUNTER; in tsnep_tx_open()
675 entry->desc_dma = rx->page_dma[i] + TSNEP_DESC_SIZE * j; in tsnep_rx_ring_init()
697 entry->desc->next = __cpu_to_le64(next_entry->desc_dma); in tsnep_rx_ring_init()
877 dma = rx->entry[0].desc_dma | TSNEP_RESET_OWNER_COUNTER; in tsnep_rx_open()
/linux-6.1.9/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()
1289 &solo_enc->desc_dma, in solo_enc_alloc()
1320 solo_enc->desc_items, solo_enc->desc_dma); in solo_enc_alloc()
1334 solo_enc->desc_items, solo_enc->desc_dma); in solo_enc_free()
/linux-6.1.9/drivers/net/ethernet/sun/
Dsungem.c362 u64 desc_dma; in gem_rxmac_reset() local
430 desc_dma = (u64) gp->gblock_dvma; in gem_rxmac_reset()
431 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_rxmac_reset()
432 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_rxmac_reset()
433 writel(desc_dma & 0xffffffff, gp->regs + RXDMA_DBLOW); in gem_rxmac_reset()
1743 u64 desc_dma = (u64) gp->gblock_dvma; in gem_init_dma() local
1749 writel(desc_dma >> 32, gp->regs + TXDMA_DBHI); in gem_init_dma()
1750 writel(desc_dma & 0xffffffff, gp->regs + TXDMA_DBLOW); in gem_init_dma()
1751 desc_dma += (INIT_BLOCK_TX_RING_SIZE * sizeof(struct gem_txd)); in gem_init_dma()
1759 writel(desc_dma >> 32, gp->regs + RXDMA_DBHI); in gem_init_dma()
[all …]
Dcassini.c1182 u64 desc_dma = cp->block_dvma; in cas_init_rx_dma() local
1197 writel((desc_dma + val) >> 32, cp->regs + REG_RX_DB_HI); in cas_init_rx_dma()
1198 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_DB_LOW); in cas_init_rx_dma()
1207 writel((desc_dma + val) >> 32, cp->regs + REG_PLUS_RX_DB1_HI); in cas_init_rx_dma()
1208 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
1217 writel((desc_dma + val) >> 32, cp->regs + REG_RX_CB_HI); in cas_init_rx_dma()
1218 writel((desc_dma + val) & 0xffffffff, cp->regs + REG_RX_CB_LOW); in cas_init_rx_dma()
1225 writel((desc_dma + val) >> 32, cp->regs + in cas_init_rx_dma()
1227 writel((desc_dma + val) & 0xffffffff, cp->regs + in cas_init_rx_dma()
2851 u64 desc_dma = cp->block_dvma; in cas_init_tx_dma() local
[all …]
/linux-6.1.9/drivers/net/ethernet/socionext/
Dnetsec.c281 dma_addr_t desc_dma; member
1246 dring->vaddr, dring->desc_dma); in netsec_free_dring()
1259 &dring->desc_dma, GFP_KERNEL); in netsec_alloc_dring()
1431 upper_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1433 lower_32_bits(priv->desc_ring[NETSEC_RING_RX].desc_dma)); in netsec_reset_hardware()
1436 upper_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
1438 lower_32_bits(priv->desc_ring[NETSEC_RING_TX].desc_dma)); in netsec_reset_hardware()
/linux-6.1.9/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()

12