Lines Matching refs:reg32
52 u32 reg32; in enable_ecrc_checking() local
61 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in enable_ecrc_checking()
62 if (reg32 & PCI_ERR_CAP_ECRC_GENC) in enable_ecrc_checking()
63 reg32 |= PCI_ERR_CAP_ECRC_GENE; in enable_ecrc_checking()
64 if (reg32 & PCI_ERR_CAP_ECRC_CHKC) in enable_ecrc_checking()
65 reg32 |= PCI_ERR_CAP_ECRC_CHKE; in enable_ecrc_checking()
66 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32); in enable_ecrc_checking()
80 u32 reg32; in disable_ecrc_checking() local
89 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in disable_ecrc_checking()
90 reg32 &= ~(PCI_ERR_CAP_ECRC_GENE | PCI_ERR_CAP_ECRC_CHKE); in disable_ecrc_checking()
91 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32); in disable_ecrc_checking()