Lines Matching refs:ndtest_priv
42 static struct ndtest_priv *instances[NUM_INSTANCES];
198 static inline struct ndtest_priv *to_ndtest_priv(struct device *dev) in to_ndtest_priv()
202 return container_of(pdev, struct ndtest_priv, pdev); in to_ndtest_priv()
292 struct ndtest_priv *t = instances[i]; in ndtest_resource_lookup()
334 static void *ndtest_alloc_resource(struct ndtest_priv *p, size_t size, in ndtest_alloc_resource()
411 static int ndtest_create_region(struct ndtest_priv *p, in ndtest_create_region()
469 static int ndtest_init_regions(struct ndtest_priv *p) in ndtest_init_regions()
484 struct ndtest_priv *p = data; in put_dimms()
726 static int ndtest_dimm_register(struct ndtest_priv *priv, in ndtest_dimm_register()
758 static int ndtest_nvdimm_init(struct ndtest_priv *p) in ndtest_nvdimm_init()
817 static int ndtest_bus_register(struct ndtest_priv *p) in ndtest_bus_register()
837 struct ndtest_priv *p = to_ndtest_priv(&pdev->dev); in ndtest_remove()
844 struct ndtest_priv *p; in ndtest_probe()
895 struct ndtest_priv *p = to_ndtest_priv(dev); in ndtest_release()
945 struct ndtest_priv *priv; in ndtest_init()