Lines Matching defs:dev

31 static int to_nd_device_type(const struct device *dev)  in to_nd_device_type()
45 static int nvdimm_bus_uevent(const struct device *dev, struct kobj_uevent_env *env) in nvdimm_bus_uevent()
51 static struct module *to_bus_provider(struct device *dev) in to_bus_provider()
77 static int nvdimm_bus_probe(struct device *dev) in nvdimm_bus_probe()
105 static void nvdimm_bus_remove(struct device *dev) in nvdimm_bus_remove()
119 static void nvdimm_bus_shutdown(struct device *dev) in nvdimm_bus_shutdown()
134 void nd_device_notify(struct device *dev, enum nvdimm_event event) in nd_device_notify()
164 static int nvdimm_clear_badblocks_region(struct device *dev, void *data) in nvdimm_clear_badblocks_region()
214 long nvdimm_clear_poison(struct device *dev, phys_addr_t phys, in nvdimm_clear_poison()
283 static void nvdimm_bus_release(struct device *dev) in nvdimm_bus_release()
297 bool is_nvdimm_bus(struct device *dev) in is_nvdimm_bus()
304 struct device *dev; in walk_to_nvdimm_bus() local
315 struct nvdimm_bus *to_nvdimm_bus(struct device *dev) in to_nvdimm_bus()
386 static int child_unregister(struct device *dev, void *data) in child_unregister()
416 static void nd_bus_remove(struct device *dev) in nd_bus_remove()
437 static int nd_bus_probe(struct device *dev) in nd_bus_probe()
468 static int nvdimm_bus_match(struct device *dev, struct device_driver *drv) in nvdimm_bus_match()
488 struct device *dev = d; in nd_async_device_register() local
501 struct device *dev = d; in nd_async_device_unregister() local
511 static void __nd_device_register(struct device *dev, bool sync) in __nd_device_register()
541 void nd_device_register(struct device *dev) in nd_device_register()
547 void nd_device_register_sync(struct device *dev) in nd_device_register_sync()
552 void nd_device_unregister(struct device *dev, enum nd_async_mode mode) in nd_device_unregister()
625 struct device *dev = disk_to_dev(disk)->parent; in nvdimm_check_and_set_ro() local
640 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
648 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, in devtype_show()
668 static ssize_t numa_node_show(struct device *dev, in numa_node_show()
675 static int nvdimm_dev_to_target_node(struct device *dev) in nvdimm_dev_to_target_node()
690 static ssize_t target_node_show(struct device *dev, in target_node_show()
706 struct device *dev = container_of(kobj, typeof(*dev), kobj); in nd_numa_attr_visible() local
726 static void ndctl_release(struct device *dev) in ndctl_release()
736 struct device *dev; in nvdimm_bus_create_ndctl() local
932 void wait_nvdimm_bus_probe_idle(struct device *dev) in wait_nvdimm_bus_probe_idle()
948 static int nd_pmem_forget_poison_check(struct device *dev, void *data) in nd_pmem_forget_poison_check()
989 static int nd_ns_forget_poison_check(struct device *dev, void *data) in nd_ns_forget_poison_check()
1029 struct device *dev = &nvdimm_bus->dev; in __nd_ioctl() local
1212 static int match_dimm(struct device *dev, void *data) in match_dimm()
1238 struct device *dev; in nd_ioctl() local