Lines Matching defs:dramcr
210 static inline int ecc_enabled(u8 dramcr)
212 return dramcr & BIT(5);
216 u8 dramcr)
224 ecc_on = ecc_enabled(dramcr);
225 reg_sdram = dramcr & BIT(4);
266 u8 dramcr;
273 pci_read_config_byte(pdev, R82600_DRAMC, &dramcr);
276 sdram_refresh_rate = dramcr & (BIT(0) | BIT(1));
279 debugf2("%s(): DRAMC register = %#0x\n", __func__, dramcr);
296 if (ecc_enabled(dramcr)) {
309 r82600_init_csrows(mci, pdev, dramcr);