Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/
Dlantiq_xrx200.c103 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma()
177 ch->dma.desc_base[ch->dma.desc].addr = mapping; in xrx200_alloc_skb()
181 ch->dma.desc_base[ch->dma.desc].ctl = in xrx200_alloc_skb()
191 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_hw_receive()
225 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_poll_rx()
255 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping()
264 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping()
294 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()
/kernel/linux/linux-5.10/arch/mips/lantiq/xway/
Ddma.c126 ch->desc_base = dma_alloc_coherent(ch->dev, in ltq_dma_alloc()
175 if (!ch->desc_base) in ltq_dma_free()
179 ch->desc_base, ch->phys); in ltq_dma_free()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dcqhci.c37 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
209 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
213 if (!cq_host->desc_base) in cqhci_host_alloc_tdl()
222 cq_host->desc_base, in cqhci_host_alloc_tdl()
224 cq_host->desc_base = NULL; in cqhci_host_alloc_tdl()
230 mmc_hostname(cq_host->mmc), cq_host->desc_base, cq_host->trans_desc_base, in cqhci_host_alloc_tdl()
404 cq_host->desc_base, in cqhci_disable()
408 cq_host->desc_base = NULL; in cqhci_disable()
Dcqhci.h178 u8 *desc_base; member
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-lantiq/xway/
Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/kernel/linux/linux-5.10/arch/x86/lib/
Dinsn-eval.c606 unsigned long desc_base; in get_desc() local
637 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
639 if (desc_base > gdt_desc.size) in get_desc()
642 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Ddma.c111 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_alloc_queue()
206 writel(q->desc_dma, &q->regs->desc_base); in mt76_dma_sync_idx()
Dmt76.h114 u32 desc_base; member
/kernel/linux/linux-5.10/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