Lines Matching refs:_dev
93 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match() argument
100 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
211 static ssize_t name##_show(struct device *_dev, \
215 struct xenbus_device *dev = to_xenbus_device(_dev); \
226 static ssize_t spurious_threshold_show(struct device *_dev, in spurious_threshold_show() argument
230 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
235 static ssize_t spurious_threshold_store(struct device *_dev, in spurious_threshold_store() argument
239 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
268 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe() argument
270 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
271 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_probe()
329 void xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove() argument
331 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
332 struct xenbus_driver *drv = to_xenbus_driver(_dev->driver); in xenbus_dev_remove()