Lines Matching refs:pvt
73 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_lmc_edac_poll_o2() local
78 if (!pvt->inject) in octeon_lmc_edac_poll_o2()
82 if (pvt->error_type == 1) in octeon_lmc_edac_poll_o2()
84 if (pvt->error_type == 2) in octeon_lmc_edac_poll_o2()
90 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
93 fadr.cn61xx.fdimm = pvt->dimm; in octeon_lmc_edac_poll_o2()
94 fadr.cn61xx.fbunk = pvt->rank; in octeon_lmc_edac_poll_o2()
95 fadr.cn61xx.fbank = pvt->bank; in octeon_lmc_edac_poll_o2()
96 fadr.cn61xx.frow = pvt->row; in octeon_lmc_edac_poll_o2()
97 fadr.cn61xx.fcol = pvt->col; in octeon_lmc_edac_poll_o2()
120 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
123 pvt->inject = 0; in octeon_lmc_edac_poll_o2()
136 struct octeon_lmc_pvt *pvt = mci->pvt_info; \
137 return sprintf(data, "%016llu\n", (u64)pvt->reg); \
146 struct octeon_lmc_pvt *pvt = mci->pvt_info; \
148 if (!kstrtoul(data, 0, &pvt->reg)) \
173 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_mc_inject_error_type_store() local
176 pvt->error_type = 1; in octeon_mc_inject_error_type_store()
178 pvt->error_type = 2; in octeon_mc_inject_error_type_store()
188 struct octeon_lmc_pvt *pvt = mci->pvt_info; in octeon_mc_inject_error_type_show() local
189 if (pvt->error_type == 1) in octeon_mc_inject_error_type_show()
191 else if (pvt->error_type == 2) in octeon_mc_inject_error_type_show()