Lines Matching refs:to_xenbus_device
100 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
215 struct xenbus_device *dev = to_xenbus_device(_dev); \
230 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
239 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
270 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
331 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
388 struct xenbus_device *xendev = to_xenbus_device(dev); in cmp_dev()
410 struct xenbus_device *xendev = to_xenbus_device(dev); in cleanup_dev()
446 kfree(to_xenbus_device(dev)); in xenbus_dev_release()
452 return sprintf(buf, "%s\n", to_xenbus_device(dev)->nodename); in nodename_show()
459 return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); in devtype_show()
467 to_xenbus_device(dev)->devicetype); in modalias_show()
475 xenbus_strstate(to_xenbus_device(dev)->state)); in state_show()