Lines Matching refs:dma_rg
682 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_init() local
691 iowrite32be(ioread32be(&dma_rg->fmdmsr) | tmp_reg, &dma_rg->fmdmsr); in dma_init()
713 iowrite32be(tmp_reg, &dma_rg->fmdmmr); in dma_init()
723 iowrite32be(tmp_reg, &dma_rg->fmdmtr); in dma_init()
733 iowrite32be(tmp_reg, &dma_rg->fmdmhy); in dma_init()
736 iowrite32be(cfg->dma_sos_emergency, &dma_rg->fmdmsetr); in dma_init()
739 iowrite32be((cfg->dma_watchdog * cfg->clk_freq), &dma_rg->fmdmwcr); in dma_init()
741 iowrite32be(cfg->cam_base_addr, &dma_rg->fmdmebcr); in dma_init()
1260 struct fman_dma_regs __iomem *dma_rg = fman->dma_regs; in dma_err_event() local
1263 status = ioread32be(&dma_rg->fmdmsr); in dma_err_event()
1264 mask = ioread32be(&dma_rg->fmdmmr); in dma_err_event()
1278 iowrite32be(status, &dma_rg->fmdmsr); in dma_err_event()
1283 addr = (u64)ioread32be(&dma_rg->fmdmtal); in dma_err_event()
1284 addr |= ((u64)(ioread32be(&dma_rg->fmdmtah)) << 32); in dma_err_event()
1286 com_id = ioread32be(&dma_rg->fmdmtcid); in dma_err_event()