Lines Matching defs:mch_window
209 void __iomem *mch_window;
338 static int dual_channel_active(void __iomem *mch_window)
353 drb[row][0] = readb(mch_window + I82975X_DRB + row);
354 drb[row][1] = readb(mch_window + I82975X_DRB + row + 0x80);
361 struct pci_dev *pdev, void __iomem *mch_window)
384 value = readb(mch_window + I82975X_DRB + index +
432 static void i82975x_print_dram_timings(void __iomem *mch_window)
443 dtreg[0] = readl(mch_window + 0x114);
444 dtreg[1] = readl(mch_window + 0x194);
469 void __iomem *mch_window;
487 mch_window = ioremap(mchbar, 0x1000);
488 if (!mch_window) {
495 mchbar, mch_window);
497 c0drb[0] = readb(mch_window + I82975X_DRB_CH0R0);
498 c0drb[1] = readb(mch_window + I82975X_DRB_CH0R1);
499 c0drb[2] = readb(mch_window + I82975X_DRB_CH0R2);
500 c0drb[3] = readb(mch_window + I82975X_DRB_CH0R3);
501 c1drb[0] = readb(mch_window + I82975X_DRB_CH1R0);
502 c1drb[1] = readb(mch_window + I82975X_DRB_CH1R1);
503 c1drb[2] = readb(mch_window + I82975X_DRB_CH1R2);
504 c1drb[3] = readb(mch_window + I82975X_DRB_CH1R3);
515 drc[0] = readl(mch_window + I82975X_DRC_CH0M0);
516 drc[1] = readl(mch_window + I82975X_DRC_CH1M0);
526 readw(mch_window + I82975X_C0BNKARC));
528 readw(mch_window + I82975X_C1BNKARC));
529 i82975x_print_dram_timings(mch_window);
537 chans = dual_channel_active(mch_window) + 1;
564 pvt->mch_window = mch_window;
565 i82975x_init_csrows(mci, pdev, mch_window);
583 iounmap(mch_window);
619 if (pvt->mch_window)
620 iounmap( pvt->mch_window );