Lines Matching refs:qib_write_kreg
368 static inline void qib_write_kreg(const struct qib_devdata *dd, in qib_write_kreg() function
386 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
683 qib_write_kreg(dd, kr_intmask, ~0ULL); in qib_6120_set_intr_state()
685 qib_write_kreg(dd, kr_intclear, 0ULL); in qib_6120_set_intr_state()
687 qib_write_kreg(dd, kr_intmask, 0ULL); in qib_6120_set_intr_state()
708 qib_write_kreg(dd, kr_errmask, 0ULL); in qib_6120_clear_freeze()
716 qib_write_kreg(dd, kr_control, dd->control); in qib_6120_clear_freeze()
728 qib_write_kreg(dd, kr_hwerrclear, 0ULL); in qib_6120_clear_freeze()
729 qib_write_kreg(dd, kr_errclear, E_SPKT_ERRS_IGNORE); in qib_6120_clear_freeze()
730 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_6120_clear_freeze()
768 qib_write_kreg(dd, kr_hwerrclear, in qib_handle_6120_hwerrors()
820 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_handle_6120_hwerrors()
845 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_handle_6120_hwerrors()
854 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_handle_6120_hwerrors()
1043 qib_write_kreg(dd, kr_errclear, errs); in handle_6120_errors()
1152 qib_write_kreg(dd, kr_hwerrclear, ~HWE_MASK(PowerOnBISTFailed)); in qib_6120_init_hwerrors()
1153 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_6120_init_hwerrors()
1156 qib_write_kreg(dd, kr_errclear, ~0ULL); in qib_6120_init_hwerrors()
1158 qib_write_kreg(dd, kr_errmask, ~0ULL); in qib_6120_init_hwerrors()
1161 qib_write_kreg(dd, kr_intclear, ~0ULL); in qib_6120_init_hwerrors()
1163 qib_write_kreg(dd, kr_rcvbthqp, in qib_6120_init_hwerrors()
1177 qib_write_kreg(dd, kr_errclear, in qib_set_6120_armlaunch()
1182 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_set_6120_armlaunch()
1219 qib_write_kreg(dd, kr_ibcctrl, dd->cspec->ibcctrl | mod_wd); in qib_set_ib_6120_lstate()
1221 qib_write_kreg(dd, kr_scratch, 0); in qib_set_ib_6120_lstate()
1235 qib_write_kreg(dd, kr_control, 0ULL); in qib_6120_bringup_serdes()
1266 qib_write_kreg(dd, kr_ibcctrl, val); in qib_6120_bringup_serdes()
1283 qib_write_kreg(dd, kr_serdes_cfg0, val); in qib_6120_bringup_serdes()
1303 qib_write_kreg(dd, kr_serdes_cfg0, val); in qib_6120_bringup_serdes()
1315 qib_write_kreg(dd, kr_serdes_cfg0, val); in qib_6120_bringup_serdes()
1329 qib_write_kreg(dd, kr_xgxs_cfg, val); in qib_6120_bringup_serdes()
1339 qib_write_kreg(dd, kr_serdes_cfg1, config1); in qib_6120_bringup_serdes()
1352 qib_write_kreg(dd, kr_hwerrclear, hwstat); in qib_6120_bringup_serdes()
1353 qib_write_kreg(dd, kr_errclear, ERR_MASK(HardwareErr)); in qib_6120_bringup_serdes()
1358 qib_write_kreg(dd, kr_control, dd->control); in qib_6120_bringup_serdes()
1377 qib_write_kreg(dd, kr_control, in qib_6120_quiet_serdes()
1386 qib_write_kreg(dd, kr_hwdiagctrl, in qib_6120_quiet_serdes()
1405 qib_write_kreg(dd, kr_hwdiagctrl, diagc); in qib_6120_quiet_serdes()
1410 qib_write_kreg(dd, kr_serdes_cfg0, val); in qib_6120_quiet_serdes()
1472 qib_write_kreg(dd, kr_extctrl, extctl); in qib_6120_setup_setextled()
1507 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl); in qib_wantpiobuf_6120_intr()
1508 qib_write_kreg(dd, kr_scratch, 0ULL); in qib_wantpiobuf_6120_intr()
1577 qib_write_kreg(dd, kr_gpio_mask, in unlikely_6120_intr()
1582 qib_write_kreg(dd, kr_gpio_clear, (u64) to_clear); in unlikely_6120_intr()
1629 qib_write_kreg(dd, kr_intclear, istat); in qib_6120intr()
1700 qib_write_kreg(dd, kr_gpio_mask, dd->cspec->gpio_mask); in qib_setup_6120_interrupt()
1815 qib_write_kreg(dd, kr_gpio_mask, dd->cspec->gpio_mask); in qib_6120_setup_reset()
1883 qib_write_kreg(dd, kr_scratch, 0xfeeddeaf); in qib_6120_put_tid()
1885 qib_write_kreg(dd, kr_scratch, 0xdeadbeef); in qib_6120_put_tid()
2134 qib_write_kreg(dd, kr_rcvctrl, dd->rcvctrl); in rcvctrl_6120_mod()
2228 qib_write_kreg(dd, kr_sendctrl, tmp_dd_sendctrl | in sendctrl_6120_mod()
2230 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_6120_mod()
2245 qib_write_kreg(dd, kr_sendctrl, tmp_dd_sendctrl); in sendctrl_6120_mod()
2246 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_6120_mod()
2249 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl); in sendctrl_6120_mod()
2250 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_6120_mod()
2264 qib_write_kreg(dd, kr_scratch, v); in sendctrl_6120_mod()
2266 qib_write_kreg(dd, kr_scratch, v); in sendctrl_6120_mod()
2595 qib_write_kreg(dd, kr_errmask, in qib_chk_6120_errormask()
2600 qib_write_kreg(dd, kr_hwerrclear, 0ULL); in qib_chk_6120_errormask()
2601 qib_write_kreg(dd, kr_errclear, 0ULL); in qib_chk_6120_errormask()
2603 qib_write_kreg(dd, kr_intclear, 0ULL); in qib_chk_6120_errormask()
2671 qib_write_kreg(dd, kr_control, in qib_6120_xgxs_reset()
2673 qib_write_kreg(dd, kr_xgxs_cfg, val); in qib_6120_xgxs_reset()
2675 qib_write_kreg(dd, kr_xgxs_cfg, prev_val); in qib_6120_xgxs_reset()
2676 qib_write_kreg(dd, kr_control, dd->control); in qib_6120_xgxs_reset()
2771 qib_write_kreg(dd, kr_ibcctrl, dd->cspec->ibcctrl); in qib_6120_set_ib_cfg()
2772 qib_write_kreg(dd, kr_scratch, 0); in qib_6120_set_ib_cfg()
2784 qib_write_kreg(dd, kr_ibcctrl, dd->cspec->ibcctrl); in qib_6120_set_ib_cfg()
2785 qib_write_kreg(dd, kr_scratch, 0); in qib_6120_set_ib_cfg()
2793 qib_write_kreg(dd, kr_partitionkey, val64); in qib_6120_set_ib_cfg()
2804 qib_write_kreg(dd, kr_ibcctrl, dd->cspec->ibcctrl); in qib_6120_set_ib_cfg()
2805 qib_write_kreg(dd, kr_scratch, 0); in qib_6120_set_ib_cfg()
2820 qib_write_kreg(dd, kr_ibcctrl, dd->cspec->ibcctrl); in qib_6120_set_ib_cfg()
2821 qib_write_kreg(dd, kr_scratch, 0); in qib_6120_set_ib_cfg()
2903 qib_write_kreg(ppd->dd, kr_ibcctrl, ppd->dd->cspec->ibcctrl); in qib_6120_set_loopback()
2904 qib_write_kreg(ppd->dd, kr_scratch, 0); in qib_6120_set_loopback()
3051 qib_write_kreg(dd, kr_extctrl, dd->cspec->extctrl); in gpio_6120_mod()
3052 qib_write_kreg(dd, kr_gpio_out, new_out); in gpio_6120_mod()
3151 qib_write_kreg(dd, kr_rcvhdrentsize, dd->rcvhdrentsize); in qib_late_6120_initreg()
3152 qib_write_kreg(dd, kr_rcvhdrsize, dd->rcvhdrsize); in qib_late_6120_initreg()
3153 qib_write_kreg(dd, kr_rcvhdrcnt, dd->rcvhdrcnt); in qib_late_6120_initreg()
3154 qib_write_kreg(dd, kr_sendpioavailaddr, dd->pioavailregs_phys); in qib_late_6120_initreg()
3399 (void) qib_write_kreg(dd, kr_scratch, val); in writescratch()
3515 qib_write_kreg(dd, kr_hwdiagctrl, 0); in qib_init_iba6120_funcs()
3519 qib_write_kreg(dd, kr_hwerrclear, in qib_init_iba6120_funcs()