Lines Matching refs:iowrite32be

608 	iowrite32be(tmp, &fpm_rg->fmfp_prc);  in set_port_order_restoration()
616 iowrite32be(liodn_ofst, &fman->bmi_regs->fmbm_spliodn[port_id - 1]); in set_port_liodn()
628 iowrite32be(tmp, &fman->dma_regs->fmdmplr[port_id / 2]); in set_port_liodn()
637 iowrite32be(tmp | FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in enable_rams_ecc()
639 iowrite32be(tmp | FPM_RAM_RAMS_ECC_EN | in enable_rams_ecc()
649 iowrite32be(tmp & ~FPM_RAM_IRAM_ECC_EN, &fpm_rg->fm_rcr); in disable_rams_ecc()
651 iowrite32be(tmp & ~(FPM_RAM_RAMS_ECC_EN | FPM_RAM_IRAM_ECC_EN), in disable_rams_ecc()
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()
778 iowrite32be(~((1 << in dma_init()
796 iowrite32be(tmp_reg, &fpm_rg->fmfp_mxd); in fpm_init()
802 iowrite32be(tmp_reg, &fpm_rg->fmfp_dist1); in fpm_init()
809 iowrite32be(tmp_reg, &fpm_rg->fmfp_dist2); in fpm_init()
829 iowrite32be(tmp_reg, &fpm_rg->fmfp_ee); in fpm_init()
833 iowrite32be(0xFFFFFFFF, &fpm_rg->fmfp_cev[i]); in fpm_init()
842 iowrite32be(tmp_reg, &fpm_rg->fm_rcr); in fpm_init()
853 iowrite32be(tmp_reg, &fpm_rg->fm_rie); in fpm_init()
869 iowrite32be(tmp_reg, &bmi_rg->fmbm_cfg1); in bmi_init()
874 iowrite32be(tmp_reg, &bmi_rg->fmbm_cfg2); in bmi_init()
878 iowrite32be(BMI_ERR_INTR_EN_LIST_RAM_ECC | in bmi_init()
891 iowrite32be(tmp_reg, &bmi_rg->fmbm_ier); in bmi_init()
903 iowrite32be(QMI_ERR_INTR_EN_DOUBLE_ECC | QMI_ERR_INTR_EN_DEQ_FROM_DEF, in qmi_init()
911 iowrite32be(tmp_reg, &qmi_rg->fmqm_eien); in qmi_init()
915 iowrite32be(QMI_INTR_EN_SINGLE_ECC, &qmi_rg->fmqm_ie); in qmi_init()
919 iowrite32be(tmp_reg, &qmi_rg->fmqm_ien); in qmi_init()
925 iowrite32be(HWP_RPIMAC_PEN, &hwp_rg->fmprrpimac); in hwp_init()
942 iowrite32be(BMI_INIT_START, &fman->bmi_regs->fmbm_init); in enable()
943 iowrite32be(cfg_reg | QMI_CFG_ENQ_EN | QMI_CFG_DEQ_EN, in enable()
962 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception()
972 iowrite32be(tmp, &fman->dma_regs->fmdmmr); in set_exception()
980 iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); in set_exception()
988 iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); in set_exception()
996 iowrite32be(tmp, &fman->fpm_regs->fmfp_ee); in set_exception()
1004 iowrite32be(tmp, &fman->qmi_regs->fmqm_ien); in set_exception()
1012 iowrite32be(tmp, &fman->qmi_regs->fmqm_eien); in set_exception()
1020 iowrite32be(tmp, &fman->qmi_regs->fmqm_eien); in set_exception()
1028 iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); in set_exception()
1036 iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); in set_exception()
1044 iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); in set_exception()
1052 iowrite32be(tmp, &fman->bmi_regs->fmbm_ier); in set_exception()
1068 iowrite32be(tmp, &fman->fpm_regs->fm_rie); in set_exception()
1084 iowrite32be(tmp, &fman->fpm_regs->fm_rie); in set_exception()
1102 iowrite32be(tmp, &fpm_rg->fmfp_ee); in resume()
1213 iowrite32be(force & ~event, &bmi_rg->fmbm_ifr); in bmi_err_event()
1215 iowrite32be(event, &bmi_rg->fmbm_ievr); in bmi_err_event()
1242 iowrite32be(force & ~event, &qmi_rg->fmqm_eif); in qmi_err_event()
1244 iowrite32be(event, &qmi_rg->fmqm_eie); in qmi_err_event()
1278 iowrite32be(status, &dma_rg->fmdmsr); in dma_err_event()
1317 iowrite32be(event, &fpm_rg->fmfp_ee); in fpm_err_event()
1341 iowrite32be(event & ~FPM_RAM_IRAM_ECC, &fpm_rg->fm_rcr); in muram_err_intr()
1361 iowrite32be(force & ~event, &qmi_rg->fmqm_if); in qmi_event()
1363 iowrite32be(event, &qmi_rg->fmqm_ie); in qmi_event()
1398 iowrite32be(tmp, &fpm_rg->fmfp_tsc2); in enable_time_stamp()
1401 iowrite32be(FPM_TS_CTL_EN, &fpm_rg->fmfp_tsc1); in enable_time_stamp()
1413 iowrite32be(IRAM_IADD_AIE, &iram->iadd); in clear_iram()
1422 iowrite32be(0xffffffff, &iram->idata); in clear_iram()
1424 iowrite32be(fman->state->fm_iram_size - 4, &iram->iadd); in clear_iram()
1557 iowrite32be(tmp, &bmi_rg->fmbm_pfs[port_id - 1]); in set_size_of_fifo()
1593 iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_tasks()
1671 iowrite32be(tmp, &bmi_rg->fmbm_pp[port_id - 1]); in set_num_of_open_dmas()
1679 iowrite32be(tmp, &bmi_rg->fmbm_cfg2); in set_num_of_open_dmas()
1808 iowrite32be(FPM_RSTC_FM_RESET, &fman->fpm_regs->fm_rstc); in fman_reset()
1851 iowrite32be(reg, &guts_regs->devdisr2); in fman_reset()
1855 iowrite32be(FPM_RSTC_FM_RESET, &fman->fpm_regs->fm_rstc); in fman_reset()
1874 iowrite32be(devdisr2, &guts_regs->devdisr2); in fman_reset()
2134 iowrite32be(reg, &fman->qmi_regs->fmqm_gc); in fman_set_port_params()
2150 iowrite32be(reg, &fman->qmi_regs->fmqm_gc); in fman_set_port_params()
2252 iowrite32be(msk, &fpm_rg->fm_rstc); in fman_reset_mac()