Lines Matching refs:reg32
1355 u32 reg32; in set_pcie_hotplug_bridge() local
1357 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, ®32); in set_pcie_hotplug_bridge()
1358 if (reg32 & PCI_EXP_SLTCAP_HPC) in set_pcie_hotplug_bridge()
1866 u32 reg32; in program_hpp_type2() local
1916 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, ®32); in program_hpp_type2()
1917 reg32 = (reg32 & hpp->unc_err_mask_and) | hpp->unc_err_mask_or; in program_hpp_type2()
1918 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, reg32); in program_hpp_type2()
1921 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, ®32); in program_hpp_type2()
1922 reg32 = (reg32 & hpp->unc_err_sever_and) | hpp->unc_err_sever_or; in program_hpp_type2()
1923 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, reg32); in program_hpp_type2()
1926 pci_read_config_dword(dev, pos + PCI_ERR_COR_MASK, ®32); in program_hpp_type2()
1927 reg32 = (reg32 & hpp->cor_err_mask_and) | hpp->cor_err_mask_or; in program_hpp_type2()
1928 pci_write_config_dword(dev, pos + PCI_ERR_COR_MASK, reg32); in program_hpp_type2()
1931 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in program_hpp_type2()
1932 reg32 = (reg32 & hpp->adv_err_cap_and) | hpp->adv_err_cap_or; in program_hpp_type2()
1935 if (!(reg32 & PCI_ERR_CAP_ECRC_GENC)) in program_hpp_type2()
1936 reg32 &= ~PCI_ERR_CAP_ECRC_GENE; in program_hpp_type2()
1937 if (!(reg32 & PCI_ERR_CAP_ECRC_CHKC)) in program_hpp_type2()
1938 reg32 &= ~PCI_ERR_CAP_ECRC_CHKE; in program_hpp_type2()
1939 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32); in program_hpp_type2()