Home
last modified time | relevance | path

Searched refs:DMA_ENABLE (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/arch/m68k/include/asm/
H A Ddvma.h155 #define DMA_ENABLE 0x00000200 /* Fire up DMA, handle requests */ macro
200 #define DMA_OFF(regs) ((((regs)->cond_reg) &= (~DMA_ENABLE)))
206 ((((regs)->cond_reg |= (DMA_ST_WRITE|DMA_ENABLE|DMA_INT_ENAB))))
208 ((((regs)->cond_reg |= ((DMA_ENABLE|DMA_INT_ENAB)&(~DMA_ST_WRITE)))))
/openbmc/linux/drivers/soc/ti/
H A Dknav_dma.c25 #define DMA_ENABLE BIT(31) macro
156 writel_relaxed(DMA_ENABLE, &chan->reg_chan->control); in chan_start()
216 if ((value & DMA_ENABLE) == 0) in chan_teardown()
220 if (readl_relaxed(&chan->reg_chan->control) & DMA_ENABLE) { in chan_teardown()
262 writel_relaxed(DMA_ENABLE, &dma->reg_tx_chan[i].control); in dma_hw_enable_all()
287 writel_relaxed(DMA_ENABLE, &dma->reg_rx_chan[i].control); in knav_dma_hw_init()
301 v = ~DMA_ENABLE & REG_MASK; in knav_dma_hw_destroy()
/openbmc/linux/drivers/scsi/
H A Dsun_esp.c252 esp->prev_hme_dmacsr &= ~(DMA_ENABLE | DMA_ST_WRITE | in sbus_esp_reset_dma()
355 ~(DMA_ST_WRITE | DMA_ENABLE)); in sbus_esp_dma_invalidate()
378 val &= ~(DMA_ENABLE | DMA_ST_WRITE | DMA_BCNT_ENAB); in sbus_esp_dma_invalidate()
402 csr |= DMA_SCSI_DISAB | DMA_ENABLE; in sbus_esp_send_dma_cmd()
414 csr |= DMA_ENABLE; in sbus_esp_send_dma_cmd()
H A Dsun3x_esp.c121 val &= ~(DMA_ENABLE | DMA_ST_WRITE | DMA_BCNT_ENAB); in sun3x_esp_dma_invalidate()
138 csr |= DMA_ENABLE; in sun3x_esp_send_dma_cmd()
/openbmc/qemu/include/hw/m68k/
H A Dnext-cube.h28 #define DMA_ENABLE 0x01000000 macro
/openbmc/linux/drivers/spi/
H A Dspi-qcom-qspi.c28 #define DMA_ENABLE BIT(8) macro
451 if (!(mstr_cfg & DMA_ENABLE)) { in qcom_qspi_transfer_one()
452 mstr_cfg |= DMA_ENABLE; in qcom_qspi_transfer_one()
468 if (mstr_cfg & DMA_ENABLE) { in qcom_qspi_transfer_one()
469 mstr_cfg &= ~DMA_ENABLE; in qcom_qspi_transfer_one()
506 mstr_cfg &= ~DMA_ENABLE; in qcom_qspi_prepare_message()
/openbmc/linux/arch/sparc/include/asm/
H A Ddma.h43 #define DMA_ENABLE 0x00000200 /* Fire up DMA, handle requests */ macro
/openbmc/qemu/hw/m68k/
H A Dnext-cube.c516 next_state->dma[NEXTDMA_ENRX].csr |= DMA_ENABLE; in next_dma_write()
527 DMA_ENABLE | DMA_DEV2M); in next_dma_write()
550 next_state->dma[NEXTDMA_SCSI].csr |= DMA_ENABLE; in next_dma_write()
561 DMA_ENABLE | DMA_DEV2M); in next_dma_write()
/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dcs89x0.h421 #define DMA_ENABLE 0x00 /* Enable channel n */ macro
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.h264 #define DMA_ENABLE 0x700 macro
H A Ddenali.c589 iowrite32(DMA_ENABLE__FLAG, denali->reg + DMA_ENABLE); in denali_dma_xfer()
595 ioread32(denali->reg + DMA_ENABLE); in denali_dma_xfer()
606 iowrite32(0, denali->reg + DMA_ENABLE); in denali_dma_xfer()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.h267 #define DMA_ENABLE 0x700 macro
H A Ddenali.c683 iowrite32(DMA_ENABLE__FLAG, denali->reg + DMA_ENABLE); in denali_dma_xfer()
689 ioread32(denali->reg + DMA_ENABLE); in denali_dma_xfer()
700 iowrite32(0, denali->reg + DMA_ENABLE); in denali_dma_xfer()
/openbmc/linux/include/linux/usb/
H A Dnet2280.h338 #define DMA_ENABLE 1 macro
/openbmc/linux/drivers/usb/gadget/udc/
H A Dnet2272.h389 #define DMA_ENABLE 0 macro
H A Dnet2280.c834 BIT(DMA_ENABLE);
838 handshake(&dma->dmactl, BIT(DMA_ENABLE), 0, 50); in spin_stop_dma()
843 writel(readl(&dma->dmactl) & ~BIT(DMA_ENABLE), &dma->dmactl); in stop_dma()
877 WARN_ON(readl(&dma->dmactl) & BIT(DMA_ENABLE)); in start_dma()
901 writel(BIT(DMA_ENABLE), &dma->dmactl); in start_dma()