xb_dev 180 drivers/gpu/drm/xen/xen_drm_front.c buf_cfg.xb_dev = front_info->xb_dev; xb_dev 467 drivers/gpu/drm/xen/xen_drm_front.c xenbus_switch_state(front_info->xb_dev, xb_dev 516 drivers/gpu/drm/xen/xen_drm_front.c struct device *dev = &front_info->xb_dev->dev; xb_dev 600 drivers/gpu/drm/xen/xen_drm_front.c xenbus_switch_state(front_info->xb_dev, xb_dev 635 drivers/gpu/drm/xen/xen_drm_front.c xenbus_switch_state(front_info->xb_dev, XenbusStateReconfiguring); xb_dev 640 drivers/gpu/drm/xen/xen_drm_front.c static void displback_changed(struct xenbus_device *xb_dev, xb_dev 643 drivers/gpu/drm/xen/xen_drm_front.c struct xen_drm_front_info *front_info = dev_get_drvdata(&xb_dev->dev); xb_dev 648 drivers/gpu/drm/xen/xen_drm_front.c xenbus_strstate(xb_dev->state)); xb_dev 659 drivers/gpu/drm/xen/xen_drm_front.c if (xb_dev->state == XenbusStateReconfiguring) xb_dev 667 drivers/gpu/drm/xen/xen_drm_front.c if (xb_dev->state == XenbusStateReconfiguring) xb_dev 672 drivers/gpu/drm/xen/xen_drm_front.c if (xb_dev->state != XenbusStateInitialising) xb_dev 677 drivers/gpu/drm/xen/xen_drm_front.c xenbus_dev_fatal(xb_dev, ret, "initializing frontend"); xb_dev 679 drivers/gpu/drm/xen/xen_drm_front.c xenbus_switch_state(xb_dev, XenbusStateInitialised); xb_dev 683 drivers/gpu/drm/xen/xen_drm_front.c if (xb_dev->state != XenbusStateInitialised) xb_dev 689 drivers/gpu/drm/xen/xen_drm_front.c xenbus_dev_fatal(xb_dev, ret, "connecting backend"); xb_dev 691 drivers/gpu/drm/xen/xen_drm_front.c xenbus_switch_state(xb_dev, XenbusStateConnected); xb_dev 706 drivers/gpu/drm/xen/xen_drm_front.c if (xb_dev->state == XenbusStateClosed) xb_dev 714 drivers/gpu/drm/xen/xen_drm_front.c static int xen_drv_probe(struct xenbus_device *xb_dev, xb_dev 718 drivers/gpu/drm/xen/xen_drm_front.c struct device *dev = &xb_dev->dev; xb_dev 727 drivers/gpu/drm/xen/xen_drm_front.c front_info = devm_kzalloc(&xb_dev->dev, xb_dev 732 drivers/gpu/drm/xen/xen_drm_front.c front_info->xb_dev = xb_dev; xb_dev 735 drivers/gpu/drm/xen/xen_drm_front.c dev_set_drvdata(&xb_dev->dev, front_info); xb_dev 737 drivers/gpu/drm/xen/xen_drm_front.c return xenbus_switch_state(xb_dev, XenbusStateInitialising); xb_dev 758 drivers/gpu/drm/xen/xen_drm_front.c while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", xb_dev 766 drivers/gpu/drm/xen/xen_drm_front.c state = xenbus_read_unsigned(front_info->xb_dev->otherend, xb_dev 93 drivers/gpu/drm/xen/xen_drm_front.h struct xenbus_device *xb_dev; xb_dev 27 drivers/gpu/drm/xen/xen_drm_front_cfg.c connector_path = devm_kasprintf(&front_info->xb_dev->dev, xb_dev 51 drivers/gpu/drm/xen/xen_drm_front_cfg.c struct xenbus_device *xb_dev = front_info->xb_dev; xb_dev 54 drivers/gpu/drm/xen/xen_drm_front_cfg.c if (xenbus_read_unsigned(front_info->xb_dev->nodename, xb_dev 63 drivers/gpu/drm/xen/xen_drm_front_cfg.c xb_dev->nodename, i); xb_dev 71 drivers/gpu/drm/xen/xen_drm_front_cfg.c xb_dev->nodename); xb_dev 147 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_free_evtchn(front_info->xb_dev, evtchnl->port); xb_dev 160 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c struct xenbus_device *xb_dev = front_info->xb_dev; xb_dev 188 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c ret = xenbus_grant_ring(xb_dev, sring, 1, &gref); xb_dev 197 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c ret = gnttab_grant_foreign_access(xb_dev->otherend_id, xb_dev 210 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c ret = xenbus_alloc_evtchn(xb_dev, &evtchnl->port); xb_dev 215 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c handler, 0, xb_dev->devicetype, xb_dev 274 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c struct xenbus_device *xb_dev = evtchnl->front_info->xb_dev; xb_dev 280 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_dev_error(xb_dev, ret, "writing ring-ref"); xb_dev 287 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_dev_error(xb_dev, ret, "writing event channel"); xb_dev 305 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, xb_dev 331 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, xb_dev 342 drivers/gpu/drm/xen/xen_drm_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, "writing Xen store"); xb_dev 235 drivers/xen/xen-front-pgdir-shbuf.c dev_err(&buf->xb_dev->dev, xb_dev 241 drivers/xen/xen-front-pgdir-shbuf.c dev_err(&buf->xb_dev->dev, xb_dev 297 drivers/xen/xen-front-pgdir-shbuf.c buf->xb_dev->otherend_id); xb_dev 310 drivers/xen/xen-front-pgdir-shbuf.c dev_err(&buf->xb_dev->dev, xb_dev 316 drivers/xen/xen-front-pgdir-shbuf.c dev_err(&buf->xb_dev->dev, xb_dev 409 drivers/xen/xen-front-pgdir-shbuf.c otherend_id = buf->xb_dev->otherend_id; xb_dev 440 drivers/xen/xen-front-pgdir-shbuf.c dev_err(&buf->xb_dev->dev, xb_dev 445 drivers/xen/xen-front-pgdir-shbuf.c otherend_id = buf->xb_dev->otherend_id; xb_dev 526 drivers/xen/xen-front-pgdir-shbuf.c buf->xb_dev = cfg->xb_dev; xb_dev 49 include/xen/xen-front-pgdir-shbuf.h struct xenbus_device *xb_dev; xb_dev 59 include/xen/xen-front-pgdir-shbuf.h struct xenbus_device *xb_dev; xb_dev 234 sound/xen/xen_snd_front.c xenbus_switch_state(front_info->xb_dev, XenbusStateInitialising); xb_dev 237 sound/xen/xen_snd_front.c static void sndback_changed(struct xenbus_device *xb_dev, xb_dev 240 sound/xen/xen_snd_front.c struct xen_snd_front_info *front_info = dev_get_drvdata(&xb_dev->dev); xb_dev 243 sound/xen/xen_snd_front.c dev_dbg(&xb_dev->dev, "Backend state is %s, front is %s\n", xb_dev 245 sound/xen/xen_snd_front.c xenbus_strstate(xb_dev->state)); xb_dev 267 sound/xen/xen_snd_front.c xenbus_dev_fatal(xb_dev, ret, "initializing frontend"); xb_dev 269 sound/xen/xen_snd_front.c xenbus_switch_state(xb_dev, XenbusStateInitialised); xb_dev 273 sound/xen/xen_snd_front.c if (xb_dev->state != XenbusStateInitialised) xb_dev 278 sound/xen/xen_snd_front.c xenbus_dev_fatal(xb_dev, ret, "initializing frontend"); xb_dev 280 sound/xen/xen_snd_front.c xenbus_switch_state(xb_dev, XenbusStateConnected); xb_dev 294 sound/xen/xen_snd_front.c if (xb_dev->state == XenbusStateClosed) xb_dev 302 sound/xen/xen_snd_front.c static int xen_drv_probe(struct xenbus_device *xb_dev, xb_dev 307 sound/xen/xen_snd_front.c front_info = devm_kzalloc(&xb_dev->dev, xb_dev 312 sound/xen/xen_snd_front.c front_info->xb_dev = xb_dev; xb_dev 313 sound/xen/xen_snd_front.c dev_set_drvdata(&xb_dev->dev, front_info); xb_dev 315 sound/xen/xen_snd_front.c return xenbus_switch_state(xb_dev, XenbusStateInitialising); xb_dev 336 sound/xen/xen_snd_front.c while ((xenbus_read_unsigned(front_info->xb_dev->otherend, "state", xb_dev 344 sound/xen/xen_snd_front.c state = xenbus_read_unsigned(front_info->xb_dev->otherend, xb_dev 23 sound/xen/xen_snd_front.h struct xenbus_device *xb_dev; xb_dev 260 sound/xen/xen_snd_front_alsa.c struct device *dev = &stream->front_info->xb_dev->dev; xb_dev 361 sound/xen/xen_snd_front_alsa.c struct device *dev = &front_info->xb_dev->dev; xb_dev 479 sound/xen/xen_snd_front_alsa.c buf_cfg.xb_dev = front_info->xb_dev; xb_dev 496 sound/xen/xen_snd_front_alsa.c dev_err(&front_info->xb_dev->dev, xb_dev 523 sound/xen/xen_snd_front_alsa.c dev_err(&stream->front_info->xb_dev->dev, xb_dev 726 sound/xen/xen_snd_front_alsa.c dev_dbg(&card_info->front_info->xb_dev->dev, xb_dev 804 sound/xen/xen_snd_front_alsa.c struct device *dev = &front_info->xb_dev->dev; xb_dev 868 sound/xen/xen_snd_front_alsa.c dev_dbg(&front_info->xb_dev->dev, "Removing virtual sound card %d\n", xb_dev 341 sound/xen/xen_snd_front_cfg.c stream_path = devm_kasprintf(&front_info->xb_dev->dev, xb_dev 438 sound/xen/xen_snd_front_cfg.c devm_kcalloc(&front_info->xb_dev->dev, xb_dev 450 sound/xen/xen_snd_front_cfg.c devm_kcalloc(&front_info->xb_dev->dev, xb_dev 478 sound/xen/xen_snd_front_cfg.c struct xenbus_device *xb_dev = front_info->xb_dev; xb_dev 487 sound/xen/xen_snd_front_cfg.c if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) xb_dev 494 sound/xen/xen_snd_front_cfg.c dev_warn(&xb_dev->dev, xb_dev 496 sound/xen/xen_snd_front_cfg.c xb_dev->nodename); xb_dev 501 sound/xen/xen_snd_front_cfg.c cfg_read_pcm_hw(xb_dev->nodename, NULL, &cfg->pcm_hw); xb_dev 504 sound/xen/xen_snd_front_cfg.c devm_kcalloc(&front_info->xb_dev->dev, num_devices, xb_dev 512 sound/xen/xen_snd_front_cfg.c &cfg->pcm_hw, xb_dev->nodename, i, stream_cnt); xb_dev 68 sound/xen/xen_snd_front_evtchnl.c dev_err(&front_info->xb_dev->dev, xb_dev 171 sound/xen/xen_snd_front_evtchnl.c xenbus_free_evtchn(front_info->xb_dev, channel->port); xb_dev 202 sound/xen/xen_snd_front_evtchnl.c struct xenbus_device *xb_dev = front_info->xb_dev; xb_dev 240 sound/xen/xen_snd_front_evtchnl.c ret = xenbus_grant_ring(xb_dev, sring, 1, &gref); xb_dev 248 sound/xen/xen_snd_front_evtchnl.c ret = gnttab_grant_foreign_access(xb_dev->otherend_id, xb_dev 260 sound/xen/xen_snd_front_evtchnl.c ret = xenbus_alloc_evtchn(xb_dev, &channel->port); xb_dev 266 sound/xen/xen_snd_front_evtchnl.c dev_err(&xb_dev->dev, xb_dev 268 sound/xen/xen_snd_front_evtchnl.c front_info->xb_dev->otherend_id, channel->port, ret); xb_dev 277 sound/xen/xen_snd_front_evtchnl.c dev_err(&xb_dev->dev, "Failed to request IRQ %d: %d\n", xb_dev 289 sound/xen/xen_snd_front_evtchnl.c dev_err(&xb_dev->dev, "Failed to allocate ring: %d\n", ret); xb_dev 297 sound/xen/xen_snd_front_evtchnl.c struct device *dev = &front_info->xb_dev->dev; xb_dev 368 sound/xen/xen_snd_front_evtchnl.c struct xenbus_device *xb_dev = channel->front_info->xb_dev; xb_dev 374 sound/xen/xen_snd_front_evtchnl.c dev_err(&xb_dev->dev, "Error writing ring-ref: %d\n", ret); xb_dev 381 sound/xen/xen_snd_front_evtchnl.c dev_err(&xb_dev->dev, "Error writing event channel: %d\n", ret); xb_dev 397 sound/xen/xen_snd_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, xb_dev 453 sound/xen/xen_snd_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, xb_dev 461 sound/xen/xen_snd_front_evtchnl.c xenbus_dev_fatal(front_info->xb_dev, ret, "writing XenStore");