Searched refs:dma_base_addr (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/arch/m68k/include/asm/ |
D | dma.h | 49 extern unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS]; 134 dmawp = (unsigned short *) dma_base_addr[dmanr]; in enable_dma() 147 dmawp = (unsigned short *) dma_base_addr[dmanr]; in disable_dma() 148 dmapb = (unsigned char *) dma_base_addr[dmanr]; in disable_dma() 180 dmabp = (unsigned char *) dma_base_addr[dmanr]; in set_dma_mode() 181 dmawp = (unsigned short *) dma_base_addr[dmanr]; in set_dma_mode() 222 dmawp = (unsigned short *) dma_base_addr[dmanr]; in set_dma_addr() 223 dmalp = (unsigned int *) dma_base_addr[dmanr]; in set_dma_addr() 270 dmawp = (unsigned short *) dma_base_addr[dmanr]; in set_dma_count() 289 dmawp = (unsigned short *) dma_base_addr[dmanr]; in get_dma_residue() [all …]
|
/Linux-v5.10/arch/sh/drivers/dma/ |
D | dma-sh.c | 39 static unsigned long dma_base_addr(unsigned int chan) in dma_base_addr() function 93 u32 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in calc_xmit_shift() 111 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in dma_tei() 117 __raw_writel(chcr, (dma_base_addr(chan->chan) + CHCR)); in dma_tei() 151 __raw_writel(chcr, (dma_base_addr(chan->chan) + CHCR)); in sh_dmac_configure_channel() 162 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in sh_dmac_enable_dma() 168 __raw_writel(chcr, (dma_base_addr(chan->chan) + CHCR)); in sh_dmac_enable_dma() 186 chcr = __raw_readl(dma_base_addr(chan->chan) + CHCR); in sh_dmac_disable_dma() 188 __raw_writel(chcr, (dma_base_addr(chan->chan) + CHCR)); in sh_dmac_disable_dma() 219 __raw_writel(chan->sar, (dma_base_addr(chan->chan) + SAR)); in sh_dmac_xfer_dma() [all …]
|
/Linux-v5.10/arch/m68k/coldfire/ |
D | dma.c | 24 unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { variable 38 EXPORT_SYMBOL(dma_base_addr);
|
/Linux-v5.10/drivers/dma/ |
D | moxart-dma.c | 571 void __iomem *dma_base_addr; in moxart_probe() local 588 dma_base_addr = devm_ioremap_resource(dev, res); in moxart_probe() 589 if (IS_ERR(dma_base_addr)) in moxart_probe() 590 return PTR_ERR(dma_base_addr); in moxart_probe() 601 ch->base = dma_base_addr + i * REG_OFF_CHAN_SIZE; in moxart_probe()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 724 u32 dma_no, dma_base_addr, temp_addr; in qlcnic_start_pex_dma() local 731 dma_base_addr = QLC_DMA_REG_BASE_ADDR(dma_no); in qlcnic_start_pex_dma() 733 temp_addr = dma_base_addr + QLC_DMA_CMD_BUFF_ADDR_LOW; in qlcnic_start_pex_dma() 738 temp_addr = dma_base_addr + QLC_DMA_CMD_BUFF_ADDR_HI; in qlcnic_start_pex_dma() 743 temp_addr = dma_base_addr + QLC_DMA_CMD_STATUS_CTRL; in qlcnic_start_pex_dma() 749 temp_addr = dma_base_addr + QLC_DMA_CMD_STATUS_CTRL; in qlcnic_start_pex_dma() 772 u32 temp, dma_base_addr, size = 0, read_size = 0; in qlcnic_read_memory_pexdma() local 784 dma_base_addr = QLC_DMA_REG_BASE_ADDR(temp); in qlcnic_read_memory_pexdma() 786 dma_base_addr + QLC_DMA_CMD_STATUS_CTRL); in qlcnic_read_memory_pexdma()
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_nx2.c | 2826 uint64_t dma_base_addr = 0; in qla8044_check_dma_engine_state() local 2832 dma_base_addr = ISP8044_PEX_DMA_BASE_ADDRESS + in qla8044_check_dma_engine_state() 2837 (dma_base_addr + ISP8044_PEX_DMA_CMD_STS_AND_CNTRL), in qla8044_check_dma_engine_state() 2856 uint64_t dma_base_addr = 0; in qla8044_start_pex_dma() local 2862 dma_base_addr = ISP8044_PEX_DMA_BASE_ADDRESS + in qla8044_start_pex_dma() 2866 dma_base_addr + ISP8044_PEX_DMA_CMD_ADDR_LOW, in qla8044_start_pex_dma() 2872 dma_base_addr + ISP8044_PEX_DMA_CMD_ADDR_HIGH, 0); in qla8044_start_pex_dma() 2877 dma_base_addr + ISP8044_PEX_DMA_CMD_STS_AND_CNTRL, in qla8044_start_pex_dma() 2885 (dma_base_addr + ISP8044_PEX_DMA_CMD_STS_AND_CNTRL), in qla8044_start_pex_dma()
|
/Linux-v5.10/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 1947 uint64_t dma_base_addr = 0; in qla4_83xx_check_dma_engine_state() local 1954 dma_base_addr = QLA83XX_PEX_DMA_BASE_ADDRESS + in qla4_83xx_check_dma_engine_state() 1959 (dma_base_addr + QLA83XX_PEX_DMA_CMD_STS_AND_CNTRL), in qla4_83xx_check_dma_engine_state() 1977 uint64_t dma_base_addr = 0; in qla4_83xx_start_pex_dma() local 1984 dma_base_addr = QLA83XX_PEX_DMA_BASE_ADDRESS + in qla4_83xx_start_pex_dma() 1988 dma_base_addr + QLA83XX_PEX_DMA_CMD_ADDR_LOW, in qla4_83xx_start_pex_dma() 1994 dma_base_addr + QLA83XX_PEX_DMA_CMD_ADDR_HIGH, 0); in qla4_83xx_start_pex_dma() 1999 dma_base_addr + QLA83XX_PEX_DMA_CMD_STS_AND_CNTRL, in qla4_83xx_start_pex_dma() 2007 (dma_base_addr + QLA83XX_PEX_DMA_CMD_STS_AND_CNTRL), in qla4_83xx_start_pex_dma()
|