Lines Matching refs:to_xenbus_device
104 return match_device(drv->ids, to_xenbus_device(_dev)) != NULL; in xenbus_match()
219 struct xenbus_device *dev = to_xenbus_device(_dev); \
234 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_show()
243 struct xenbus_device *dev = to_xenbus_device(_dev); in spurious_threshold_store()
274 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
335 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
392 struct xenbus_device *xendev = to_xenbus_device(dev); in cmp_dev()
414 struct xenbus_device *xendev = to_xenbus_device(dev); in cleanup_dev()
450 kfree(to_xenbus_device(dev)); in xenbus_dev_release()
456 return sprintf(buf, "%s\n", to_xenbus_device(dev)->nodename); in nodename_show()
463 return sprintf(buf, "%s\n", to_xenbus_device(dev)->devicetype); in devtype_show()
471 to_xenbus_device(dev)->devicetype); in modalias_show()
479 xenbus_strstate(to_xenbus_device(dev)->state)); in state_show()