Lines Matching refs:bmi_rg
856 static void bmi_init(struct fman_bmi_regs __iomem *bmi_rg, in bmi_init() argument
869 iowrite32be(tmp_reg, &bmi_rg->fmbm_cfg1); in bmi_init()
874 iowrite32be(tmp_reg, &bmi_rg->fmbm_cfg2); in bmi_init()
881 BMI_ERR_INTR_EN_DISPATCH_RAM_ECC, &bmi_rg->fmbm_ievr); in bmi_init()
891 iowrite32be(tmp_reg, &bmi_rg->fmbm_ier); in bmi_init()
1204 struct fman_bmi_regs __iomem *bmi_rg = fman->bmi_regs; in bmi_err_event() local
1207 event = ioread32be(&bmi_rg->fmbm_ievr); in bmi_err_event()
1208 mask = ioread32be(&bmi_rg->fmbm_ier); in bmi_err_event()
1211 force = ioread32be(&bmi_rg->fmbm_ifr); in bmi_err_event()
1213 iowrite32be(force & ~event, &bmi_rg->fmbm_ifr); in bmi_err_event()
1215 iowrite32be(event, &bmi_rg->fmbm_ievr); in bmi_err_event()
1528 struct fman_bmi_regs __iomem *bmi_rg = fman->bmi_regs; in set_size_of_fifo() local
1557 iowrite32be(tmp, &bmi_rg->fmbm_pfs[port_id - 1]); in set_size_of_fifo()
1568 struct fman_bmi_regs __iomem *bmi_rg = fman->bmi_regs; in set_num_of_tasks() local
1589 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]) & in set_num_of_tasks()
1593 iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_tasks()
1602 struct fman_bmi_regs __iomem *bmi_rg = fman->bmi_regs; in set_num_of_open_dmas() local
1612 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_open_dmas()
1616 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_open_dmas()
1667 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]) & in set_num_of_open_dmas()
1671 iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_open_dmas()
1677 tmp = ioread32be(&bmi_rg->fmbm_cfg2) & ~BMI_CFG2_DMAS_MASK; in set_num_of_open_dmas()
1679 iowrite32be(tmp, &bmi_rg->fmbm_cfg2); in set_num_of_open_dmas()