Lines Matching refs:grt
612 struct uv_gam_range_s *grt; in build_uv_gr_table() local
620 grt = kzalloc(bytes, GFP_KERNEL); in build_uv_gr_table()
621 if (WARN_ON_ONCE(!grt)) in build_uv_gr_table()
623 _gr_table = grt; in build_uv_gr_table()
645 grt = &_gr_table[indx]; in build_uv_gr_table()
646 grt->base = lindx; in build_uv_gr_table()
647 grt->nasid = gre->nasid; in build_uv_gr_table()
648 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
656 if (grt->limit == last_limit) { in build_uv_gr_table()
657 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
663 grt++; in build_uv_gr_table()
664 grt->base = lindx; in build_uv_gr_table()
665 grt->nasid = gre->nasid; in build_uv_gr_table()
666 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
670 grt++; in build_uv_gr_table()
672 grt->base = grt - _gr_table; in build_uv_gr_table()
673 grt->nasid = gre->nasid; in build_uv_gr_table()
674 grt->limit = last_limit = gre->limit; in build_uv_gr_table()
679 grt++; in build_uv_gr_table()
680 i = grt - _gr_table; in build_uv_gr_table()
693 for (i = 0, grt = _gr_table; i < _gr_table_len; i++, grt++) { in build_uv_gr_table()
695 int gb = grt->base; in build_uv_gr_table()
698 end = (unsigned long)grt->limit << UV_GAM_RANGE_SHFT; in build_uv_gr_table()
700 pr_info("UV: GAM Range %2d %04x 0x%013lx-0x%013lx (%d)\n", i, grt->nasid, start, end, gb); in build_uv_gr_table()