Home
last modified time | relevance | path

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

/linux/arch/mips/alchemy/common/
A Ddbdma.c393 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local
414 desc_base = (u32)kmalloc_array(entries, sizeof(au1x_ddma_desc_t), in au1xxx_dbdma_ring_alloc()
416 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
419 if (desc_base & 0x1f) { in au1xxx_dbdma_ring_alloc()
424 kfree((const void *)desc_base); in au1xxx_dbdma_ring_alloc()
427 desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA); in au1xxx_dbdma_ring_alloc()
428 if (desc_base == 0) in au1xxx_dbdma_ring_alloc()
431 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
432 desc_base = ALIGN_ADDR(desc_base, sizeof(au1x_ddma_desc_t)); in au1xxx_dbdma_ring_alloc()
434 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc()
[all …]
/linux/drivers/net/ethernet/
A Dlantiq_xrx200.c118 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma()
193 ch->dma.desc_base[ch->dma.desc].addr = mapping; in xrx200_alloc_skb()
197 ch->dma.desc_base[ch->dma.desc].ctl = in xrx200_alloc_skb()
206 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_hw_receive()
240 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_poll_rx()
270 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping()
279 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping()
309 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_start_xmit()
A Dlantiq_etop.c114 ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(&priv->pdev->dev, in ltq_etop_alloc_skb()
117 ch->dma.desc_base[ch->dma.desc].addr = in ltq_etop_alloc_skb()
119 ch->dma.desc_base[ch->dma.desc].ctl = in ltq_etop_alloc_skb()
130 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_hw_receive()
158 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_poll_rx()
183 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx()
187 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx()
478 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx()
508 if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) in ltq_etop_tx()
/linux/arch/mips/lantiq/xway/
A Ddma.c127 ch->desc_base = dma_alloc_coherent(ch->dev, in ltq_dma_alloc()
176 if (!ch->desc_base) in ltq_dma_free()
180 ch->desc_base, ch->phys); in ltq_dma_free()
/linux/drivers/mmc/host/
A Dcqhci-core.c38 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
215 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
219 if (!cq_host->desc_base) in cqhci_host_alloc_tdl()
228 cq_host->desc_base, in cqhci_host_alloc_tdl()
230 cq_host->desc_base = NULL; in cqhci_host_alloc_tdl()
236 mmc_hostname(cq_host->mmc), cq_host->desc_base, cq_host->trans_desc_base, in cqhci_host_alloc_tdl()
413 cq_host->desc_base, in cqhci_disable()
417 cq_host->desc_base = NULL; in cqhci_disable()
A Dcqhci.h250 u8 *desc_base; member
/linux/arch/mips/include/asm/mach-lantiq/xway/
A Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/linux/arch/x86/lib/
A Dinsn-eval.c602 unsigned long desc_base; in get_desc() local
633 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
635 if (desc_base > gdt_desc.size) in get_desc()
638 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
/linux/drivers/dma/lgm/
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/atm/
A Diphase.h676 ffreg_t desc_base; /* Base address of descriptor table */ member
730 rreg_t desc_base; /* Base address for description table */ member
/linux/drivers/net/wireless/mediatek/mt76/
A Ddma.c85 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_sync_idx()
A Dmt76.h139 u32 desc_base; member

Completed in 194 milliseconds