Home
last modified time | relevance | path

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

/drivers/mailbox/
Dbcm-pdc-mailbox.c988 struct dma64 *dma_reg; in pdc_ring_init() local
1028 dma_reg = &pdcs->regs->dmaregs[ringset]; in pdc_ring_init()
1031 iowrite32(PDC_TX_CTL, &dma_reg->dmaxmt.control); in pdc_ring_init()
1033 &dma_reg->dmarcv.control); in pdc_ring_init()
1034 iowrite32(0, &dma_reg->dmaxmt.ptr); in pdc_ring_init()
1035 iowrite32(0, &dma_reg->dmarcv.ptr); in pdc_ring_init()
1039 &dma_reg->dmaxmt.addrlow); in pdc_ring_init()
1041 &dma_reg->dmaxmt.addrhigh); in pdc_ring_init()
1044 &dma_reg->dmarcv.addrlow); in pdc_ring_init()
1046 &dma_reg->dmarcv.addrhigh); in pdc_ring_init()
[all …]
/drivers/mtd/nand/raw/
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()
Drockchip-nand-controller.c472 u32 dma_reg, fl_reg, bch_reg; in rk_nfc_xfer_start() local
474 dma_reg = DMA_ST | ((!rw) << DMA_WR) | DMA_EN | (2 << DMA_AHB_SIZE) | in rk_nfc_xfer_start()
487 writel(dma_reg, nfc->regs + nfc->cfg->dma_cfg_off); in rk_nfc_xfer_start()
/drivers/dma/ppc4xx/
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 …]
Dadma.h64 struct dma_regs __iomem *dma_reg; member
/drivers/scsi/qla2xxx/
Dqla_dbg.h19 __be16 dma_reg[48]; member
41 __be16 dma_reg[48]; member
Dqla_dbg.c808 qla2xxx_read_window(reg, 48, fw->dma_reg); in qla2300_fw_dump()
952 for (cnt = 0; cnt < ARRAY_SIZE(fw->dma_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
953 fw->dma_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
/drivers/net/ethernet/
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()
/drivers/usb/dwc2/
Dgadget.c988 u32 dma_reg; in dwc2_gadget_start_isoc_ddma() local
1023 dma_reg = hs_ep->dir_in ? DIEPDMA(index) : DOEPDMA(index); in dwc2_gadget_start_isoc_ddma()
1026 dwc2_writel(hsotg, hs_ep->desc_list_dma, dma_reg); in dwc2_gadget_start_isoc_ddma()
1064 unsigned int dma_reg; in dwc2_hsotg_start_req() local
1079 dma_reg = dir_in ? DIEPDMA(index) : DOEPDMA(index); in dwc2_hsotg_start_req()
1170 dwc2_writel(hsotg, hs_ep->desc_list_dma, dma_reg); in dwc2_hsotg_start_req()
1173 __func__, (u32)hs_ep->desc_list_dma, dma_reg); in dwc2_hsotg_start_req()
1184 dwc2_writel(hsotg, ureq->dma, dma_reg); in dwc2_hsotg_start_req()
1187 __func__, &ureq->dma, dma_reg); in dwc2_hsotg_start_req()
/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c1133 enum flash_dma_reg dma_reg, u32 val) in flash_dma_writel() argument
1135 u16 offs = ctrl->flash_dma_offsets[dma_reg]; in flash_dma_writel()
1141 enum flash_dma_reg dma_reg) in flash_dma_readl() argument
1143 u16 offs = ctrl->flash_dma_offsets[dma_reg]; in flash_dma_readl()
/drivers/net/ethernet/cortina/
Dgemini.c760 void __iomem *dma_reg; in gmac_cleanup_rxq() local
768 dma_reg = &qhdr->word0; in gmac_cleanup_rxq()
776 writel(0, dma_reg); in gmac_cleanup_rxq()
/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c200 enum dma_reg { enum
336 enum dma_reg r) in bcmgenet_tdma_readl()
343 u32 val, enum dma_reg r) in bcmgenet_tdma_writel()
350 enum dma_reg r) in bcmgenet_rdma_readl()
357 u32 val, enum dma_reg r) in bcmgenet_rdma_writel()
/drivers/net/ethernet/ibm/
Dibmvnic.h246 __be16 dma_reg; member
Dibmvnic.c1859 tx_crq.v1.dma_reg = cpu_to_be16(tx_pool->long_term_buff.map_id); in ibmvnic_xmit()