Lines Matching refs:qib_write_kreg
286 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
805 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl); in qib_7220_sdma_sendctrl()
806 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_sdma_sendctrl()
872 qib_write_kreg(ppd->dd, kr_senddmalengen, ppd->sdma_descq_cnt); in qib_sdma_7220_setlengen()
873 qib_write_kreg(ppd->dd, kr_senddmalengen, in qib_sdma_7220_setlengen()
1143 qib_write_kreg(dd, kr_errclear, errs); in handle_7220_errors()
1233 qib_write_kreg(dd, kr_intmask, ~0ULL); in qib_7220_set_intr_state()
1235 qib_write_kreg(dd, kr_intclear, 0ULL); in qib_7220_set_intr_state()
1237 qib_write_kreg(dd, kr_intmask, 0ULL); in qib_7220_set_intr_state()
1258 qib_write_kreg(dd, kr_errmask, 0ULL); in qib_7220_clear_freeze()
1266 qib_write_kreg(dd, kr_control, dd->control); in qib_7220_clear_freeze()
1278 qib_write_kreg(dd, kr_hwerrclear, 0ULL); in qib_7220_clear_freeze()
1279 qib_write_kreg(dd, kr_errclear, E_SPKT_ERRS_IGNORE); in qib_7220_clear_freeze()
1280 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_7220_clear_freeze()
1320 qib_write_kreg(dd, kr_hwerrclear, in qib_7220_handle_hwerrors()
1366 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_7220_handle_hwerrors()
1394 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_7220_handle_hwerrors()
1403 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_7220_handle_hwerrors()
1452 qib_write_kreg(dd, kr_hwerrclear, ~HWE_MASK(PowerOnBISTFailed)); in qib_7220_init_hwerrors()
1453 qib_write_kreg(dd, kr_hwerrmask, dd->cspec->hwerrmask); in qib_7220_init_hwerrors()
1456 qib_write_kreg(dd, kr_errclear, ~0ULL); in qib_7220_init_hwerrors()
1458 qib_write_kreg(dd, kr_errmask, ~0ULL); in qib_7220_init_hwerrors()
1461 qib_write_kreg(dd, kr_intclear, ~0ULL); in qib_7220_init_hwerrors()
1473 qib_write_kreg(dd, kr_errclear, ERR_MASK(SendPioArmLaunchErr)); in qib_set_7220_armlaunch()
1477 qib_write_kreg(dd, kr_errmask, dd->cspec->errormask); in qib_set_7220_armlaunch()
1514 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl | mod_wd); in qib_set_ib_7220_lstate()
1516 qib_write_kreg(dd, kr_scratch, 0); in qib_set_ib_7220_lstate()
1538 qib_write_kreg(dd, kr_control, 0ULL); in qib_7220_bringup_serdes()
1571 qib_write_kreg(dd, kr_ibcctrl, val); in qib_7220_bringup_serdes()
1604 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_bringup_serdes()
1606 qib_write_kreg(dd, kr_ibcddrctrl, ppd->cpspec->ibcddrctrl); in qib_7220_bringup_serdes()
1607 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_bringup_serdes()
1609 qib_write_kreg(dd, kr_ncmodectrl, 0Ull); in qib_7220_bringup_serdes()
1610 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_bringup_serdes()
1618 qib_write_kreg(dd, kr_xgxs_cfg, val); in qib_7220_bringup_serdes()
1624 qib_write_kreg(dd, kr_xgxs_cfg, val); in qib_7220_bringup_serdes()
1631 qib_write_kreg(dd, kr_hrtbt_guid, guid); in qib_7220_bringup_serdes()
1634 qib_write_kreg(dd, kr_control, dd->control); in qib_7220_bringup_serdes()
1637 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_bringup_serdes()
1654 qib_write_kreg(dd, kr_control, in qib_7220_quiet_serdes()
1667 qib_write_kreg(dd, kr_hwdiagctrl, in qib_7220_quiet_serdes()
1686 qib_write_kreg(dd, kr_hwdiagctrl, diagc); in qib_7220_quiet_serdes()
1699 qib_write_kreg(ppd->dd, kr_xgxs_cfg, val); in qib_7220_quiet_serdes()
1768 qib_write_kreg(dd, kr_extctrl, extctl); in qib_setup_7220_setextled()
1772 qib_write_kreg(dd, kr_rcvpktledcnt, ledblink); in qib_setup_7220_setextled()
1841 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl & in qib_wantpiobuf_7220_intr()
1843 qib_write_kreg(dd, kr_scratch, 0ULL); in qib_wantpiobuf_7220_intr()
1847 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl); in qib_wantpiobuf_7220_intr()
1848 qib_write_kreg(dd, kr_scratch, 0ULL); in qib_wantpiobuf_7220_intr()
1882 qib_write_kreg(dd, kr_gpio_clear, gpiostatus); in unlikely_7220_intr()
1900 qib_write_kreg(dd, kr_gpio_mask, dd->cspec->gpio_mask); in unlikely_7220_intr()
1962 qib_write_kreg(dd, kr_intclear, istat); in qib_7220intr()
2128 qib_write_kreg(dd, kr_control, 0ULL); in qib_setup_7220_reset()
2310 qib_write_kreg(dd, kr_rcvctrl, dd->rcvctrl); in qib_7220_config_ctxts()
2508 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl); in qib_7220_set_ib_cfg()
2509 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2521 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl); in qib_7220_set_ib_cfg()
2522 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2530 qib_write_kreg(dd, kr_partitionkey, maskr); in qib_7220_set_ib_cfg()
2541 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl); in qib_7220_set_ib_cfg()
2542 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2556 qib_write_kreg(dd, kr_ibcctrl, ppd->cpspec->ibcctrl); in qib_7220_set_ib_cfg()
2557 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2635 qib_write_kreg(dd, kr_ibcddrctrl, in qib_7220_set_ib_cfg()
2637 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2659 qib_write_kreg(dd, kr_ibcddrctrl, ppd->cpspec->ibcddrctrl); in qib_7220_set_ib_cfg()
2660 qib_write_kreg(dd, kr_scratch, 0); in qib_7220_set_ib_cfg()
2690 qib_write_kreg(ppd->dd, kr_ibcctrl, ppd->cpspec->ibcctrl); in qib_7220_set_loopback()
2694 qib_write_kreg(ppd->dd, kr_ibcddrctrl, in qib_7220_set_loopback()
2696 qib_write_kreg(ppd->dd, kr_scratch, 0); in qib_7220_set_loopback()
2766 qib_write_kreg(dd, kr_rcvctrl, dd->rcvctrl); in rcvctrl_7220_mod()
2852 qib_write_kreg(dd, kr_sendctrl, in sendctrl_7220_mod()
2855 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_7220_mod()
2871 qib_write_kreg(dd, kr_sendctrl, tmp_dd_sendctrl); in sendctrl_7220_mod()
2872 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_7220_mod()
2875 qib_write_kreg(dd, kr_sendctrl, dd->sendctrl); in sendctrl_7220_mod()
2876 qib_write_kreg(dd, kr_scratch, 0); in sendctrl_7220_mod()
2890 qib_write_kreg(dd, kr_scratch, v); in sendctrl_7220_mod()
2892 qib_write_kreg(dd, kr_scratch, v); in sendctrl_7220_mod()
3304 qib_write_kreg(dd, kr_control, in qib_7220_xgxs_reset()
3306 qib_write_kreg(dd, kr_xgxs_cfg, val); in qib_7220_xgxs_reset()
3308 qib_write_kreg(dd, kr_xgxs_cfg, prev_val); in qib_7220_xgxs_reset()
3309 qib_write_kreg(dd, kr_control, dd->control); in qib_7220_xgxs_reset()
3476 qib_write_kreg(ppd->dd, kr_ibcddrctrl, ppd->cpspec->ibcddrctrl); in set_7220_ibspeed_fast()
3477 qib_write_kreg(ppd->dd, kr_scratch, 0); in set_7220_ibspeed_fast()
3495 qib_write_kreg(ppd->dd, kr_ncmodectrl, 0x3b9dc07); in try_7220_autoneg()
3691 qib_write_kreg(dd, kr_ncmodectrl, 0); in qib_7220_ib_updown()
3763 qib_write_kreg(dd, kr_extctrl, dd->cspec->extctrl); in gpio_7220_mod()
3764 qib_write_kreg(dd, kr_gpio_out, new_out); in gpio_7220_mod()
3916 qib_write_kreg(dd, kr_sendctrl, tval); in sendctrl_hook()
3917 qib_write_kreg(dd, kr_scratch, 0Ull); in sendctrl_hook()
3939 qib_write_kreg(dd, kr_rcvhdrentsize, dd->rcvhdrentsize); in qib_late_7220_initreg()
3940 qib_write_kreg(dd, kr_rcvhdrsize, dd->rcvhdrsize); in qib_late_7220_initreg()
3941 qib_write_kreg(dd, kr_rcvhdrcnt, dd->rcvhdrcnt); in qib_late_7220_initreg()
3942 qib_write_kreg(dd, kr_sendpioavailaddr, dd->pioavailregs_phys); in qib_late_7220_initreg()
4029 qib_write_kreg(dd, kr_rcvbthqp, QIB_KD_QP); in qib_init_7220_variables()
4175 qib_write_kreg(ppd->dd, kr_senddmatail, tail); in qib_sdma_update_7220_tail()
4234 qib_write_kreg(dd, kr_senddmabase, ppd->sdma_descq_phys); in init_sdma_7220_regs()
4238 qib_write_kreg(dd, kr_senddmaheadaddr, ppd->sdma_head_phys); in init_sdma_7220_regs()
4253 qib_write_kreg(dd, kr_senddmabufmask0, senddmabufmask[0]); in init_sdma_7220_regs()
4254 qib_write_kreg(dd, kr_senddmabufmask1, senddmabufmask[1]); in init_sdma_7220_regs()
4255 qib_write_kreg(dd, kr_senddmabufmask2, senddmabufmask[2]); in init_sdma_7220_regs()
4409 qib_write_kreg(dd, kr_scratch, val); in writescratch()
4577 qib_write_kreg(dd, kr_hwerrclear, in qib_init_iba7220_funcs()
4585 qib_write_kreg(dd, kr_hwdiagctrl, 0); in qib_init_iba7220_funcs()