Searched refs:nfit_res (Results 1 – 3 of 3) sorted by relevance
66 struct nfit_test_resource *nfit_res = get_nfit_res(offset); \67 nfit_res ? \68 (void __iomem *) nfit_res->buf + (offset) \69 - nfit_res->res.start \77 struct nfit_test_resource *nfit_res = get_nfit_res(offset); in __wrap_devm_ioremap() local79 if (nfit_res) in __wrap_devm_ioremap()80 return (void __iomem *) nfit_res->buf + offset in __wrap_devm_ioremap()81 - nfit_res->res.start; in __wrap_devm_ioremap()89 struct nfit_test_resource *nfit_res = get_nfit_res(offset); in __wrap_devm_memremap() local91 if (nfit_res) in __wrap_devm_memremap()[all …]
1599 struct nfit_test_resource *nfit_res = data; in release_nfit_res() local1602 list_del(&nfit_res->list); in release_nfit_res()1605 if (resource_size(&nfit_res->res) >= DIMM_SIZE) in release_nfit_res()1606 gen_pool_free(nfit_pool, nfit_res->res.start, in release_nfit_res()1607 resource_size(&nfit_res->res)); in release_nfit_res()1608 vfree(nfit_res->buf); in release_nfit_res()1609 kfree(nfit_res); in release_nfit_res()1616 struct nfit_test_resource *nfit_res = kzalloc(sizeof(*nfit_res), in __test_alloc() local1620 if (!buf || !nfit_res || !*dma) in __test_alloc()1622 rc = devm_add_action(dev, release_nfit_res, nfit_res); in __test_alloc()[all …]
346 struct nfit_test_resource *n, *nfit_res = NULL; in ndtest_resource_lookup() local355 nfit_res = n; in ndtest_resource_lookup()360 nfit_res = n; in ndtest_resource_lookup()365 if (nfit_res) in ndtest_resource_lookup()366 return nfit_res; in ndtest_resource_lookup()