Home
last modified time | relevance | path

Searched refs:dax_drv (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/dax/
H A Dbus.c35 static struct dax_id *__dax_match_id(struct dax_device_driver *dax_drv, in __dax_match_id() argument
42 list_for_each_entry(dax_id, &dax_drv->ids, list) in __dax_match_id()
48 static int dax_match_id(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_id() argument
53 match = !!__dax_match_id(dax_drv, dev_name(dev)); in dax_match_id()
59 static int dax_match_type(struct dax_device_driver *dax_drv, struct device *dev) in dax_match_type() argument
67 if (dax_drv->type == type) in dax_match_type()
71 if (dax_drv->type == DAXDRV_DEVICE_TYPE && in dax_match_type()
86 struct dax_device_driver *dax_drv = to_dax_drv(drv); in do_id_store() local
101 dax_id = __dax_match_id(dax_drv, buf); in do_id_store()
107 list_add(&dax_id->list, &dax_drv->ids); in do_id_store()
[all …]
H A Dbus.h43 int __dax_driver_register(struct dax_device_driver *dax_drv,
47 void dax_driver_unregister(struct dax_device_driver *dax_drv);