Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/net/ethernet/
Dlantiq_etop.c118 ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(NULL, in ltq_etop_alloc_skb()
121 ch->dma.desc_base[ch->dma.desc].addr = in ltq_etop_alloc_skb()
123 ch->dma.desc_base[ch->dma.desc].ctl = in ltq_etop_alloc_skb()
134 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_hw_receive()
162 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_poll_rx()
187 while ((ch->dma.desc_base[ch->tx_free].ctl & in ltq_etop_poll_tx()
191 memset(&ch->dma.desc_base[ch->tx_free], 0, in ltq_etop_poll_tx()
475 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx()
505 if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) in ltq_etop_tx()
/Linux-v4.19/arch/mips/lantiq/xway/
Ddma.c133 ch->desc_base = dma_zalloc_coherent(ch->dev, in ltq_dma_alloc()
182 if (!ch->desc_base) in ltq_dma_free()
186 ch->desc_base, ch->phys); in ltq_dma_free()
/Linux-v4.19/arch/mips/include/asm/mach-lantiq/xway/
Dxway_dma.h41 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/Linux-v4.19/arch/x86/lib/
Dinsn-eval.c573 unsigned long desc_base; in get_desc() local
602 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
604 if (desc_base > gdt_desc.size) in get_desc()
607 return (struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
/Linux-v4.19/drivers/mmc/host/
Dcqhci.c44 return cq_host->desc_base + (tag * cq_host->slot_sz); in get_desc()
216 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
224 if (!cq_host->desc_base || !cq_host->trans_desc_base) in cqhci_host_alloc_tdl()
228 mmc_hostname(cq_host->mmc), cq_host->desc_base, cq_host->trans_desc_base, in cqhci_host_alloc_tdl()
392 cq_host->desc_base, in cqhci_disable()
396 cq_host->desc_base = NULL; in cqhci_disable()
Dcqhci.h184 u8 *desc_base; member
/Linux-v4.19/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
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Ddma.c46 iowrite32(q->desc_dma, &q->regs->desc_base); in mt76_dma_alloc_queue()
Dmt76.h87 u32 desc_base; member