Home
last modified time | relevance | path

Searched refs:dma_base (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.1.9/drivers/dma/
Dmv_xor_v2.c157 void __iomem *dma_base; member
231 writel(num_of_desc, xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_ADD_OFF); in mv_xor_v2_add_desc_to_desq()
241 writel(num_of_desc, xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_DEALLOC_OFF); in mv_xor_v2_free_desc_from_desq()
251 xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_CTRL_OFF); in mv_xor_v2_set_desc_size()
265 reg = readl(xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_THRD_OFF); in mv_xor_v2_enable_imsg_thrd()
269 writel(reg, xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_THRD_OFF); in mv_xor_v2_enable_imsg_thrd()
272 reg = readl(xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_TMOT); in mv_xor_v2_enable_imsg_thrd()
275 writel(reg, xor_dev->dma_base + MV_XOR_V2_DMA_IMSG_TMOT); in mv_xor_v2_enable_imsg_thrd()
284 reg = readl(xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_DONE_OFF); in mv_xor_v2_interrupt_handler()
542 reg = readl(xor_dev->dma_base + MV_XOR_V2_DMA_DESQ_DONE_OFF); in mv_xor_v2_get_pending_params()
[all …]
/linux-6.1.9/drivers/net/ethernet/8390/
Detherh.c67 void __iomem *dma_base; member
309 void __iomem *dma_base, *addr; in etherh_block_output() local
327 dma_base = etherh_priv(dev)->dma_base; in etherh_block_output()
348 writesw (dma_base, buf, count >> 1); in etherh_block_output()
350 writesb (dma_base, buf, count); in etherh_block_output()
374 void __iomem *dma_base, *addr; in etherh_block_input() local
386 dma_base = etherh_priv(dev)->dma_base; in etherh_block_input()
397 readsw (dma_base, buf, count >> 1); in etherh_block_input()
399 buf[count - 1] = readb (dma_base); in etherh_block_input()
401 readsb (dma_base, buf, count); in etherh_block_input()
[all …]
/linux-6.1.9/drivers/ata/
Dpata_octeon_cf.c58 u64 dma_base; member
248 c = (cf_port->dma_base & 8) >> 3; in octeon_cf_set_dmamode()
278 cvmx_write_csr(cf_port->dma_base + DMA_TIM, dma_tim.u64); in octeon_cf_set_dmamode()
549 cvmx_write_csr(cf_port->dma_base + DMA_INT, mio_boot_dma_int.u64); in octeon_cf_dma_start()
552 cvmx_write_csr(cf_port->dma_base + DMA_INT_EN, mio_boot_dma_int.u64); in octeon_cf_dma_start()
580 cvmx_write_csr(cf_port->dma_base + DMA_CFG, mio_boot_dma_cfg.u64); in octeon_cf_dma_start()
603 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished()
613 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished()
617 cvmx_write_csr(cf_port->dma_base + DMA_INT_EN, dma_int.u64); in octeon_cf_dma_finished()
621 cvmx_write_csr(cf_port->dma_base + DMA_INT, dma_int.u64); in octeon_cf_dma_finished()
[all …]
/linux-6.1.9/arch/arm64/mm/
Ddma-mapping.c64 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
77 iommu_setup_dma_ops(dev, dma_base, dma_base + size - 1); in arch_setup_dma_ops()
/linux-6.1.9/arch/alpha/kernel/
Dpci_iommu.c85 arena->dma_base = base; in iommu_arena_new_node()
114 base = arena->dma_base >> PAGE_SHIFT; in iommu_arena_find_pages()
276 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in pci_map_single_1()
295 ret = arena->dma_base + dma_ofs * PAGE_SIZE; in pci_map_single_1()
378 if (!arena || dma_addr < arena->dma_base) in alpha_pci_unmap_page()
381 dma_ofs = (dma_addr - arena->dma_base) >> PAGE_SHIFT; in alpha_pci_unmap_page()
385 dma_addr, arena->dma_base, arena->size); in alpha_pci_unmap_page()
587 out->dma_address = arena->dma_base + dma_ofs*PAGE_SIZE + paddr; in sg_fill()
668 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_map_sg()
733 if (!arena || arena->dma_base + arena->size - 1 > max_dma) in alpha_pci_unmap_sg()
[all …]
Dcore_titan.c326 port->wsba[0].csr = hose->sg_isa->dma_base | 3; in titan_init_one_pachip_port()
334 port->wsba[2].csr = hose->sg_pci->dma_base | 3; in titan_init_one_pachip_port()
498 baddr >= (unsigned long)hose->sg_pci->dma_base && in titan_ioremap()
499 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size){ in titan_ioremap()
504 baddr -= hose->sg_pci->dma_base; in titan_ioremap()
505 last -= hose->sg_pci->dma_base; in titan_ioremap()
612 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in titan_agp_setup()
702 unsigned long baddr = addr - aper->arena->dma_base; in titan_agp_translate()
Dcore_marvel.c293 hose->sg_isa->dma_base | wbase_m_ena | wbase_m_sg; in io7_init_hose()
310 hose->sg_pci->dma_base | wbase_m_ena | wbase_m_sg; in io7_init_hose()
727 baddr >= (unsigned long)hose->sg_pci->dma_base && in marvel_ioremap()
728 last < (unsigned long)hose->sg_pci->dma_base + hose->sg_pci->size) { in marvel_ioremap()
733 baddr -= hose->sg_pci->dma_base; in marvel_ioremap()
734 last -= hose->sg_pci->dma_base; in marvel_ioremap()
882 aper->arena->dma_base + aper->pg_start * PAGE_SIZE; in marvel_agp_setup()
994 unsigned long baddr = addr - aper->arena->dma_base; in marvel_agp_translate()
Dpci.c101 if (pci && pci->dma_base + pci->size >= 0xfff00000UL) in quirk_cypress()
102 pci->size = 0xfff00000UL - pci->dma_base; in quirk_cypress()
336 sg_base = hose->sg_pci ? hose->sg_pci->dma_base : ~0; in common_init_pci()
Dpci_impl.h140 dma_addr_t dma_base; member
/linux-6.1.9/arch/arm/mach-omap1/
Ddma.c174 static void __iomem *dma_base; variable
177 void __iomem *addr = dma_base; in dma_write()
189 void __iomem *addr = dma_base; in dma_read()
324 dma_base = ioremap(res[0].start, resource_size(&res[0])); in omap1_system_dma_init()
325 if (!dma_base) { in omap1_system_dma_init()
409 iounmap(dma_base); in omap1_system_dma_init()
/linux-6.1.9/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_ctrl.c176 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
179 &dev->dma_base[BANK_L_CTX]); in s5p_mfc_init_memctrl()
181 mfc_write(dev, dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
183 mfc_write(dev, dev->dma_base[BANK_R_CTX], in s5p_mfc_init_memctrl()
186 &dev->dma_base[BANK_L_CTX], in s5p_mfc_init_memctrl()
187 &dev->dma_base[BANK_R_CTX]); in s5p_mfc_init_memctrl()
Ds5p_mfc_opr_v5.c30 #define OFFSETA(x) (((x) - dev->dma_base[BANK_L_CTX]) >> MFC_OFFSET_SHIFT)
31 #define OFFSETB(x) (((x) - dev->dma_base[BANK_R_CTX]) >> MFC_OFFSET_SHIFT)
233 ctx->shm.ofs = ctx->shm.dma - dev->dma_base[BANK_L_CTX]; in s5p_mfc_alloc_instance_buffer_v5()
532 *y_addr = dev->dma_base[BANK_R_CTX] + in s5p_mfc_get_enc_frame_buffer_v5()
534 *c_addr = dev->dma_base[BANK_R_CTX] + in s5p_mfc_get_enc_frame_buffer_v5()
1212 s5p_mfc_set_enc_frame_buffer_v5(ctx, dev->dma_base[BANK_R_CTX], in s5p_mfc_run_enc_frame()
1213 dev->dma_base[BANK_R_CTX]); in s5p_mfc_run_enc_frame()
1222 dev->dma_base[BANK_R_CTX], in s5p_mfc_run_enc_frame()
1223 dev->dma_base[BANK_R_CTX]); in s5p_mfc_run_enc_frame()
/linux-6.1.9/arch/arm/mach-davinci/
Dsram.c24 dma_addr_t dma_base = davinci_soc_info.sram_dma; in sram_alloc() local
28 if (!sram_pool || (dma && !dma_base)) in sram_alloc()
/linux-6.1.9/drivers/net/ethernet/cortina/
Dgemini.c110 void __iomem *dma_base; member
525 readl(port->dma_base + GMAC_AHB_WEIGHT_REG); in gmac_init()
526 writel(ahb_weight.bits32, port->dma_base + GMAC_AHB_WEIGHT_REG); in gmac_init()
529 port->dma_base + GMAC_TX_WEIGHTING_CTRL_0_REG); in gmac_init()
531 port->dma_base + GMAC_TX_WEIGHTING_CTRL_1_REG); in gmac_init()
559 rwptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_setup_txqs()
582 port->dma_base + GMAC_SW_TX_QUEUE_BASE_REG); in gmac_setup_txqs()
683 rwptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_cleanup_txqs()
693 writel(0, port->dma_base + GMAC_SW_TX_QUEUE_BASE_REG); in gmac_cleanup_txqs()
1240 ptr_reg = port->dma_base + GMAC_SW_TX_QUEUE_PTR_REG(txq_num); in gmac_start_xmit()
[all …]
/linux-6.1.9/drivers/mmc/host/
Dcavium-thunderx.c85 host->dma_base = host->base; in thunder_mmc_probe()
180 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
182 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
Dcavium-octeon.c216 host->dma_base = base; in octeon_mmc_probe()
307 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
309 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
Dcavium.c387 fifo_cfg = readq(host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in finish_dma_sg()
396 writeq(BIT_ULL(16), host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in finish_dma_sg()
538 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in prepare_dma_single()
544 writeq(addr, host->dma_base + MIO_EMM_DMA_ADR(host)); in prepare_dma_single()
566 writeq(0, host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in prepare_dma_sg()
573 writeq(addr, host->dma_base + MIO_EMM_DMA_FIFO_ADR(host)); in prepare_dma_sg()
596 writeq(fifo_cmd, host->dma_base + MIO_EMM_DMA_FIFO_CMD(host)); in prepare_dma_sg()
613 writeq(BIT_ULL(16), host->dma_base + MIO_EMM_DMA_FIFO_CFG(host)); in prepare_dma_sg()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/
Ddsi.h63 bool msm_dsi_manager_cmd_xfer_trigger(int id, u32 dma_base, u32 len);
85 u32 dma_base, u32 len);
/linux-6.1.9/arch/arm/mm/
Ddma-mapping-nommu.c36 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.1.9/arch/arc/mm/
Ddma.c93 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbgmac.c585 ring->dma_base); in bgmac_dma_ring_desc_free()
638 &ring->dma_base, in bgmac_dma_alloc()
649 ring->index_base = lower_32_bits(ring->dma_base); in bgmac_dma_alloc()
663 &ring->dma_base, in bgmac_dma_alloc()
674 ring->index_base = lower_32_bits(ring->dma_base); in bgmac_dma_alloc()
697 lower_32_bits(ring->dma_base)); in bgmac_dma_init()
699 upper_32_bits(ring->dma_base)); in bgmac_dma_init()
715 lower_32_bits(ring->dma_base)); in bgmac_dma_init()
717 upper_32_bits(ring->dma_base)); in bgmac_dma_init()
/linux-6.1.9/sound/soc/bcm/
Dbcm2835-i2s.c834 dma_addr_t dma_base; in bcm2835_i2s_probe() local
864 dma_base = be32_to_cpup(addr); in bcm2835_i2s_probe()
867 dma_base + BCM2835_I2S_FIFO_A_REG; in bcm2835_i2s_probe()
870 dma_base + BCM2835_I2S_FIFO_A_REG; in bcm2835_i2s_probe()
/linux-6.1.9/arch/riscv/mm/
Ddma-noncoherent.c59 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops() argument
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvfw/
Dpmu.h15 u32 dma_base; member
/linux-6.1.9/drivers/ntb/test/
Dntb_tool.c214 dma_addr_t dma_base; member
596 &inmw->dma_base, GFP_KERNEL); in tool_setup_mw()
600 if (!IS_ALIGNED(inmw->dma_base, addr_align)) { in tool_setup_mw()
605 ret = ntb_mw_set_trans(tc->ntb, pidx, widx, inmw->dma_base, inmw->size); in tool_setup_mw()
618 inmw->dma_base); in tool_setup_mw()
620 inmw->dma_base = 0; in tool_setup_mw()
635 inmw->mm_base, inmw->dma_base); in tool_free_mw()
639 inmw->dma_base = 0; in tool_free_mw()
680 &inmw->dma_base); in tool_mw_trans_read()

123