Lines Matching refs:grt
445 struct uv_gam_range_s *grt; in build_uv_gr_table() local
453 grt = kzalloc(bytes, GFP_KERNEL); in build_uv_gr_table()
454 BUG_ON(!grt); in build_uv_gr_table()
455 _gr_table = grt; in build_uv_gr_table()
477 grt = &_gr_table[indx]; in build_uv_gr_table()
478 grt->base = lindx; in build_uv_gr_table()
479 grt->nasid = gre->nasid; in build_uv_gr_table()
480 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
488 if (grt->limit == last_limit) { in build_uv_gr_table()
489 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
495 grt++; in build_uv_gr_table()
496 grt->base = lindx; in build_uv_gr_table()
497 grt->nasid = gre->nasid; in build_uv_gr_table()
498 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
502 grt++; in build_uv_gr_table()
504 grt->base = grt - _gr_table; in build_uv_gr_table()
505 grt->nasid = gre->nasid; in build_uv_gr_table()
506 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
511 grt++; in build_uv_gr_table()
512 i = grt - _gr_table; in build_uv_gr_table()
525 for (i = 0, grt = _gr_table; i < _gr_table_len; i++, grt++) { in build_uv_gr_table()
527 int gb = grt->base; in build_uv_gr_table()
530 end = (unsigned long)grt->limit << UV_GAM_RANGE_SHFT; in build_uv_gr_table()
532 pr_info("UV: GAM Range %2d %04x 0x%013lx-0x%013lx (%d)\n", i, grt->nasid, start, end, gb); in build_uv_gr_table()