Lines Matching refs:xb_dev
68 dev_err(&front_info->xb_dev->dev, in evtchnl_interrupt_req()
171 xenbus_free_evtchn(front_info->xb_dev, channel->port); in evtchnl_free()
202 struct xenbus_device *xb_dev = front_info->xb_dev; in evtchnl_alloc() local
240 ret = xenbus_grant_ring(xb_dev, sring, 1, &gref); in evtchnl_alloc()
248 ret = gnttab_grant_foreign_access(xb_dev->otherend_id, in evtchnl_alloc()
260 ret = xenbus_alloc_evtchn(xb_dev, &channel->port); in evtchnl_alloc()
266 dev_err(&xb_dev->dev, in evtchnl_alloc()
268 front_info->xb_dev->otherend_id, channel->port, ret); in evtchnl_alloc()
277 dev_err(&xb_dev->dev, "Failed to request IRQ %d: %d\n", in evtchnl_alloc()
289 dev_err(&xb_dev->dev, "Failed to allocate ring: %d\n", ret); in evtchnl_alloc()
297 struct device *dev = &front_info->xb_dev->dev; in xen_snd_front_evtchnl_create_all()
368 struct xenbus_device *xb_dev = channel->front_info->xb_dev; in evtchnl_publish() local
374 dev_err(&xb_dev->dev, "Error writing ring-ref: %d\n", ret); in evtchnl_publish()
381 dev_err(&xb_dev->dev, "Error writing event channel: %d\n", ret); in evtchnl_publish()
397 xenbus_dev_fatal(front_info->xb_dev, ret, in xen_snd_front_evtchnl_publish_all()
453 xenbus_dev_fatal(front_info->xb_dev, ret, in xen_snd_front_evtchnl_publish_all()
461 xenbus_dev_fatal(front_info->xb_dev, ret, "writing XenStore"); in xen_snd_front_evtchnl_publish_all()