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()
425 struct e7xxx_pvt *pvt = NULL; in e7xxx_probe1() local
449 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in e7xxx_probe1()
461 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_probe1()
462 pvt->dev_info = &e7xxx_devs[dev_idx]; in e7xxx_probe1()
463 pvt->bridge_ck = pci_get_device(PCI_VENDOR_ID_INTEL, in e7xxx_probe1()
464 pvt->dev_info->err_dev, pvt->bridge_ck); in e7xxx_probe1()
466 if (!pvt->bridge_ck) { in e7xxx_probe1()
474 mci->ctl_name = pvt->dev_info->ctl_name; in e7xxx_probe1()
483 pvt->tolm = ((u32) pci_data) << 4; in e7xxx_probe1()
485 pvt->remapbase = ((u32) pci_data) << 14; in e7xxx_probe1()
487 pvt->remaplimit = ((u32) pci_data) << 14; in e7xxx_probe1()
489 "tolm = %x, remapbase = %x, remaplimit = %x\n", pvt->tolm, in e7xxx_probe1()
490 pvt->remapbase, pvt->remaplimit); in e7xxx_probe1()
519 pci_dev_put(pvt->bridge_ck); in e7xxx_probe1()
540 struct e7xxx_pvt *pvt; in e7xxx_remove_one() local
550 pvt = (struct e7xxx_pvt *)mci->pvt_info; in e7xxx_remove_one()
551 pci_dev_put(pvt->bridge_ck); in e7xxx_remove_one()