Lines Matching defs:mch_window
209 void __iomem *mch_window;
339 static int dual_channel_active(void __iomem *mch_window)
354 drb[row][0] = readb(mch_window + I82975X_DRB + row);
355 drb[row][1] = readb(mch_window + I82975X_DRB + row + 0x80);
362 struct pci_dev *pdev, void __iomem *mch_window)
385 value = readb(mch_window + I82975X_DRB + index +
433 static void i82975x_print_dram_timings(void __iomem *mch_window)
444 dtreg[0] = readl(mch_window + 0x114);
445 dtreg[1] = readl(mch_window + 0x194);
470 void __iomem *mch_window;
488 mch_window = ioremap(mchbar, 0x1000);
489 if (!mch_window) {
496 mchbar, mch_window);
498 c0drb[0] = readb(mch_window + I82975X_DRB_CH0R0);
499 c0drb[1] = readb(mch_window + I82975X_DRB_CH0R1);
500 c0drb[2] = readb(mch_window + I82975X_DRB_CH0R2);
501 c0drb[3] = readb(mch_window + I82975X_DRB_CH0R3);
502 c1drb[0] = readb(mch_window + I82975X_DRB_CH1R0);
503 c1drb[1] = readb(mch_window + I82975X_DRB_CH1R1);
504 c1drb[2] = readb(mch_window + I82975X_DRB_CH1R2);
505 c1drb[3] = readb(mch_window + I82975X_DRB_CH1R3);
516 drc[0] = readl(mch_window + I82975X_DRC_CH0M0);
517 drc[1] = readl(mch_window + I82975X_DRC_CH1M0);
527 readw(mch_window + I82975X_C0BNKARC));
529 readw(mch_window + I82975X_C1BNKARC));
530 i82975x_print_dram_timings(mch_window);
538 chans = dual_channel_active(mch_window) + 1;
565 pvt->mch_window = mch_window;
566 i82975x_init_csrows(mci, pdev, mch_window);
584 iounmap(mch_window);
620 if (pvt->mch_window)
621 iounmap( pvt->mch_window );