Home
last modified time | relevance | path

Searched refs:dma_ctrl (Results 1 – 16 of 16) 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()
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()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c2812 u32 dma_ctrl, ring_cfg; in bcmgenet_init_tx_queues() local
2815 dma_ctrl = bcmgenet_tdma_readl(priv, DMA_CTRL); in bcmgenet_init_tx_queues()
2816 dma_enable = dma_ctrl & DMA_EN; in bcmgenet_init_tx_queues()
2817 dma_ctrl &= ~DMA_EN; in bcmgenet_init_tx_queues()
2818 bcmgenet_tdma_writel(priv, dma_ctrl, DMA_CTRL); in bcmgenet_init_tx_queues()
2820 dma_ctrl = 0; in bcmgenet_init_tx_queues()
2832 dma_ctrl |= (1 << (i + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues()
2843 dma_ctrl |= (1 << (DESC_INDEX + DMA_RING_BUF_EN_SHIFT)); in bcmgenet_init_tx_queues()
2858 dma_ctrl |= DMA_EN; in bcmgenet_init_tx_queues()
2859 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.c1764 union gmac_dma_ctrl dma_ctrl; in gmac_start_dma() local
1766 dma_ctrl.bits32 = readl(dma_ctrl_reg); in gmac_start_dma()
1767 dma_ctrl.bits.rd_enable = 1; in gmac_start_dma()
1768 dma_ctrl.bits.td_enable = 1; in gmac_start_dma()
1769 dma_ctrl.bits.loopback = 0; in gmac_start_dma()
1770 dma_ctrl.bits.drop_small_ack = 0; in gmac_start_dma()
1771 dma_ctrl.bits.rd_insert_bytes = NET_IP_ALIGN; in gmac_start_dma()
1772 dma_ctrl.bits.rd_prot = HPROT_DATA_CACHE | HPROT_PRIVILIGED; in gmac_start_dma()
1773 dma_ctrl.bits.rd_burst_size = HBURST_INCR8; in gmac_start_dma()
1774 dma_ctrl.bits.rd_bus = HSIZE_8; in gmac_start_dma()
[all …]
/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/spi/
Dspi-dw-dma.c470 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()
/drivers/mtd/nand/raw/
Dtegra_nand.c503 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()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c87 u32 dma_ctrl, txqctl; in fm10k_init_hw_pf() local
141 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN1; in fm10k_init_hw_pf()
145 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN2; in fm10k_init_hw_pf()
149 dma_ctrl = FM10K_DMA_CTRL_MAX_HOLD_1US_GEN3; in fm10k_init_hw_pf()
153 dma_ctrl = 0; in fm10k_init_hw_pf()
168 dma_ctrl |= FM10K_DMA_CTRL_TX_ENABLE | FM10K_DMA_CTRL_RX_ENABLE | in fm10k_init_hw_pf()
172 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
606 iowrite32(dma_ctrl, ioaddr + DMACtrl); in yellowfin_open()
/drivers/video/fbdev/
Dda8xx-fb.c1544 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()
/drivers/mmc/host/
Dmtk-sd.c707 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()
/drivers/media/platform/atmel/
Datmel-isi.c47 u32 dma_ctrl; member
54 fb_desc->dma_ctrl = ctrl; in set_dma_ctrl()