Lines Matching refs:p
12 struct cxl_region_params *p = &cxlr->params; in cxl_is_hpa_in_range() local
13 int gran = p->interleave_granularity; in cxl_is_hpa_in_range()
14 int ways = p->interleave_ways; in cxl_is_hpa_in_range()
18 if (hpa < p->res->start || hpa > p->res->end) { in cxl_is_hpa_in_range()
25 offset = hpa - p->res->start; in cxl_is_hpa_in_range()
40 struct cxl_region_params *p = &cxlr->params; in cxl_dpa_to_hpa() local
45 ways_to_eiw(p->interleave_ways, &eiw); in cxl_dpa_to_hpa()
46 granularity_to_eig(p->interleave_granularity, &eig); in cxl_dpa_to_hpa()
76 hpa = hpa_offset + p->res->start; in cxl_dpa_to_hpa()
87 struct cxl_region_params *p = &cxlr->params; in cxl_trace_hpa() local
90 for (int i = 0; i < p->nr_targets; i++) { in cxl_trace_hpa()
91 cxled = p->targets[i]; in cxl_trace_hpa()