Lines Matching defs:res
56 struct resource *res;
93 res = &pdev->resource[0];
94 vinst->hvwc_bar_start = res->start;
96 res = &pdev->resource[1];
97 vinst->uwc_bar_start = res->start;
99 res = &pdev->resource[2];
100 vinst->paste_base_addr = res->start;
102 res = &pdev->resource[3];
103 if (res->end > 62) {
104 pr_err("Bad 'paste_win_id_shift' in DT, %llx\n", res->end);
108 vinst->paste_win_id_shift = 63 - res->end;