Lines Matching refs:to_xenbus_device
99 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
214 struct xenbus_device *dev = to_xenbus_device(_dev); \
229 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
238 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
269 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
330 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
387 struct xenbus_device *xendev = to_xenbus_device(dev); in cmp_dev()
409 struct xenbus_device *xendev = to_xenbus_device(dev); in cleanup_dev()
445 kfree(to_xenbus_device(dev)); in xenbus_dev_release()
451 return sprintf(buf, "%s\n", to_xenbus_device(dev)->nodename); in nodename_show()
458 return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); in devtype_show()
466 to_xenbus_device(dev)->devicetype); in modalias_show()
474 xenbus_strstate(to_xenbus_device(dev)->state)); in state_show()