/linux/drivers/gpu/drm/xen/ |
A D | xen_drm_front.c | 132 front_info = pipeline->drm_info->front_info; in xen_drm_front_mode_set() 458 struct xen_drm_front_info *front_info = drm_info->front_info; in xen_drm_drv_release() local 465 if (front_info->cfg.be_alloc) in xen_drm_drv_release() 518 drm_info->front_info = front_info; in xen_drm_drv_init() 556 front_info->drm_info = NULL; in xen_drm_drv_init() 581 front_info->drm_info = NULL; in xen_drm_drv_fini() 601 cfg->front_info = front_info; in displback_initwait() 623 if (!front_info->drm_info) in displback_disconnect() 629 xen_drm_drv_fini(front_info); in displback_disconnect() 718 if (!front_info) in xen_drv_probe() [all …]
|
A D | xen_drm_front_evtchnl.c | 26 struct xen_drm_front_info *front_info = evtchnl->front_info; in evtchnl_interrupt_ctrl() local 84 struct xen_drm_front_info *front_info = evtchnl->front_info; in evtchnl_interrupt_evt() local 169 evtchnl->front_info = front_info; in evtchnl_alloc() 233 cfg = &front_info->cfg; in xen_drm_front_evtchnl_create_all() 235 front_info->evt_pairs = in xen_drm_front_evtchnl_create_all() 239 if (!front_info->evt_pairs) { in xen_drm_front_evtchnl_create_all() 300 plat_data = &front_info->cfg; in xen_drm_front_evtchnl_publish_all() 362 if (!front_info->evt_pairs) in xen_drm_front_evtchnl_set_state() 377 if (!front_info->evt_pairs) in xen_drm_front_evtchnl_free_all() 381 evtchnl_free(front_info, &front_info->evt_pairs[i].req); in xen_drm_front_evtchnl_free_all() [all …]
|
A D | xen_drm_front_cfg.c | 21 static int cfg_connector(struct xen_drm_front_info *front_info, in cfg_connector() argument 27 connector_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_connector() 48 int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info, in xen_drm_front_cfg_card() argument 51 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_drm_front_cfg_card() 54 if (xenbus_read_unsigned(front_info->xb_dev->nodename, in xen_drm_front_cfg_card() 62 ret = cfg_connector(front_info, &cfg->connectors[i], in xen_drm_front_cfg_card()
|
A D | xen_drm_front.h | 126 struct xen_drm_front_info *front_info; member 146 int xen_drm_front_dbuf_create(struct xen_drm_front_info *front_info, 150 int xen_drm_front_fb_attach(struct xen_drm_front_info *front_info, 154 int xen_drm_front_fb_detach(struct xen_drm_front_info *front_info, 157 int xen_drm_front_page_flip(struct xen_drm_front_info *front_info, 160 void xen_drm_front_on_frame_done(struct xen_drm_front_info *front_info,
|
A D | xen_drm_front_evtchnl.h | 39 struct xen_drm_front_info *front_info; member 70 int xen_drm_front_evtchnl_create_all(struct xen_drm_front_info *front_info); 72 int xen_drm_front_evtchnl_publish_all(struct xen_drm_front_info *front_info); 76 void xen_drm_front_evtchnl_set_state(struct xen_drm_front_info *front_info, 79 void xen_drm_front_evtchnl_free_all(struct xen_drm_front_info *front_info);
|
A D | xen_drm_front_kms.c | 43 xen_drm_front_fb_detach(drm_info->front_info, in fb_destroy() 69 ret = xen_drm_front_fb_attach(drm_info->front_info, in fb_create() 201 ret = xen_drm_front_page_flip(drm_info->front_info, in display_send_page_flip() 350 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_init() 352 &drm_info->front_info->cfg.connectors[i]; in xen_drm_front_kms_init() 372 for (i = 0; i < drm_info->front_info->cfg.num_connectors; i++) { in xen_drm_front_kms_fini()
|
A D | xen_drm_front_cfg.h | 25 struct xen_drm_front_info *front_info; member 34 int xen_drm_front_cfg_card(struct xen_drm_front_info *front_info,
|
A D | xen_drm_front_gem.c | 105 if (drm_info->front_info->cfg.be_alloc) { in gem_create() 228 ret = xen_drm_front_dbuf_create(drm_info->front_info, in xen_drm_front_gem_import_sg_table()
|
/linux/sound/xen/ |
A D | xen_snd_front_evtchnl.c | 24 struct xen_snd_front_info *front_info = channel->front_info; in evtchnl_interrupt_req() local 64 dev_err(&front_info->xb_dev->dev, in evtchnl_interrupt_req() 182 if (!front_info->evt_pairs) in xen_snd_front_evtchnl_free_all() 186 evtchnl_free(front_info, &front_info->evt_pairs[i].req); in xen_snd_front_evtchnl_free_all() 187 evtchnl_free(front_info, &front_info->evt_pairs[i].evt); in xen_snd_front_evtchnl_free_all() 190 kfree(front_info->evt_pairs); in xen_snd_front_evtchnl_free_all() 191 front_info->evt_pairs = NULL; in xen_snd_front_evtchnl_free_all() 208 channel->front_info = front_info; in evtchnl_alloc() 296 front_info->evt_pairs = in xen_snd_front_evtchnl_create_all() 300 if (!front_info->evt_pairs) in xen_snd_front_evtchnl_create_all() [all …]
|
A D | xen_snd_front.c | 205 xen_snd_front_alsa_fini(front_info); in xen_snd_drv_fini() 233 xen_snd_drv_fini(front_info); in sndback_disconnect() 255 sndback_disconnect(front_info); in sndback_changed() 260 sndback_disconnect(front_info); in sndback_changed() 262 ret = sndback_initwait(front_info); in sndback_changed() 273 ret = sndback_connect(front_info); in sndback_changed() 293 sndback_disconnect(front_info); in sndback_changed() 301 struct xen_snd_front_info *front_info; in xen_drv_probe() local 305 if (!front_info) in xen_drv_probe() 308 front_info->xb_dev = xb_dev; in xen_drv_probe() [all …]
|
A D | xen_snd_front_alsa.c | 26 struct xen_snd_front_info *front_info; member 60 struct xen_snd_front_info *front_info; member 359 struct xen_snd_front_info *front_info = in alsa_open() local 360 pcm_instance->card_info->front_info; in alsa_open() 380 stream->front_info = front_info; in alsa_open() 465 struct xen_snd_front_info *front_info = stream->front_info; in alsa_hw_params() local 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() 816 card_info->front_info = front_info; in xen_snd_front_alsa_init() 817 front_info->card_info = card_info; in xen_snd_front_alsa_init() [all …]
|
A D | xen_snd_front_evtchnl.h | 41 struct xen_snd_front_info *front_info; member 81 int xen_snd_front_evtchnl_create_all(struct xen_snd_front_info *front_info, 84 void xen_snd_front_evtchnl_free_all(struct xen_snd_front_info *front_info); 86 int xen_snd_front_evtchnl_publish_all(struct xen_snd_front_info *front_info);
|
A D | xen_snd_front_cfg.c | 331 static int cfg_stream(struct xen_snd_front_info *front_info, in cfg_stream() argument 341 stream_path = devm_kasprintf(&front_info->xb_dev->dev, in cfg_stream() 383 static int cfg_device(struct xen_snd_front_info *front_info, in cfg_device() argument 438 devm_kcalloc(&front_info->xb_dev->dev, in cfg_device() 450 devm_kcalloc(&front_info->xb_dev->dev, in cfg_device() 463 ret = cfg_stream(front_info, pcm_instance, device_path, i, in cfg_device() 475 int xen_snd_front_cfg_card(struct xen_snd_front_info *front_info, in xen_snd_front_cfg_card() argument 478 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_snd_front_cfg_card() 479 struct xen_front_cfg_card *cfg = &front_info->cfg; in xen_snd_front_cfg_card() 504 devm_kcalloc(&front_info->xb_dev->dev, num_devices, in xen_snd_front_cfg_card() [all …]
|
A D | xen_snd_front_alsa.h | 16 int xen_snd_front_alsa_init(struct xen_snd_front_info *front_info); 18 void xen_snd_front_alsa_fini(struct xen_snd_front_info *front_info);
|
A D | xen_snd_front_cfg.h | 43 int xen_snd_front_cfg_card(struct xen_snd_front_info *front_info,
|