Lines Matching refs:grt
426 struct uv_gam_range_s *grt; in build_uv_gr_table() local
434 grt = kzalloc(bytes, GFP_KERNEL); in build_uv_gr_table()
435 BUG_ON(!grt); in build_uv_gr_table()
436 _gr_table = grt; in build_uv_gr_table()
458 grt = &_gr_table[indx]; in build_uv_gr_table()
459 grt->base = lindx; in build_uv_gr_table()
460 grt->nasid = gre->nasid; in build_uv_gr_table()
461 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
469 if (grt->limit == last_limit) { in build_uv_gr_table()
470 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
476 grt++; in build_uv_gr_table()
477 grt->base = lindx; in build_uv_gr_table()
478 grt->nasid = gre->nasid; in build_uv_gr_table()
479 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
483 grt++; in build_uv_gr_table()
485 grt->base = grt - _gr_table; in build_uv_gr_table()
486 grt->nasid = gre->nasid; in build_uv_gr_table()
487 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
492 grt++; in build_uv_gr_table()
493 i = grt - _gr_table; in build_uv_gr_table()
506 for (i = 0, grt = _gr_table; i < _gr_table_len; i++, grt++) { in build_uv_gr_table()
508 int gb = grt->base; in build_uv_gr_table()
511 end = (unsigned long)grt->limit << UV_GAM_RANGE_SHFT; in build_uv_gr_table()
513 pr_info("UV: GAM Range %2d %04x 0x%013lx-0x%013lx (%d)\n", i, grt->nasid, start, end, gb); in build_uv_gr_table()