/linux-6.6.21/drivers/net/ethernet/sunplus/ |
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()
|
D | spl2sw_define.h | 229 void *desc_base; member
|
/linux-6.6.21/arch/mips/alchemy/common/ |
D | dbdma.c | 394 u32 desc_base, srcid, destid; in au1xxx_dbdma_ring_alloc() local 415 desc_base = (u32)kmalloc_array(entries, sizeof(au1x_ddma_desc_t), in au1xxx_dbdma_ring_alloc() 417 if (desc_base == 0) in au1xxx_dbdma_ring_alloc() 420 if (desc_base & 0x1f) { in au1xxx_dbdma_ring_alloc() 425 kfree((const void *)desc_base); in au1xxx_dbdma_ring_alloc() 428 desc_base = (u32)kmalloc(i, GFP_KERNEL|GFP_DMA); in au1xxx_dbdma_ring_alloc() 429 if (desc_base == 0) in au1xxx_dbdma_ring_alloc() 432 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc() 433 desc_base = ALIGN_ADDR(desc_base, sizeof(au1x_ddma_desc_t)); in au1xxx_dbdma_ring_alloc() 435 ctp->cdb_membase = desc_base; in au1xxx_dbdma_ring_alloc() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ |
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()
|
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.6.21/arch/mips/lantiq/xway/ |
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.6.21/drivers/mmc/host/ |
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()
|
D | cqhci.h | 253 u8 *desc_base; member
|
/linux-6.6.21/arch/mips/include/asm/mach-lantiq/xway/ |
D | xway_dma.h | 30 struct ltq_dma_desc *desc_base; /* the descriptor base */ member
|
/linux-6.6.21/drivers/net/ethernet/mediatek/ |
D | mtk_wed_wo.c | 337 mtk_wed_mmio_w32(wo, q->regs.desc_base, q->desc_dma); in mtk_wed_wo_queue_reset() 418 regs.desc_base = MTK_WED_WO_CCIF_DUMMY1; in mtk_wed_wo_hardware_init() 432 regs.desc_base = MTK_WED_WO_CCIF_DUMMY5; in mtk_wed_wo_hardware_init()
|
D | mtk_wed_wo.h | 191 u32 desc_base; member
|
/linux-6.6.21/arch/x86/lib/ |
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.6.21/drivers/dma/lgm/ |
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.6.21/drivers/atm/ |
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.6.21/drivers/net/wireless/mediatek/mt76/ |
D | dma.c | 186 Q_WRITE(dev, q, desc_base, q->desc_dma); in mt76_dma_sync_idx()
|
D | mt76.h | 175 u32 desc_base; member
|