Home
last modified time | relevance | path

Searched refs:desc_base (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_desc.c108 if (comm->desc_base) { in spl2sw_descs_free()
109 dma_free_coherent(&comm->pdev->dev, comm->desc_size, comm->desc_base, in spl2sw_descs_free()
111 comm->desc_base = NULL; in spl2sw_descs_free()
180 comm->desc_base = dma_alloc_coherent(&comm->pdev->dev, desc_size, &comm->desc_dma, in spl2sw_descs_alloc()
182 if (!comm->desc_base) in spl2sw_descs_alloc()
188 comm->tx_desc = comm->desc_base; in spl2sw_descs_alloc()
H A Dspl2sw_define.h229 void *desc_base; member
/linux/arch/mips/alchemy/common/
H A Ddbdma.c394 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
415 desc_base = (u32) kmalloc_objs(au1x_ddma_desc_t, entries, in au1xxx_dbdma_ring_alloc()
417 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
420 if (desc_base & 0x1f) { in au1xxx_dbdma_ring_alloc()
425 kfree((const void *)desc_base); in au1xxx_dbdma_ring_alloc()
428 desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA); in au1xxx_dbdma_ring_alloc()
429 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
432 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
433 desc_base = ALIGN_ADDR(desc_base, sizeof(au1x_ddma_desc_t)); in au1xxx_dbdma_ring_alloc()
435 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
[all …]
/linux/drivers/mmc/host/
H A Dcqhci-core.c43 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
220 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
224 if (!cq_host->desc_base) in cqhci_host_alloc_tdl()
233 cq_host->desc_base, in cqhci_host_alloc_tdl()
235 cq_host->desc_base = NULL; in cqhci_host_alloc_tdl()
241 mmc_hostname(cq_host->mmc), cq_host->desc_base, cq_host->trans_desc_base, in cqhci_host_alloc_tdl()
418 cq_host->desc_base, in cqhci_disable()
422 cq_host->desc_base = NULL; in cqhci_disable()
/linux/drivers/dma/amd/qdma/
H A Dqdma.h163 u64 desc_base; member
209 struct qdma_mm_desc *desc_base; member
H A Dqdma.c185 qdma_set_field(qdev, data, QDMA_REGF_DESC_BASE, ctxt->desc_base); in qdma_prep_sw_desc_context()
552 queue->desc_base, queue->dma_desc_base); in qdma_free_queue_resources()
574 queue->desc_base = dma_alloc_coherent(pdata->dma_dev, size, in qdma_alloc_queue_resources()
577 if (!queue->desc_base) { in qdma_alloc_queue_resources()
584 desc.desc_base = queue->dma_desc_base; in qdma_alloc_queue_resources()
589 dma_free_coherent(pdata->dma_dev, size, queue->desc_base, in qdma_alloc_queue_resources()
652 desc = q->desc_base + q->pidx; in qdma_get_desc()
/linux/arch/mips/include/asm/mach-lantiq/xway/
H A Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed_wo.c325 mtk_wed_mmio_w32(wo, q->regs.desc_base, q->desc_dma); in mtk_wed_wo_queue_reset()
406 regs.desc_base = MTK_WED_WO_CCIF_DUMMY1; in mtk_wed_wo_hardware_init()
420 regs.desc_base = MTK_WED_WO_CCIF_DUMMY5; in mtk_wed_wo_hardware_init()
H A Dmtk_wed_wo.h193 u32 desc_base; member
/linux/drivers/dma/lgm/
H A Dlgm-dma.c202 void *desc_base; /* Virtual address */ member
635 static void ldma_chan_desc_hw_cfg(struct ldma_chan *c, dma_addr_t desc_base, in ldma_chan_desc_hw_cfg() argument
643 writel(lower_32_bits(desc_base), d->base + DMA_CDBA); in ldma_chan_desc_hw_cfg()
647 u32 hi = upper_32_bits(desc_base) & HIGH_4_BITS; in ldma_chan_desc_hw_cfg()
659 ldma_chan_desc_cfg(struct dma_chan *chan, dma_addr_t desc_base, int desc_num) in ldma_chan_desc_cfg() argument
678 ldma_chan_desc_hw_cfg(c, desc_base, desc_num); in ldma_chan_desc_cfg()
682 c->desc_phys = desc_base; in ldma_chan_desc_cfg()
/linux/drivers/net/ethernet/realtek/rtase/
H A Drtase_main.c207 struct rtase_tx_desc *desc_base = ring->desc; in rtase_tx_clear_range() local
213 struct rtase_tx_desc *desc = desc_base + entry; in rtase_tx_clear_range()
400 union rtase_rx_desc *desc_base = ring->desc; in rtase_rx_ring_fill() local
405 union rtase_rx_desc *desc = desc_base + i; in rtase_rx_ring_fill()
487 union rtase_rx_desc *desc_base = ring->desc; in rx_handler() local
497 desc = &desc_base[entry]; in rx_handler()
/linux/drivers/atm/
H A Diphase.h676 ffreg_t desc_base; /* Base address of descriptor table */ member
730 rreg_t desc_base; /* Base address for description table */ member