Lines Matching refs:reg32
288 u32 reg32;
338 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, ®32);
339 reg32 = (reg32 & hpx->unc_err_mask_and) | hpx->unc_err_mask_or;
340 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, reg32);
343 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, ®32);
344 reg32 = (reg32 & hpx->unc_err_sever_and) | hpx->unc_err_sever_or;
345 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, reg32);
348 pci_read_config_dword(dev, pos + PCI_ERR_COR_MASK, ®32);
349 reg32 = (reg32 & hpx->cor_err_mask_and) | hpx->cor_err_mask_or;
350 pci_write_config_dword(dev, pos + PCI_ERR_COR_MASK, reg32);
353 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32);
354 reg32 = (reg32 & hpx->adv_err_cap_and) | hpx->adv_err_cap_or;
357 if (!(reg32 & PCI_ERR_CAP_ECRC_GENC))
358 reg32 &= ~PCI_ERR_CAP_ECRC_GENE;
359 if (!(reg32 & PCI_ERR_CAP_ECRC_CHKC))
360 reg32 &= ~PCI_ERR_CAP_ECRC_CHKE;
361 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32);