Lines Matching refs:resource
43 static struct nfit_test_resource *__get_nfit_res(resource_size_t resource) in __get_nfit_res() argument
49 return ops->nfit_test_lookup(resource); in __get_nfit_res()
53 struct nfit_test_resource *get_nfit_res(resource_size_t resource) in get_nfit_res() argument
58 res = __get_nfit_res(resource); in get_nfit_res()
201 struct resource *parent, resource_size_t start,
206 struct resource *res = *((struct resource **) data); in nfit_devres_release()
214 struct resource *res = *((struct resource **) __res); in match()
221 struct resource *parent, resource_size_t start, in nfit_test_release_region()
229 struct resource *res = NULL; in nfit_test_release_region()
257 static struct resource *nfit_test_request_region(struct device *dev, in nfit_test_request_region()
258 struct resource *parent, resource_size_t start, in nfit_test_request_region()
267 struct resource *res = NULL; in nfit_test_request_region()
306 struct resource **d; in nfit_test_request_region()
309 sizeof(struct resource *), in nfit_test_request_region()
326 struct resource *__wrap___request_region(struct resource *parent, in __wrap___request_region()
334 int __wrap_insert_resource(struct resource *parent, struct resource *res) in __wrap_insert_resource()
342 int __wrap_remove_resource(struct resource *res) in __wrap_remove_resource()
350 struct resource *__wrap___devm_request_region(struct device *dev, in __wrap___devm_request_region()
351 struct resource *parent, resource_size_t start, in __wrap___devm_request_region()
360 void __wrap___release_region(struct resource *parent, resource_size_t start, in __wrap___release_region()
368 void __wrap___devm_release_region(struct device *dev, struct resource *parent, in __wrap___devm_release_region()