/linux-6.6.21/drivers/net/ethernet/sgi/ |
D | meth.c | 73 unsigned long dma_ctrl; member 301 priv->dma_ctrl = (4 << METH_RX_OFFSET_SHIFT) | in meth_reset() 303 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_reset() 340 priv->dma_ctrl |= METH_DMA_TX_EN | /*METH_DMA_TX_INT_EN |*/ in meth_open() 342 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_open() 364 priv->dma_ctrl &= ~(METH_DMA_TX_EN | METH_DMA_TX_INT_EN | in meth_release() 366 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_release() 385 priv->dma_ctrl &= ~METH_DMA_RX_INT_EN; in meth_rx() 386 mace->eth.dma_ctrl = priv->dma_ctrl; in meth_rx() 463 priv->dma_ctrl |= METH_DMA_RX_INT_EN | METH_DMA_RX_EN; in meth_rx() [all …]
|
/linux-6.6.21/sound/soc/amd/ |
D | acp-pcm-dma.c | 136 u32 dma_ctrl; in config_acp_dma_channel() local 139 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 140 dma_ctrl &= ~ACP_DMA_CNTL_0__DMAChRun_MASK; in config_acp_dma_channel() 141 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in config_acp_dma_channel() 182 u32 dma_ctrl; in pre_config_reset() local 186 dma_ctrl = acp_reg_read(acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in pre_config_reset() 187 dma_ctrl &= ~ACP_DMA_CNTL_0__DMAChRst_MASK; in pre_config_reset() 188 acp_reg_write(dma_ctrl, acp_mmio, mmACP_DMA_CNTL_0 + ch_num); in pre_config_reset() 191 dma_ctrl, in pre_config_reset() 192 !(dma_ctrl & ACP_DMA_CNTL_0__DMAChRst_MASK), in pre_config_reset() [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | atari_scsi.c | 187 dma_stat = tt_scsi_dma.dma_ctrl; in scsi_tt_intr() 253 tt_scsi_dma.dma_ctrl = 0; in scsi_tt_intr() 261 tt_scsi_dma.dma_ctrl = 0; in scsi_tt_intr() 457 tt_scsi_dma.dma_ctrl = dir; in atari_scsi_dma_setup() 460 tt_scsi_dma.dma_ctrl = dir | 2; in atari_scsi_dma_setup() 679 tt_scsi_dma.dma_ctrl = 0; in atari_scsi_host_reset() 813 tt_scsi_dma.dma_ctrl = 0; in atari_scsi_probe()
|
/linux-6.6.21/sound/pci/au88x0/ |
D | au88x0_core.c | 1075 dma->dma_ctrl); in vortex_adbdma_setfirstbuffer() 1148 dma->dma_ctrl = in vortex_adbdma_setmode() 1149 ((offset & OFFSET_MASK) | (dma->dma_ctrl & ~OFFSET_MASK)); in vortex_adbdma_setmode() 1151 dma->dma_ctrl = in vortex_adbdma_setmode() 1152 (dma->dma_ctrl & ~IE_MASK) | ((ie << IE_SHIFT) & IE_MASK); in vortex_adbdma_setmode() 1154 dma->dma_ctrl = in vortex_adbdma_setmode() 1155 (dma->dma_ctrl & ~DIR_MASK) | ((dir << DIR_SHIFT) & DIR_MASK); in vortex_adbdma_setmode() 1156 dma->dma_ctrl = in vortex_adbdma_setmode() 1157 (dma->dma_ctrl & ~FMT_MASK) | ((fmt << FMT_SHIFT) & FMT_MASK); in vortex_adbdma_setmode() 1160 dma->dma_ctrl); in vortex_adbdma_setmode() [all …]
|
D | au88x0.h | 109 u32 dma_ctrl; /* this_78 (ADB), this_7c (WT) */ member
|
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 2806 u32 dma_ctrl, ring_cfg; in bcmgenet_init_tx_queues() local 2809 dma_ctrl = bcmgenet_tdma_readl(priv, DMA_CTRL); in bcmgenet_init_tx_queues() 2810 dma_enable = dma_ctrl & DMA_EN; in bcmgenet_init_tx_queues() 2811 dma_ctrl &= ~DMA_EN; in bcmgenet_init_tx_queues() 2812 bcmgenet_tdma_writel(priv, dma_ctrl, DMA_CTRL); in bcmgenet_init_tx_queues() 2814 dma_ctrl = 0; in bcmgenet_init_tx_queues() 2826 dma_ctrl |= (1 << (i + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues() 2837 dma_ctrl |= (1 << (DESC_INDEX + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues() 2852 dma_ctrl |= DMA_EN; in bcmgenet_init_tx_queues() 2853 bcmgenet_tdma_writel(priv, dma_ctrl, DMA_CTRL); in bcmgenet_init_tx_queues() [all …]
|
/linux-6.6.21/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 123 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt() 126 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt() 174 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff() 177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff() 375 writel_relaxed(dma_ctrl1, ctrl_regs(path) + dma_ctrl(1, path->id)); in path_set_default() 388 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in path_set_default() 392 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in path_set_default()
|
/linux-6.6.21/arch/m68k/atari/ |
D | config.c | 304 if (hwreg_present(&tt_scc_dma.dma_ctrl) && in config_atari() 307 (tt_scc_dma.dma_ctrl = 0x01, (tt_scc_dma.dma_ctrl & 1) == 1) && in config_atari() 308 (tt_scc_dma.dma_ctrl = 0x00, (tt_scc_dma.dma_ctrl & 1) == 0) in config_atari()
|
/linux-6.6.21/drivers/net/ethernet/cortina/ |
D | gemini.c | 1756 union gmac_dma_ctrl dma_ctrl; in gmac_start_dma() local 1758 dma_ctrl.bits32 = readl(dma_ctrl_reg); in gmac_start_dma() 1759 dma_ctrl.bits.rd_enable = 1; in gmac_start_dma() 1760 dma_ctrl.bits.td_enable = 1; in gmac_start_dma() 1761 dma_ctrl.bits.loopback = 0; in gmac_start_dma() 1762 dma_ctrl.bits.drop_small_ack = 0; in gmac_start_dma() 1763 dma_ctrl.bits.rd_insert_bytes = NET_IP_ALIGN; in gmac_start_dma() 1764 dma_ctrl.bits.rd_prot = HPROT_DATA_CACHE | HPROT_PRIVILIGED; in gmac_start_dma() 1765 dma_ctrl.bits.rd_burst_size = HBURST_INCR8; in gmac_start_dma() 1766 dma_ctrl.bits.rd_bus = HSIZE_8; in gmac_start_dma() [all …]
|
/linux-6.6.21/sound/soc/intel/skylake/ |
D | skl-messages.c | 690 struct skl_dma_control *dma_ctrl; in skl_dsp_set_dma_control() local 704 dma_ctrl = kzalloc(msg.param_data_size, GFP_KERNEL); in skl_dsp_set_dma_control() 705 if (dma_ctrl == NULL) in skl_dsp_set_dma_control() 708 dma_ctrl->node_id = node_id; in skl_dsp_set_dma_control() 716 dma_ctrl->config_length = DMA_I2S_BLOB_SIZE; in skl_dsp_set_dma_control() 718 memcpy(dma_ctrl->config_data, caps, caps_size); in skl_dsp_set_dma_control() 720 err = skl_ipc_set_large_config(&skl->ipc, &msg, (u32 *)dma_ctrl); in skl_dsp_set_dma_control() 722 kfree(dma_ctrl); in skl_dsp_set_dma_control()
|
/linux-6.6.21/drivers/spi/ |
D | spi-dw-dma.c | 470 u16 imr, dma_ctrl; in dw_spi_dma_setup() local 488 dma_ctrl = DW_SPI_DMACR_TDMAE; in dw_spi_dma_setup() 490 dma_ctrl |= DW_SPI_DMACR_RDMAE; in dw_spi_dma_setup() 491 dw_writel(dws, DW_SPI_DMACR, dma_ctrl); in dw_spi_dma_setup()
|
/linux-6.6.21/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 393 u32 dma_ctrl = DMAR_REQ_PRI; in emac_mac_dma_config() local 397 dma_ctrl |= IN_ORDER_MODE; in emac_mac_dma_config() 400 dma_ctrl |= ENH_ORDER_MODE; in emac_mac_dma_config() 403 dma_ctrl |= OUT_ORDER_MODE; in emac_mac_dma_config() 409 dma_ctrl |= (((u32)adpt->dmar_block) << REGRDBLEN_SHFT) & in emac_mac_dma_config() 411 dma_ctrl |= (((u32)adpt->dmaw_block) << REGWRBLEN_SHFT) & in emac_mac_dma_config() 413 dma_ctrl |= (((u32)adpt->dmar_dly_cnt) << DMAR_DLY_CNT_SHFT) & in emac_mac_dma_config() 415 dma_ctrl |= (((u32)adpt->dmaw_dly_cnt) << DMAW_DLY_CNT_SHFT) & in emac_mac_dma_config() 419 writel(dma_ctrl, adpt->base + EMAC_DMA_CTRL); in emac_mac_dma_config()
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | tegra_nand.c | 503 u32 addr1, cmd, dma_ctrl; in tegra_nand_page_xfer() local 557 dma_ctrl = DMA_MST_CTRL_GO | DMA_MST_CTRL_PERF_EN | in tegra_nand_page_xfer() 562 dma_ctrl |= DMA_MST_CTRL_EN_A; in tegra_nand_page_xfer() 564 dma_ctrl |= DMA_MST_CTRL_EN_B; in tegra_nand_page_xfer() 567 dma_ctrl |= DMA_MST_CTRL_IN | DMA_MST_CTRL_REUSE; in tegra_nand_page_xfer() 569 dma_ctrl |= DMA_MST_CTRL_OUT; in tegra_nand_page_xfer() 571 writel_relaxed(dma_ctrl, ctrl->regs + DMA_MST_CTRL); in tegra_nand_page_xfer()
|
/linux-6.6.21/drivers/net/wireless/intersil/p54/ |
D | p54pci.h | 60 __le32 dma_ctrl; member
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pf.c | 86 u32 dma_ctrl, txqctl; in fm10k_init_hw_pf() local 140 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN1; in fm10k_init_hw_pf() 144 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN2; in fm10k_init_hw_pf() 148 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN3; in fm10k_init_hw_pf() 152 dma_ctrl = 0; in fm10k_init_hw_pf() 167 dma_ctrl |= FM10K_DMA_CTRL_TX_ENABLE | FM10K_DMA_CTRL_RX_ENABLE | in fm10k_init_hw_pf() 171 fm10k_write_reg(hw, FM10K_DMA_CTRL, dma_ctrl); in fm10k_init_hw_pf()
|
/linux-6.6.21/arch/mips/sgi-ip22/ |
D | ip28-berr.c | 312 u32 ctl = sgimc->dma_ctrl; in check_microtlb() 340 if (!(sgimc->dma_ctrl & 0x100)) /* Xlate-bit clear ? */ in check_vdma_memaddr()
|
/linux-6.6.21/arch/mips/include/asm/sgi/ |
D | mc.h | 160 volatile u32 dma_ctrl; /* Main DMA control reg */ member
|
/linux-6.6.21/arch/mips/include/asm/ip32/ |
D | mace.h | 100 volatile unsigned long dma_ctrl; member
|
/linux-6.6.21/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 42 static int dma_ctrl = 0x004A0263; /* Constrained by errata */ variable 45 static int dma_ctrl = 0x00CAC277; /* Override when loading module! */ variable 48 static const int dma_ctrl = 0x004A0263; /* Constrained by errata */ variable 606 iowrite32(dma_ctrl, ioaddr + DMACtrl); in yellowfin_open()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | leon_pci_grpci2.c | 76 unsigned int dma_ctrl; /* 0x10 DMA */ member 582 REGSTORE(regs->dma_ctrl, 0); in grpci2_hw_init()
|
/linux-6.6.21/include/video/ |
D | sticore.h | 213 u32 dma_ctrl; member
|
/linux-6.6.21/drivers/video/fbdev/ |
D | da8xx-fb.c | 1544 u32 dma_ctrl; member 1564 reg_context.dma_ctrl = lcdc_read(LCD_DMA_CTRL_REG); in lcd_context_save() 1588 lcdc_write(reg_context.dma_ctrl, LCD_DMA_CTRL_REG); in lcd_context_restore()
|
/linux-6.6.21/drivers/mmc/host/ |
D | mtk-sd.c | 707 u32 dma_ctrl; in msdc_dma_setup() local 758 dma_ctrl = readl_relaxed(host->base + MSDC_DMA_CTRL); in msdc_dma_setup() 759 dma_ctrl &= ~(MSDC_DMA_CTRL_BRUSTSZ | MSDC_DMA_CTRL_MODE); in msdc_dma_setup() 760 dma_ctrl |= (MSDC_BURST_64B << 12 | BIT(8)); in msdc_dma_setup() 761 writel_relaxed(dma_ctrl, host->base + MSDC_DMA_CTRL); in msdc_dma_setup()
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | atarihw.h | 338 u_short dma_ctrl; member
|
/linux-6.6.21/drivers/media/platform/atmel/ |
D | atmel-isi.c | 47 u32 dma_ctrl; member 54 fb_desc->dma_ctrl = ctrl; in set_dma_ctrl()
|