Lines Matching refs:nvp
86 void get_nvp(QTestState *qts, uint32_t index, Xive2Nvp* nvp) in get_nvp() argument
89 xive_get_struct(qts, addr, nvp, sizeof(Xive2Nvp)); in get_nvp()
95 Xive2Nvp nvp; in set_nvp() local
101 memset(&nvp, 0, sizeof(nvp)); in set_nvp()
102 nvp.w0 = xive_set_field32(NVP2_W0_VALID, 0, 1); in set_nvp()
103 nvp.w0 = xive_set_field32(NVP2_W0_PGOFIRST, nvp.w0, first); in set_nvp()
104 nvp.w6 = xive_set_field32(NVP2_W6_REPORTING_LINE, nvp.w6, in set_nvp()
106 nvp.w7 = xive_set_field32(NVP2_W7_REPORTING_LINE, nvp.w7, in set_nvp()
108 xive_copy_struct(qts, &nvp, nvp_addr, sizeof(nvp)); in set_nvp()
111 static uint64_t get_cl_pair_addr(Xive2Nvp *nvp) in get_cl_pair_addr() argument
113 uint64_t upper = xive_get_field32(0x0fffffff, nvp->w6); in get_cl_pair_addr()
114 uint64_t lower = xive_get_field32(0xffffff00, nvp->w7); in get_cl_pair_addr()
118 void get_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair) in get_cl_pair() argument
120 uint64_t addr = get_cl_pair_addr(nvp); in get_cl_pair()
124 void set_cl_pair(QTestState *qts, Xive2Nvp *nvp, uint8_t *cl_pair) in set_cl_pair() argument
126 uint64_t addr = get_cl_pair_addr(nvp); in set_cl_pair()