/linux-6.3-rc2/drivers/net/ethernet/sunplus/ |
A D | spl2sw_desc.c | 108 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 D | spl2sw_define.h | 229 void *desc_base; member
|
/linux-6.3-rc2/arch/mips/alchemy/common/ |
A D | dbdma.c | 393 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 D | lantiq_etop.c | 114 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 D | lantiq_xrx200.c | 135 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 D | dma.c | 127 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 D | cqhci-core.c | 38 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 D | cqhci.h | 250 u8 *desc_base; member
|
/linux-6.3-rc2/arch/mips/include/asm/mach-lantiq/xway/ |
A D | xway_dma.h | 30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
|
/linux-6.3-rc2/drivers/net/ethernet/mediatek/ |
A D | mtk_wed_wo.c | 335 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 D | mtk_wed_wo.h | 190 u32 desc_base; member
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | insn-eval.c | 624 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 D | lgm-dma.c | 202 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 D | iphase.h | 676 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 D | dma.c | 186 Q_WRITE(dev, q, desc_base, q->desc_dma); in mt76_dma_sync_idx()
|
A D | mt76.h | 174 u32 desc_base; member
|