Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/
Dlantiq_xrx200.c103 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma()
166 ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(ch->priv->dev, in xrx200_alloc_skb()
170 ch->dma.desc_base[ch->dma.desc].addr))) { in xrx200_alloc_skb()
177 ch->dma.desc_base[ch->dma.desc].ctl = in xrx200_alloc_skb()
187 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_hw_receive()
220 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_poll_rx()
249 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping()
258 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping()
283 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_start_xmit()
Dlantiq_etop.c110 ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(&priv->pdev->dev, in ltq_etop_alloc_skb()
113 ch->dma.desc_base[ch->dma.desc].addr = in ltq_etop_alloc_skb()
115 ch->dma.desc_base[ch->dma.desc].ctl = in ltq_etop_alloc_skb()
126 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_hw_receive()
154 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_poll_rx()
179 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx()
183 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx()
461 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx()
491 if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) in ltq_etop_tx()
/Linux-v5.4/arch/mips/alchemy/common/
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-v5.4/arch/mips/lantiq/xway/
Ddma.c121 ch->desc_base = dma_alloc_coherent(ch->dev, in ltq_dma_alloc()
170 if (!ch->desc_base) in ltq_dma_free()
174 ch->desc_base, ch->phys); in ltq_dma_free()
/Linux-v5.4/drivers/mmc/host/
Dcqhci.c36 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
208 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
212 if (!cq_host->desc_base) in cqhci_host_alloc_tdl()
221 cq_host->desc_base, in cqhci_host_alloc_tdl()
223 cq_host->desc_base = NULL; in cqhci_host_alloc_tdl()
229 mmc_hostname(cq_host->mmc), cq_host->desc_base, cq_host->trans_desc_base, in cqhci_host_alloc_tdl()
393 cq_host->desc_base, in cqhci_disable()
397 cq_host->desc_base = NULL; in cqhci_disable()
Dcqhci.h178 u8 *desc_base; member
/Linux-v5.4/arch/mips/include/asm/mach-lantiq/xway/
Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/Linux-v5.4/arch/x86/lib/
Dinsn-eval.c576 unsigned long desc_base; in get_desc() local
607 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
609 if (desc_base > gdt_desc.size) in get_desc()
612 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Ddma.c39 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_alloc_queue()
131 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_sync_idx()
Dmt76.h102 u32 desc_base; member
/Linux-v5.4/drivers/atm/
Diphase.h677 ffreg_t desc_base; /* Base address of descriptor table */ member
731 rreg_t desc_base; /* Base address for description table */ member