Lines Matching full:start
72 - nfit_res->res.start; in __nfit_test_ioremap()
83 - nfit_res->res.start; in __wrap_devm_ioremap()
94 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap()
129 resource_size_t offset = pgmap->range.start; in __wrap_devm_memremap_pages()
155 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_devm_memremap_pages()
175 return nfit_res->buf + offset - nfit_res->res.start; in __wrap_memremap()
222 struct resource *parent, resource_size_t start,
229 WARN_ON(!nfit_test_release_region(NULL, &iomem_resource, res->start, in nfit_devres_release()
236 resource_size_t start = *((resource_size_t *) match_data); in match() local
238 return res->start == start; in match()
242 struct resource *parent, resource_size_t start, in nfit_test_release_region() argument
246 struct nfit_test_resource *nfit_res = get_nfit_res(start); in nfit_test_release_region()
254 &start); in nfit_test_release_region()
260 if (req->res.start == start) { in nfit_test_release_region()
268 "%s: start: %llx n: %llx mismatch: %pr\n", in nfit_test_release_region()
269 __func__, start, n, res); in nfit_test_release_region()
279 struct resource *parent, resource_size_t start, in nfit_test_request_region() argument
285 nfit_res = get_nfit_res(start); in nfit_test_request_region()
290 if (start + n > nfit_res->res.start in nfit_test_request_region()
292 pr_debug("%s: start: %llx n: %llx overflow: %pr\n", in nfit_test_request_region()
293 __func__, start, n, in nfit_test_request_region()
300 if (start == req->res.start) { in nfit_test_request_region()
317 res->start = start; in nfit_test_request_region()
318 res->end = start + n - 1; in nfit_test_request_region()
343 return __devm_request_region(dev, parent, start, n, name); in nfit_test_request_region()
344 return __request_region(parent, start, n, name, flags); in nfit_test_request_region()
348 resource_size_t start, resource_size_t n, const char *name, in __wrap___request_region() argument
351 return nfit_test_request_region(NULL, parent, start, n, name, flags); in __wrap___request_region()
357 if (get_nfit_res(res->start)) in __wrap_insert_resource()
365 if (get_nfit_res(res->start)) in __wrap_remove_resource()
372 struct resource *parent, resource_size_t start, in __wrap___devm_request_region() argument
377 return nfit_test_request_region(dev, parent, start, n, name, 0); in __wrap___devm_request_region()
381 void __wrap___release_region(struct resource *parent, resource_size_t start, in __wrap___release_region() argument
384 if (!nfit_test_release_region(NULL, parent, start, n)) in __wrap___release_region()
385 __release_region(parent, start, n); in __wrap___release_region()
390 resource_size_t start, resource_size_t n) in __wrap___devm_release_region() argument
392 if (!nfit_test_release_region(dev, parent, start, n)) in __wrap___devm_release_region()
393 __devm_release_region(dev, parent, start, n); in __wrap___devm_release_region()