/linux-6.3-rc2/sound/xen/ |
A D | xen_snd_front.c | 237 static void sndback_changed(struct xenbus_device *xb_dev, in sndback_changed() argument 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() 277 xenbus_switch_state(xb_dev, XenbusStateConnected); in sndback_changed() 290 if (xb_dev->state == XenbusStateClosed) in sndback_changed() 298 static int xen_drv_probe(struct xenbus_device *xb_dev, in xen_drv_probe() argument 303 front_info = devm_kzalloc(&xb_dev->dev, in xen_drv_probe() 308 front_info->xb_dev = xb_dev; in xen_drv_probe() [all …]
|
A 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 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() 269 struct device *dev = &front_info->xb_dev->dev; in xen_snd_front_evtchnl_create_all() 340 struct xenbus_device *xb_dev = channel->front_info->xb_dev; in evtchnl_publish() local 369 xenbus_dev_fatal(front_info->xb_dev, ret, in xen_snd_front_evtchnl_publish_all() [all …]
|
A 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()
|
A 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() 724 dev_dbg(&card_info->front_info->xb_dev->dev, in new_pcm_instance() 802 struct device *dev = &front_info->xb_dev->dev; in xen_snd_front_alsa_init() 866 dev_dbg(&front_info->xb_dev->dev, "Removing virtual sound card %d\n", in xen_snd_front_alsa_fini()
|
A D | xen_snd_front.h | 23 struct xenbus_device *xb_dev; member
|
/linux-6.3-rc2/drivers/gpu/drm/xen/ |
A 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()
|
A D | xen_drm_front.c | 181 buf_cfg.xb_dev = front_info->xb_dev; in xen_drm_front_dbuf_create() 466 xenbus_switch_state(front_info->xb_dev, in xen_drm_drv_release() 493 struct device *dev = &front_info->xb_dev->dev; in xen_drm_drv_init() 583 xenbus_switch_state(front_info->xb_dev, in xen_drm_drv_fini() 631 xenbus_strstate(xb_dev->state)); in displback_changed() 664 if (xb_dev->state != XenbusStateInitialised) in displback_changed() 686 if (xb_dev->state == XenbusStateClosed) in displback_changed() 698 struct device *dev = &xb_dev->dev; in xen_drv_probe() 707 front_info = devm_kzalloc(&xb_dev->dev, in xen_drv_probe() 712 front_info->xb_dev = xb_dev; in xen_drv_probe() [all …]
|
A 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 …]
|
A D | xen_drm_front.h | 84 struct xenbus_device *xb_dev; member
|
/linux-6.3-rc2/drivers/xen/ |
A 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.3-rc2/include/xen/ |
A D | xen-front-pgdir-shbuf.h | 49 struct xenbus_device *xb_dev; member 59 struct xenbus_device *xb_dev; member
|