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