Lines Matching refs:window
168 void __iomem *window = mci->pvt_info; in x38_get_and_clear_error_info() local
181 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info()
183 info->eccerrlog[1] = lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info()
194 info->eccerrlog[0] = lo_hi_readq(window + X38_C0ECCERRLOG); in x38_get_and_clear_error_info()
197 lo_hi_readq(window + X38_C1ECCERRLOG); in x38_get_and_clear_error_info()
254 void __iomem *window; in x38_map_mchbar() local
268 window = ioremap(u.mchbar, X38_MMR_WINDOW_SIZE); in x38_map_mchbar()
269 if (!window) in x38_map_mchbar()
273 return window; in x38_map_mchbar()
277 static void x38_get_drbs(void __iomem *window, in x38_get_drbs() argument
283 drbs[0][i] = readw(window + X38_C0DRB + 2*i) & X38_DRB_MASK; in x38_get_drbs()
284 drbs[1][i] = readw(window + X38_C1DRB + 2*i) & X38_DRB_MASK; in x38_get_drbs()
325 void __iomem *window; in x38_probe1() local
329 window = x38_map_mchbar(pdev); in x38_probe1()
330 if (!window) in x38_probe1()
333 x38_get_drbs(window, drbs); in x38_probe1()
361 mci->pvt_info = window; in x38_probe1()
406 iounmap(window); in x38_probe1()