Home
last modified time | relevance | path

Searched refs:dma_ctrl (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/sgi/
Dmeth.c73 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 …]
/drivers/scsi/
Datari_scsi.c187 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()
461 tt_scsi_dma.dma_ctrl = dir; in atari_scsi_dma_setup()
464 tt_scsi_dma.dma_ctrl = dir | 2; in atari_scsi_dma_setup()
683 tt_scsi_dma.dma_ctrl = 0; in atari_scsi_host_reset()
817 tt_scsi_dma.dma_ctrl = 0; in atari_scsi_probe()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2759 u32 dma_ctrl, ring_cfg; in bcmgenet_init_tx_queues() local
2762 dma_ctrl = bcmgenet_tdma_readl(priv, DMA_CTRL); in bcmgenet_init_tx_queues()
2763 dma_enable = dma_ctrl & DMA_EN; in bcmgenet_init_tx_queues()
2764 dma_ctrl &= ~DMA_EN; in bcmgenet_init_tx_queues()
2765 bcmgenet_tdma_writel(priv, dma_ctrl, DMA_CTRL); in bcmgenet_init_tx_queues()
2767 dma_ctrl = 0; in bcmgenet_init_tx_queues()
2779 dma_ctrl |= (1 << (i + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues()
2790 dma_ctrl |= (1 << (DESC_INDEX + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues()
2805 dma_ctrl |= DMA_EN; in bcmgenet_init_tx_queues()
2806 bcmgenet_tdma_writel(priv, dma_ctrl, DMA_CTRL); in bcmgenet_init_tx_queues()
[all …]
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c123 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()
Dmmp_ctrl.h129 #define dma_ctrl(ctrl1, id) (ctrl1 ? dma_ctrl1(id) : dma_ctrl0(id)) macro
/drivers/net/ethernet/cortina/
Dgemini.c1757 union gmac_dma_ctrl dma_ctrl; in gmac_start_dma() local
1759 dma_ctrl.bits32 = readl(dma_ctrl_reg); in gmac_start_dma()
1760 dma_ctrl.bits.rd_enable = 1; in gmac_start_dma()
1761 dma_ctrl.bits.td_enable = 1; in gmac_start_dma()
1762 dma_ctrl.bits.loopback = 0; in gmac_start_dma()
1763 dma_ctrl.bits.drop_small_ack = 0; in gmac_start_dma()
1764 dma_ctrl.bits.rd_insert_bytes = NET_IP_ALIGN; in gmac_start_dma()
1765 dma_ctrl.bits.rd_prot = HPROT_DATA_CACHE | HPROT_PRIVILIGED; in gmac_start_dma()
1766 dma_ctrl.bits.rd_burst_size = HBURST_INCR8; in gmac_start_dma()
1767 dma_ctrl.bits.rd_bus = HSIZE_8; in gmac_start_dma()
[all …]
/drivers/spi/
Dspi-dw-dma.c418 u16 imr, dma_ctrl; in dw_spi_dma_setup() local
436 dma_ctrl = SPI_DMA_TDMAE; in dw_spi_dma_setup()
438 dma_ctrl |= SPI_DMA_RDMAE; in dw_spi_dma_setup()
439 dw_writel(dws, DW_SPI_DMACR, dma_ctrl); in dw_spi_dma_setup()
/drivers/net/ethernet/qualcomm/emac/
Demac-mac.c393 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()
/drivers/mtd/nand/raw/
Dtegra_nand.c500 u32 addr1, cmd, dma_ctrl; in tegra_nand_page_xfer() local
554 dma_ctrl = DMA_MST_CTRL_GO | DMA_MST_CTRL_PERF_EN | in tegra_nand_page_xfer()
559 dma_ctrl |= DMA_MST_CTRL_EN_A; in tegra_nand_page_xfer()
561 dma_ctrl |= DMA_MST_CTRL_EN_B; in tegra_nand_page_xfer()
564 dma_ctrl |= DMA_MST_CTRL_IN | DMA_MST_CTRL_REUSE; in tegra_nand_page_xfer()
566 dma_ctrl |= DMA_MST_CTRL_OUT; in tegra_nand_page_xfer()
568 writel_relaxed(dma_ctrl, ctrl->regs + DMA_MST_CTRL); in tegra_nand_page_xfer()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c86 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()
/drivers/net/wireless/intersil/p54/
Dp54pci.h60 __le32 dma_ctrl; member
Dp54usb.c774 P54U_WRITE(NET2280_DEV_U32, &devreg->dma_ctrl, in p54u_upload_firmware_net2280()
/drivers/net/ethernet/packetengines/
Dyellowfin.c42 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
604 iowrite32(dma_ctrl, ioaddr + DMACtrl); in yellowfin_open()
/drivers/video/fbdev/
Dsticore.h212 u32 dma_ctrl; member
Dda8xx-fb.c1546 u32 dma_ctrl; member
1566 reg_context.dma_ctrl = lcdc_read(LCD_DMA_CTRL_REG); in lcd_context_save()
1590 lcdc_write(reg_context.dma_ctrl, LCD_DMA_CTRL_REG); in lcd_context_restore()
/drivers/mmc/host/
Dmtk-sd.c650 u32 dma_ctrl; in msdc_dma_setup() local
701 dma_ctrl = readl_relaxed(host->base + MSDC_DMA_CTRL); in msdc_dma_setup()
702 dma_ctrl &= ~(MSDC_DMA_CTRL_BRUSTSZ | MSDC_DMA_CTRL_MODE); in msdc_dma_setup()
703 dma_ctrl |= (MSDC_BURST_64B << 12 | 1 << 8); in msdc_dma_setup()
704 writel_relaxed(dma_ctrl, host->base + MSDC_DMA_CTRL); in msdc_dma_setup()
/drivers/media/platform/atmel/
Datmel-isi.c47 u32 dma_ctrl; member
54 fb_desc->dma_ctrl = ctrl; in set_dma_ctrl()