Lines Matching refs:pvt
186 struct e7xxx_pvt *pvt = (struct e7xxx_pvt *)mci->pvt_info; in ctl_page_to_phys() local
190 if ((page < pvt->tolm) || in ctl_page_to_phys()
191 ((page >= 0x100000) && (page < pvt->remapbase))) in ctl_page_to_phys()
194 remap = (page - pvt->tolm) + pvt->remapbase; in ctl_page_to_phys()
196 if (remap < pvt->remaplimit) in ctl_page_to_phys()
200 return pvt->tolm - 1; in ctl_page_to_phys()
259 struct e7xxx_pvt *pvt; in e7xxx_get_error_info() local
261 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_get_error_info()
262 pci_read_config_byte(pvt->bridge_ck, E7XXX_DRAM_FERR, &info->dram_ferr); in e7xxx_get_error_info()
263 pci_read_config_byte(pvt->bridge_ck, E7XXX_DRAM_NERR, &info->dram_nerr); in e7xxx_get_error_info()
266 pci_read_config_dword(pvt->bridge_ck, E7XXX_DRAM_CELOG_ADD, in e7xxx_get_error_info()
268 pci_read_config_word(pvt->bridge_ck, in e7xxx_get_error_info()
274 pci_read_config_dword(pvt->bridge_ck, E7XXX_DRAM_UELOG_ADD, in e7xxx_get_error_info()
278 pci_write_bits8(pvt->bridge_ck, E7XXX_DRAM_FERR, 0x03, 0x03); in e7xxx_get_error_info()
281 pci_write_bits8(pvt->bridge_ck, E7XXX_DRAM_NERR, 0x03, 0x03); in e7xxx_get_error_info()
426 struct e7xxx_pvt *pvt = NULL; in e7xxx_probe1() local
450 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in e7xxx_probe1()
462 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_probe1()
463 pvt->dev_info = &e7xxx_devs[dev_idx]; in e7xxx_probe1()
464 pvt->bridge_ck = pci_get_device(PCI_VENDOR_ID_INTEL, in e7xxx_probe1()
465 pvt->dev_info->err_dev, pvt->bridge_ck); in e7xxx_probe1()
467 if (!pvt->bridge_ck) { in e7xxx_probe1()
475 mci->ctl_name = pvt->dev_info->ctl_name; in e7xxx_probe1()
484 pvt->tolm = ((u32) pci_data) << 4; in e7xxx_probe1()
486 pvt->remapbase = ((u32) pci_data) << 14; in e7xxx_probe1()
488 pvt->remaplimit = ((u32) pci_data) << 14; in e7xxx_probe1()
490 "tolm = %x, remapbase = %x, remaplimit = %x\n", pvt->tolm, in e7xxx_probe1()
491 pvt->remapbase, pvt->remaplimit); in e7xxx_probe1()
520 pci_dev_put(pvt->bridge_ck); in e7xxx_probe1()
541 struct e7xxx_pvt *pvt; in e7xxx_remove_one() local
551 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_remove_one()
552 pci_dev_put(pvt->bridge_ck); in e7xxx_remove_one()