Searched refs:nfit_res (Results 1 – 2 of 2) sorted by relevance
68 struct nfit_test_resource *nfit_res = get_nfit_res(offset); in __nfit_test_ioremap() local70 if (nfit_res) in __nfit_test_ioremap()71 return (void __iomem *) nfit_res->buf + offset in __nfit_test_ioremap()72 - nfit_res->res.start; in __nfit_test_ioremap()79 struct nfit_test_resource *nfit_res = get_nfit_res(offset); in __wrap_devm_ioremap_nocache() local81 if (nfit_res) in __wrap_devm_ioremap_nocache()82 return (void __iomem *) nfit_res->buf + offset in __wrap_devm_ioremap_nocache()83 - nfit_res->res.start; in __wrap_devm_ioremap_nocache()91 struct nfit_test_resource *nfit_res = get_nfit_res(offset); in __wrap_devm_memremap() local93 if (nfit_res) in __wrap_devm_memremap()[all …]
1415 struct nfit_test_resource *nfit_res = data; in release_nfit_res() local1418 list_del(&nfit_res->list); in release_nfit_res()1421 if (resource_size(&nfit_res->res) >= DIMM_SIZE) in release_nfit_res()1422 gen_pool_free(nfit_pool, nfit_res->res.start, in release_nfit_res()1423 resource_size(&nfit_res->res)); in release_nfit_res()1424 vfree(nfit_res->buf); in release_nfit_res()1425 kfree(nfit_res); in release_nfit_res()1432 struct nfit_test_resource *nfit_res = kzalloc(sizeof(*nfit_res), in __test_alloc() local1436 if (!buf || !nfit_res || !*dma) in __test_alloc()1438 rc = devm_add_action(dev, release_nfit_res, nfit_res); in __test_alloc()[all …]