Lines Matching full:pvt

9 	struct amd64_pvt *pvt = mci->pvt_info;  in amd64_inject_section_show()  local
10 return sprintf(buf, "0x%x\n", pvt->injection.section); in amd64_inject_section_show()
24 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_section_store() local
37 pvt->injection.section = (u32) value; in amd64_inject_section_store()
46 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_word_show() local
47 return sprintf(buf, "0x%x\n", pvt->injection.word); in amd64_inject_word_show()
61 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_word_store() local
74 pvt->injection.word = (u32) value; in amd64_inject_word_store()
83 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_ecc_vector_show() local
84 return sprintf(buf, "0x%x\n", pvt->injection.bit_map); in amd64_inject_ecc_vector_show()
97 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_ecc_vector_store() local
110 pvt->injection.bit_map = (u32) value; in amd64_inject_ecc_vector_store()
115 * Do a DRAM ECC read. Assemble staged values in the pvt area, format into
123 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_read_store() local
133 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_read_store()
135 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_read_store()
137 word_bits = SET_NB_DRAM_INJECTION_READ(pvt->injection); in amd64_inject_read_store()
140 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); in amd64_inject_read_store()
148 * Do a DRAM ECC write. Assemble staged values in the pvt area and format into
156 struct amd64_pvt *pvt = mci->pvt_info; in amd64_inject_write_store() local
166 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_write_store()
168 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_write_store()
170 word_bits = SET_NB_DRAM_INJECTION_WRITE(pvt->injection); in amd64_inject_write_store()
179 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, word_bits); in amd64_inject_write_store()
183 amd64_read_pci_cfg(pvt->F3, F10_NB_ARRAY_DATA, &tmp); in amd64_inject_write_store()
225 struct amd64_pvt *pvt = mci->pvt_info; in amd64_edac_inj_is_visible() local
227 if (pvt->fam < 0x10) in amd64_edac_inj_is_visible()