/linux-6.1.9/include/linux/dma/ |
D | k3-udma-glue.h | 32 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/ |
D | hns3_trace.h | 75 __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/ |
D | prestera_rxtx.c | 77 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/ |
D | am65-cpsw-nuss.c | 308 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 …]
|
D | davinci_cpdma.c | 986 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/ |
D | k3-udma-glue.c | 402 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/ |
D | hal2.c | 62 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/ |
D | jr.c | 374 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/ |
D | spl2sw_mac.c | 134 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()
|
D | spl2sw_desc.c | 110 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()
|
D | spl2sw_define.h | 230 dma_addr_t desc_dma; member
|
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00mmio.c | 123 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()
|
D | rt2800mmio.c | 670 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()
|
D | rt2x00mmio.h | 75 dma_addr_t desc_dma; member
|
D | rt2400pci.c | 775 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()
|
D | rt2500pci.c | 860 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/ |
D | tsnep.h | 61 dma_addr_t desc_dma; member 95 dma_addr_t desc_dma; member
|
D | tsnep_main.c | 256 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/ |
D | solo6x10.h | 176 dma_addr_t desc_dma; member 351 struct solo_p2m_desc *desc, dma_addr_t desc_dma,
|
D | solo6x10-p2m.c | 56 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()
|
D | solo6x10-v4l2-enc.c | 378 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/ |
D | sungem.c | 362 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 …]
|
D | cassini.c | 1182 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/ |
D | netsec.c | 281 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/ |
D | r6040.c | 295 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()
|