Home
last modified time | relevance | path

Searched refs:dma_reg (Results 1 – 18 of 18) sorted by relevance

/linux/arch/mips/include/asm/mach-rc32434/
H A Ddma_v.h26 static inline int rc32434_halt_dma(struct dma_reg *ch) in rc32434_halt_dma()
42 static inline void rc32434_start_dma(struct dma_reg *ch, u32 dma_addr) in rc32434_start_dma()
48 static inline void rc32434_chain_dma(struct dma_reg *ch, u32 dma_addr) in rc32434_chain_dma()
H A Ddma.h62 struct dma_reg { struct
101 struct dma_reg ch[DMA_CHAN_COUNT];
/linux/drivers/mailbox/
H A Dbcm-pdc-mailbox.c984 struct dma64 *dma_reg; in pdc_ring_init() local
1024 dma_reg = &pdcs->regs->dmaregs[ringset]; in pdc_ring_init()
1027 iowrite32(PDC_TX_CTL, &dma_reg->dmaxmt.control); in pdc_ring_init()
1029 &dma_reg->dmarcv.control); in pdc_ring_init()
1030 iowrite32(0, &dma_reg->dmaxmt.ptr); in pdc_ring_init()
1031 iowrite32(0, &dma_reg->dmarcv.ptr); in pdc_ring_init()
1035 &dma_reg->dmaxmt.addrlow); in pdc_ring_init()
1037 &dma_reg->dmaxmt.addrhigh); in pdc_ring_init()
1040 &dma_reg->dmarcv.addrlow); in pdc_ring_init()
1042 &dma_reg->dmarcv.addrhigh); in pdc_ring_init()
[all …]
/linux/sound/soc/intel/keembay/
H A Dkmb_platform.c418 u32 dma_reg; in kmb_i2s_enable_dma() local
420 dma_reg = readl(kmb_i2s->i2s_base + I2S_DMACR); in kmb_i2s_enable_dma()
423 dma_reg |= I2S_DMAEN_TXBLOCK; in kmb_i2s_enable_dma()
425 dma_reg |= I2S_DMAEN_RXBLOCK; in kmb_i2s_enable_dma()
427 writel(dma_reg, kmb_i2s->i2s_base + I2S_DMACR); in kmb_i2s_enable_dma()
432 u32 dma_reg; in kmb_i2s_disable_dma() local
434 dma_reg = readl(kmb_i2s->i2s_base + I2S_DMACR); in kmb_i2s_disable_dma()
437 dma_reg &= ~I2S_DMAEN_TXBLOCK; in kmb_i2s_disable_dma()
440 dma_reg &= ~I2S_DMAEN_RXBLOCK; in kmb_i2s_disable_dma()
443 writel(dma_reg, kmb_i2s->i2s_base + I2S_DMACR); in kmb_i2s_disable_dma()
/linux/drivers/mtd/nand/raw/
H A Dr852.c91 uint8_t dma_reg, dma_irq_reg; in r852_dma_enable() local
94 dma_reg = r852_read_reg_dword(dev, R852_DMA_SETTINGS); in r852_dma_enable()
95 dma_reg &= ~(R852_DMA_READ | R852_DMA_INTERNAL | R852_DMA_MEMORY); in r852_dma_enable()
98 dma_reg |= R852_DMA_READ; in r852_dma_enable()
101 dma_reg |= R852_DMA_INTERNAL; in r852_dma_enable()
107 dma_reg |= R852_DMA_MEMORY; in r852_dma_enable()
115 r852_write_reg_dword(dev, R852_DMA_SETTINGS, dma_reg); in r852_dma_enable()
H A Drockchip-nand-controller.c471 u32 dma_reg, fl_reg, bch_reg; in rk_nfc_xfer_start() local
473 dma_reg = DMA_ST | ((!rw) << DMA_WR) | DMA_EN | (2 << DMA_AHB_SIZE) | in rk_nfc_xfer_start()
486 writel(dma_reg, nfc->regs + nfc->cfg->dma_cfg_off); in rk_nfc_xfer_start()
/linux/sound/soc/dwc/
H A Ddwc-i2s.c156 u32 dma_reg = i2s_read_reg(dev->i2s_base, I2S_DMACR); in i2s_enable_dma() local
160 dma_reg |= I2S_DMAEN_TXBLOCK; in i2s_enable_dma()
162 dma_reg |= I2S_DMAEN_RXBLOCK; in i2s_enable_dma()
164 i2s_write_reg(dev->i2s_base, I2S_DMACR, dma_reg); in i2s_enable_dma()
169 u32 dma_reg = i2s_read_reg(dev->i2s_base, I2S_DMACR); in i2s_disable_dma() local
173 dma_reg &= ~I2S_DMAEN_TXBLOCK; in i2s_disable_dma()
176 dma_reg &= ~I2S_DMAEN_RXBLOCK; in i2s_disable_dma()
179 i2s_write_reg(dev->i2s_base, I2S_DMACR, dma_reg); in i2s_disable_dma()
/linux/drivers/dma/ppc4xx/
H A Dadma.c899 struct dma_regs *dma_reg; in ppc440spe_adma_device_clear_eot_status() local
909 dma_reg = chan->device->dma_reg; in ppc440spe_adma_device_clear_eot_status()
910 while ((rv = ioread32(&dma_reg->csfpl))) { in ppc440spe_adma_device_clear_eot_status()
972 rv = ioread32(&dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
977 iowrite32(rv, &dma_reg->dsts); in ppc440spe_adma_device_clear_eot_status()
1018 struct dma_regs *dma_reg; in ppc440spe_chan_is_busy() local
1025 dma_reg = chan->device->dma_reg; in ppc440spe_chan_is_busy()
1029 if (ioread16(&dma_reg->cpfhp) != ioread16(&dma_reg->cpftp) || in ppc440spe_chan_is_busy()
1030 ioread16(&dma_reg->cpftp) != ioread16(&dma_reg->csftp)) in ppc440spe_chan_is_busy()
1078 struct dma_regs *dma_reg = chan->device->dma_reg; in ppc440spe_dma_put_desc() local
[all …]
H A Dadma.h61 struct dma_regs __iomem *dma_reg; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_dbg.h19 __be16 dma_reg[48]; member
41 __be16 dma_reg[48]; member
H A Dqla_dbg.c807 qla2xxx_read_window(reg, 48, fw->dma_reg); in qla2300_fw_dump()
951 for (cnt = 0; cnt < ARRAY_SIZE(fw->dma_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
952 fw->dma_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
/linux/drivers/net/ethernet/
H A Dkorina.c274 struct dma_reg { struct
337 struct dma_reg __iomem *rx_dma_regs;
338 struct dma_reg __iomem *tx_dma_regs;
389 struct dma_reg *ch) in korina_abort_dma()
/linux/drivers/usb/dwc2/
H A Dgadget.c987 u32 dma_reg; in dwc2_gadget_start_isoc_ddma() local
1022 dma_reg = hs_ep->dir_in ? DIEPDMA(index) : DOEPDMA(index); in dwc2_gadget_start_isoc_ddma()
1025 dwc2_writel(hsotg, hs_ep->desc_list_dma, dma_reg); in dwc2_gadget_start_isoc_ddma()
1063 unsigned int dma_reg; in dwc2_hsotg_start_req() local
1078 dma_reg = dir_in ? DIEPDMA(index) : DOEPDMA(index); in dwc2_hsotg_start_req()
1169 dwc2_writel(hsotg, hs_ep->desc_list_dma, dma_reg); in dwc2_hsotg_start_req()
1172 __func__, (u32)hs_ep->desc_list_dma, dma_reg); in dwc2_hsotg_start_req()
1183 dwc2_writel(hsotg, ureq->dma, dma_reg); in dwc2_hsotg_start_req()
1186 __func__, &ureq->dma, dma_reg); in dwc2_hsotg_start_req()
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1207 enum flash_dma_reg dma_reg, u32 val) in flash_dma_writel() argument
1209 u16 offs = ctrl->flash_dma_offsets[dma_reg]; in flash_dma_writel()
1215 enum flash_dma_reg dma_reg) in flash_dma_readl() argument
1217 u16 offs = ctrl->flash_dma_offsets[dma_reg]; in flash_dma_readl()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c182 enum dma_reg { enum
318 enum dma_reg r) in bcmgenet_tdma_readl()
325 u32 val, enum dma_reg r) in bcmgenet_tdma_writel()
332 enum dma_reg r) in bcmgenet_rdma_readl()
339 u32 val, enum dma_reg r) in bcmgenet_rdma_writel()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.h285 __be16 dma_reg; member
H A Dibmvnic.c2537 tx_crq.v1.dma_reg = cpu_to_be16(ltb->map_id); in ibmvnic_xmit()
/linux/drivers/net/ethernet/cortina/
H A Dgemini.c755 void __iomem *dma_reg; in gmac_cleanup_rxq() local
763 dma_reg = &qhdr->word0; in gmac_cleanup_rxq()
771 writel(0, dma_reg); in gmac_cleanup_rxq()