Lines Matching refs:val64
174 uint64_t val64; in ntb_plx_init() local
183 val64 = 0x2000000000000000 * mw->mw_bar | 0x4; in ntb_plx_init()
184 PNTX_WRITE(sc, PCIR_BAR(0), val64); in ntb_plx_init()
185 PNTX_WRITE(sc, PCIR_BAR(0) + 4, val64 >> 32); in ntb_plx_init()
196 val64 = 0x2000000000000000 * mw->mw_bar; in ntb_plx_init()
197 NTX_WRITE(sc, 0xc3c + (mw->mw_bar - 2) * 4, val64); in ntb_plx_init()
198 NTX_WRITE(sc, 0xc3c + (mw->mw_bar - 2) * 4 + 4, val64 >> 32); in ntb_plx_init()
710 uint64_t addr, eaddr, off, size, bsize, esize, val64; in ntb_plx_mw_set_trans_internal() local
739 val64 = 0; in ntb_plx_mw_set_trans_internal()
741 val64 = (~(bsize - 1) & ~0xfffff); in ntb_plx_mw_set_trans_internal()
742 val64 |= 0xc; in ntb_plx_mw_set_trans_internal()
743 PNTX_WRITE(sc, 0xe8 + (mw->mw_bar - 2) * 4, val64); in ntb_plx_mw_set_trans_internal()
744 PNTX_WRITE(sc, 0xe8 + (mw->mw_bar - 2) * 4 + 4, val64 >> 32); in ntb_plx_mw_set_trans_internal()
746 val64 = 0x2000000000000000 * mw->mw_bar + off; in ntb_plx_mw_set_trans_internal()
747 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64); in ntb_plx_mw_set_trans_internal()
748 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar) + 4, val64 >> 32); in ntb_plx_mw_set_trans_internal()
755 val64 = 0x20000000 * mw->mw_bar + off; in ntb_plx_mw_set_trans_internal()
756 PNTX_WRITE(sc, PCIR_BAR(mw->mw_bar), val64); in ntb_plx_mw_set_trans_internal()