Lines Matching refs:_dev
92 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match() argument
99 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
210 static ssize_t name##_show(struct device *_dev, \
214 struct xenbus_device *dev = to_xenbus_device(_dev); \
225 static ssize_t spurious_threshold_show(struct device *_dev, in spurious_threshold_show() argument
229 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
234 static ssize_t spurious_threshold_store(struct device *_dev, in spurious_threshold_store() argument
238 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
267 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument
269 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
270 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe()
328 void xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove() argument
330 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
331 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove()