Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/sunplus/
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()
179 comm->desc_base = dma_alloc_coherent(&comm->pdev->dev, desc_size, &comm->desc_dma, in spl2sw_descs_alloc()
181 if (!comm->desc_base) in spl2sw_descs_alloc()
187 comm->tx_desc = comm->desc_base; in spl2sw_descs_alloc()
A Dspl2sw_define.h229 void *desc_base; member
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/
A Dlantiq_etop.c114 ch->dma.desc_base[ch->dma.desc].addr = 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()
480 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in ltq_etop_tx()
510 if (ch->dma.desc_base[ch->dma.desc].ctl & LTQ_DMA_OWN) in ltq_etop_tx()
A Dlantiq_xrx200.c135 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_flush_dma()
210 ch->dma.desc_base[ch->dma.desc].addr = mapping + NET_SKB_PAD + NET_IP_ALIGN; in xrx200_alloc_buf()
214 ch->dma.desc_base[ch->dma.desc].ctl = in xrx200_alloc_buf()
223 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_hw_receive()
291 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_poll_rx()
323 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->tx_free]; in xrx200_tx_housekeeping()
332 memset(&ch->dma.desc_base[ch->tx_free], 0, in xrx200_tx_housekeeping()
362 struct ltq_dma_desc *desc = &ch->dma.desc_base[ch->dma.desc]; in xrx200_start_xmit()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/arch/mips/include/asm/mach-lantiq/xway/
A Dxway_dma.h30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
/linux-6.3-rc2/drivers/net/ethernet/mediatek/
A Dmtk_wed_wo.c335 mtk_wed_mmio_w32(wo, q->regs.desc_base, q->desc_dma); in mtk_wed_wo_queue_reset()
416 regs.desc_base = MTK_WED_WO_CCIF_DUMMY1; in mtk_wed_wo_hardware_init()
430 regs.desc_base = MTK_WED_WO_CCIF_DUMMY5; in mtk_wed_wo_hardware_init()
A Dmtk_wed_wo.h190 u32 desc_base; member
/linux-6.3-rc2/arch/x86/lib/
A Dinsn-eval.c624 unsigned long desc_base; in get_desc() local
655 desc_base = sel & ~(SEGMENT_RPL_MASK | SEGMENT_TI_MASK); in get_desc()
657 if (desc_base > gdt_desc.size) in get_desc()
660 *out = *(struct desc_struct *)(gdt_desc.address + desc_base); in get_desc()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Ddma.c186 Q_WRITE(dev, q, desc_base, q->desc_dma); in mt76_dma_sync_idx()
A Dmt76.h174 u32 desc_base; member

Completed in 48 milliseconds