/linux-6.6.21/sound/xen/ |
D | xen_snd_front.c | 234 xenbus_switch_state(front_info->xb_dev, XenbusStateInitialising); in sndback_disconnect() 237 static void sndback_changed(struct xenbus_device *xb_dev, in sndback_changed() argument 240 struct xen_snd_front_info *front_info = dev_get_drvdata(&xb_dev->dev); in sndback_changed() 243 dev_dbg(&xb_dev->dev, "Backend state is %s, front is %s\n", in sndback_changed() 245 xenbus_strstate(xb_dev->state)); in sndback_changed() 264 xenbus_dev_fatal(xb_dev, ret, "initializing frontend"); in sndback_changed() 266 xenbus_switch_state(xb_dev, XenbusStateInitialised); in sndback_changed() 270 if (xb_dev->state != XenbusStateInitialised) in sndback_changed() 275 xenbus_dev_fatal(xb_dev, ret, "initializing frontend"); in sndback_changed() 277 xenbus_switch_state(xb_dev, XenbusStateConnected); in sndback_changed() [all …]
|
D | xen_snd_front_evtchnl.c | 64 dev_err(&front_info->xb_dev->dev, in evtchnl_interrupt_req() 167 xenbus_free_evtchn(front_info->xb_dev, channel->port); in evtchnl_free() 195 struct xenbus_device *xb_dev = front_info->xb_dev; in evtchnl_alloc() local 206 ret = xenbus_setup_ring(xb_dev, GFP_KERNEL, &page, 1, &channel->gref); in evtchnl_alloc() 234 ret = xenbus_alloc_evtchn(xb_dev, &channel->port); in evtchnl_alloc() 240 dev_err(&xb_dev->dev, in evtchnl_alloc() 242 front_info->xb_dev->otherend_id, channel->port, ret); in evtchnl_alloc() 251 dev_err(&xb_dev->dev, "Failed to request IRQ %d: %d\n", in evtchnl_alloc() 261 dev_err(&xb_dev->dev, "Failed to allocate ring: %d\n", ret); in evtchnl_alloc() 269 struct device *dev = &front_info->xb_dev->dev; in xen_snd_front_evtchnl_create_all() [all …]
|
D | xen_snd_front_cfg.c | 341 stream_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_stream() 438 devm_kcalloc(&front_info->xb_dev->dev, in cfg_device() 450 devm_kcalloc(&front_info->xb_dev->dev, in cfg_device() 478 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_snd_front_cfg_card() local 487 if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) in xen_snd_front_cfg_card() 494 dev_warn(&xb_dev->dev, in xen_snd_front_cfg_card() 496 xb_dev->nodename); in xen_snd_front_cfg_card() 501 cfg_read_pcm_hw(xb_dev->nodename, NULL, &cfg->pcm_hw); in xen_snd_front_cfg_card() 504 devm_kcalloc(&front_info->xb_dev->dev, num_devices, in xen_snd_front_cfg_card() 512 &cfg->pcm_hw, xb_dev->nodename, i, stream_cnt); in xen_snd_front_cfg_card()
|
D | xen_snd_front_alsa.c | 260 struct device *dev = &stream->front_info->xb_dev->dev; in alsa_hw_rule() 361 struct device *dev = &front_info->xb_dev->dev; in alsa_open() 479 buf_cfg.xb_dev = front_info->xb_dev; in alsa_hw_params() 496 dev_err(&front_info->xb_dev->dev, in alsa_hw_params() 523 dev_err(&stream->front_info->xb_dev->dev, in alsa_prepare() 690 dev_dbg(&card_info->front_info->xb_dev->dev, in new_pcm_instance() 768 struct device *dev = &front_info->xb_dev->dev; in xen_snd_front_alsa_init() 832 dev_dbg(&front_info->xb_dev->dev, "Removing virtual sound card %d\n", in xen_snd_front_alsa_fini()
|
D | xen_snd_front.h | 23 struct xenbus_device *xb_dev; member
|
/linux-6.6.21/drivers/gpu/drm/xen/ |
D | xen_drm_front_cfg.c | 27 connector_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_connector() 51 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_drm_front_cfg_card() local 54 if (xenbus_read_unsigned(front_info->xb_dev->nodename, in xen_drm_front_cfg_card() 63 xb_dev->nodename, i); in xen_drm_front_cfg_card() 71 xb_dev->nodename); in xen_drm_front_cfg_card()
|
D | xen_drm_front.c | 180 buf_cfg.xb_dev = front_info->xb_dev; in xen_drm_front_dbuf_create() 465 xenbus_switch_state(front_info->xb_dev, in xen_drm_drv_release() 489 struct device *dev = &front_info->xb_dev->dev; in xen_drm_drv_init() 579 xenbus_switch_state(front_info->xb_dev, in xen_drm_drv_fini() 614 xenbus_switch_state(front_info->xb_dev, XenbusStateReconfiguring); in displback_disconnect() 619 static void displback_changed(struct xenbus_device *xb_dev, in displback_changed() argument 622 struct xen_drm_front_info *front_info = dev_get_drvdata(&xb_dev->dev); in displback_changed() 627 xenbus_strstate(xb_dev->state)); in displback_changed() 636 if (xb_dev->state == XenbusStateReconfiguring) in displback_changed() 644 if (xb_dev->state == XenbusStateReconfiguring) in displback_changed() [all …]
|
D | xen_drm_front_evtchnl.c | 147 xenbus_free_evtchn(front_info->xb_dev, evtchnl->port); in evtchnl_free() 159 struct xenbus_device *xb_dev = front_info->xb_dev; in evtchnl_alloc() local 170 ret = xenbus_setup_ring(xb_dev, GFP_NOIO | __GFP_HIGH, &page, in evtchnl_alloc() 189 ret = xenbus_alloc_evtchn(xb_dev, &evtchnl->port); in evtchnl_alloc() 194 handler, 0, xb_dev->devicetype, in evtchnl_alloc() 253 struct xenbus_device *xb_dev = evtchnl->front_info->xb_dev; in evtchnl_publish() local 259 xenbus_dev_error(xb_dev, ret, "writing ring-ref"); in evtchnl_publish() 266 xenbus_dev_error(xb_dev, ret, "writing event channel"); in evtchnl_publish() 284 xenbus_dev_fatal(front_info->xb_dev, ret, in xen_drm_front_evtchnl_publish_all() 310 xenbus_dev_fatal(front_info->xb_dev, ret, in xen_drm_front_evtchnl_publish_all() [all …]
|
D | xen_drm_front.h | 84 struct xenbus_device *xb_dev; member
|
/linux-6.6.21/drivers/xen/ |
D | xen-front-pgdir-shbuf.c | 226 dev_err(&buf->xb_dev->dev, in backend_unmap() 232 dev_err(&buf->xb_dev->dev, in backend_unmap() 288 buf->xb_dev->otherend_id); in backend_map() 307 dev_err(&buf->xb_dev->dev, in backend_map() 314 dev_err(&buf->xb_dev->dev, in backend_map() 407 otherend_id = buf->xb_dev->otherend_id; in guest_grant_refs_for_buffer() 438 dev_err(&buf->xb_dev->dev, in grant_references() 443 otherend_id = buf->xb_dev->otherend_id; in grant_references() 524 buf->xb_dev = cfg->xb_dev; in xen_front_pgdir_shbuf_alloc()
|
/linux-6.6.21/include/xen/ |
D | xen-front-pgdir-shbuf.h | 49 struct xenbus_device *xb_dev; member 59 struct xenbus_device *xb_dev; member
|