Lines Matching refs:ndtest_priv
40 static struct ndtest_priv *instances[NUM_INSTANCES];
192 static inline struct ndtest_priv *to_ndtest_priv(struct device *dev) in to_ndtest_priv()
196 return container_of(pdev, struct ndtest_priv, pdev); in to_ndtest_priv()
286 struct ndtest_priv *t = instances[i]; in ndtest_resource_lookup()
328 static void *ndtest_alloc_resource(struct ndtest_priv *p, size_t size, in ndtest_alloc_resource()
405 static int ndtest_create_region(struct ndtest_priv *p, in ndtest_create_region()
463 static int ndtest_init_regions(struct ndtest_priv *p) in ndtest_init_regions()
478 struct ndtest_priv *p = data; in put_dimms()
720 static int ndtest_dimm_register(struct ndtest_priv *priv, in ndtest_dimm_register()
752 static int ndtest_nvdimm_init(struct ndtest_priv *p) in ndtest_nvdimm_init()
811 static int ndtest_bus_register(struct ndtest_priv *p) in ndtest_bus_register()
831 struct ndtest_priv *p = to_ndtest_priv(&pdev->dev); in ndtest_remove()
839 struct ndtest_priv *p; in ndtest_probe()
890 struct ndtest_priv *p = to_ndtest_priv(dev); in ndtest_release()
943 struct ndtest_priv *priv; in ndtest_init()