Lines Matching refs:reg32
286 u32 reg32; in program_hpx_type2() local
336 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, ®32); in program_hpx_type2()
337 reg32 = (reg32 & hpx->unc_err_mask_and) | hpx->unc_err_mask_or; in program_hpx_type2()
338 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, reg32); in program_hpx_type2()
341 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, ®32); in program_hpx_type2()
342 reg32 = (reg32 & hpx->unc_err_sever_and) | hpx->unc_err_sever_or; in program_hpx_type2()
343 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, reg32); in program_hpx_type2()
346 pci_read_config_dword(dev, pos + PCI_ERR_COR_MASK, ®32); in program_hpx_type2()
347 reg32 = (reg32 & hpx->cor_err_mask_and) | hpx->cor_err_mask_or; in program_hpx_type2()
348 pci_write_config_dword(dev, pos + PCI_ERR_COR_MASK, reg32); in program_hpx_type2()
351 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in program_hpx_type2()
352 reg32 = (reg32 & hpx->adv_err_cap_and) | hpx->adv_err_cap_or; in program_hpx_type2()
355 if (!(reg32 & PCI_ERR_CAP_ECRC_GENC)) in program_hpx_type2()
356 reg32 &= ~PCI_ERR_CAP_ECRC_GENE; in program_hpx_type2()
357 if (!(reg32 & PCI_ERR_CAP_ECRC_CHKC)) in program_hpx_type2()
358 reg32 &= ~PCI_ERR_CAP_ECRC_CHKE; in program_hpx_type2()
359 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32); in program_hpx_type2()