Lines Matching defs:dev

32 static int to_nd_device_type(struct device *dev)  in to_nd_device_type()
48 static int nvdimm_bus_uevent(struct device *dev, struct kobj_uevent_env *env) in nvdimm_bus_uevent()
54 static struct module *to_bus_provider(struct device *dev) in to_bus_provider()
80 static int nvdimm_bus_probe(struct device *dev) in nvdimm_bus_probe()
111 static int nvdimm_bus_remove(struct device *dev) in nvdimm_bus_remove()
130 static void nvdimm_bus_shutdown(struct device *dev) in nvdimm_bus_shutdown()
145 void nd_device_notify(struct device *dev, enum nvdimm_event event) in nd_device_notify()
175 static int nvdimm_clear_badblocks_region(struct device *dev, void *data) in nvdimm_clear_badblocks_region()
225 long nvdimm_clear_poison(struct device *dev, phys_addr_t phys, in nvdimm_clear_poison()
294 static void nvdimm_bus_release(struct device *dev) in nvdimm_bus_release()
308 bool is_nvdimm_bus(struct device *dev) in is_nvdimm_bus()
315 struct device *dev; in walk_to_nvdimm_bus() local
326 struct nvdimm_bus *to_nvdimm_bus(struct device *dev) in to_nvdimm_bus()
389 static int child_unregister(struct device *dev, void *data) in child_unregister()
430 static int nd_bus_remove(struct device *dev) in nd_bus_remove()
453 static int nd_bus_probe(struct device *dev) in nd_bus_probe()
484 static int nvdimm_bus_match(struct device *dev, struct device_driver *drv) in nvdimm_bus_match()
504 struct device *dev = d; in nd_async_device_register() local
517 struct device *dev = d; in nd_async_device_unregister() local
527 void __nd_device_register(struct device *dev) in __nd_device_register()
553 void nd_device_register(struct device *dev) in nd_device_register()
560 void nd_device_unregister(struct device *dev, enum nd_async_mode mode) in nd_device_unregister()
633 struct device *dev = disk_to_dev(disk)->parent; in nvdimm_check_and_set_ro() local
650 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
658 static ssize_t devtype_show(struct device *dev, struct device_attribute *attr, in devtype_show()
678 static ssize_t numa_node_show(struct device *dev, in numa_node_show()
685 static int nvdimm_dev_to_target_node(struct device *dev) in nvdimm_dev_to_target_node()
700 static ssize_t target_node_show(struct device *dev, in target_node_show()
716 struct device *dev = container_of(kobj, typeof(*dev), kobj); in nd_numa_attr_visible() local
739 struct device *dev; in nvdimm_bus_create_ndctl() local
916 void wait_nvdimm_bus_probe_idle(struct device *dev) in wait_nvdimm_bus_probe_idle()
932 static int nd_pmem_forget_poison_check(struct device *dev, void *data) in nd_pmem_forget_poison_check()
973 static int nd_ns_forget_poison_check(struct device *dev, void *data) in nd_ns_forget_poison_check()
1013 struct device *dev = &nvdimm_bus->dev; in __nd_ioctl() local
1196 static int match_dimm(struct device *dev, void *data) in match_dimm()
1222 struct device *dev; in nd_ioctl() local