Lines Matching refs:dramcr
211 static inline int ecc_enabled(u8 dramcr) in ecc_enabled() argument
213 return dramcr & BIT(5); in ecc_enabled()
217 u8 dramcr) in r82600_init_csrows() argument
226 ecc_on = ecc_enabled(dramcr); in r82600_init_csrows()
227 reg_sdram = dramcr & BIT(4); in r82600_init_csrows()
272 u8 dramcr; in r82600_probe1() local
279 pci_read_config_byte(pdev, R82600_DRAMC, &dramcr); in r82600_probe1()
282 sdram_refresh_rate = dramcr & (BIT(0) | BIT(1)); in r82600_probe1()
284 edac_dbg(2, "DRAMC register = %#0x\n", dramcr); in r82600_probe1()
309 if (ecc_enabled(dramcr)) { in r82600_probe1()
321 r82600_init_csrows(mci, pdev, dramcr); in r82600_probe1()