Lines Matching refs:iowrite32be

467 	iowrite32be(tmp, &regs->fmbm_rda);  in init_bmi_rx()
473 iowrite32be(tmp, &regs->fmbm_rfp); in init_bmi_rx()
477 iowrite32be(BMI_RX_FIFO_THRESHOLD_ETHE, &regs->fmbm_reth); in init_bmi_rx()
486 iowrite32be(tmp, &regs->fmbm_rfed); in init_bmi_rx()
495 iowrite32be(tmp, &regs->fmbm_ricp); in init_bmi_rx()
500 iowrite32be(tmp, &regs->fmbm_rim); in init_bmi_rx()
506 iowrite32be(tmp, &regs->fmbm_rebm); in init_bmi_rx()
515 iowrite32be(tmp, &regs->fmbm_rfca); in init_bmi_rx()
521 iowrite32be(tmp, &regs->fmbm_rfne); in init_bmi_rx()
524 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_ENQ_FRAME, &regs->fmbm_rfpne); in init_bmi_rx()
527 iowrite32be(NIA_ENG_QMI_ENQ | NIA_ORDER_RESTOR, &regs->fmbm_rfene); in init_bmi_rx()
530 iowrite32be((cfg->dflt_fqid & DFLT_FQ_ID), &regs->fmbm_rfqid); in init_bmi_rx()
531 iowrite32be((cfg->err_fqid & DFLT_FQ_ID), &regs->fmbm_refqid); in init_bmi_rx()
534 iowrite32be(cfg->discard_mask, &regs->fmbm_rfsdm); in init_bmi_rx()
535 iowrite32be(cfg->err_mask, &regs->fmbm_rfsem); in init_bmi_rx()
548 iowrite32be(tmp, &regs->fmbm_tcfg); in init_bmi_tx()
552 iowrite32be(tmp, &regs->fmbm_tda); in init_bmi_tx()
560 iowrite32be(tmp, &regs->fmbm_tfp); in init_bmi_tx()
565 iowrite32be(tmp, &regs->fmbm_tfed); in init_bmi_tx()
574 iowrite32be(tmp, &regs->fmbm_ticp); in init_bmi_tx()
580 iowrite32be(tmp, &regs->fmbm_tfca); in init_bmi_tx()
583 iowrite32be(NIA_ENG_QMI_DEQ, &regs->fmbm_tfdne); in init_bmi_tx()
584 iowrite32be(NIA_ENG_QMI_ENQ | NIA_ORDER_RESTOR, &regs->fmbm_tfene); in init_bmi_tx()
586 iowrite32be(!cfg->dflt_fqid ? in init_bmi_tx()
590 iowrite32be(DFLT_FQ_ID, &regs->fmbm_tcfqid); in init_bmi_tx()
591 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_TX_RELEASE, in init_bmi_tx()
594 iowrite32be(ioread32be(&regs->fmbm_tfne) & ~BMI_EBD_EN, in init_bmi_tx()
600 iowrite32be(cfg->dflt_fqid & DFLT_FQ_ID, &regs->fmbm_tcfqid); in init_bmi_tx()
601 iowrite32be((cfg->err_fqid & DFLT_FQ_ID), &regs->fmbm_tefqid); in init_bmi_tx()
615 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_RELEASE, &regs->fmqm_pnen); in init_qmi()
622 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_TX_RELEASE, in init_qmi()
625 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_TX, &regs->fmqm_pndn); in init_qmi()
662 iowrite32be(tmp, &regs->fmqm_pndc); in init_qmi()
672 iowrite32be(HWP_HXS_PCAC_PSTOP, &regs->fmpr_pcac); in stop_port_hwp()
686 iowrite32be(0, &regs->fmpr_pcac); in start_port_hwp()
704 iowrite32be(0x00000000, &regs->pmda[i].ssa); in init_hwp()
705 iowrite32be(0xffffffff, &regs->pmda[i].lcv); in init_hwp()
709 iowrite32be(HWP_HXS_SH_PAD_REM, &regs->pmda[HWP_HXS_TCP_OFFSET].ssa); in init_hwp()
710 iowrite32be(HWP_HXS_SH_PAD_REM, &regs->pmda[HWP_HXS_UDP_OFFSET].ssa); in init_hwp()
788 iowrite32be(tmp, &bp_reg[i]); in set_bpools()
793 iowrite32be(0, &bp_reg[i]); in set_bpools()
811 iowrite32be(tmp, bp_depl_reg); in set_bpools()
1000 iowrite32be(0xFFFFFF, &port->bmi_regs->tx.fmbm_tcfqid); in init_low_level_driver()
1001 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_TX_RELEASE, in init_low_level_driver()
1376 iowrite32be(reg, &port->bmi_regs->tx.fmbm_tfp); in fman_port_config()
1399 iowrite32be(NIA_ENG_HWK, &port->bmi_regs->rx.fmbm_rfpne); in fman_port_use_kg_hash()
1402 iowrite32be(NIA_ENG_BMI | NIA_BMI_AC_ENQ_FRAME, in fman_port_use_kg_hash()
1590 iowrite32be(tmp, &port->qmi_regs->fmqm_pnc); in fman_port_disable()
1607 iowrite32be(tmp, bmi_cfg_reg); in fman_port_disable()
1664 iowrite32be(tmp, &port->qmi_regs->fmqm_pnc); in fman_port_enable()
1669 iowrite32be(tmp, bmi_cfg_reg); in fman_port_enable()