Lines Matching refs:physical_dev
70 struct vn_physical_device *physical_dev = in vn_wsi_proc_addr() local
73 &physical_dev->instance->base.base, pName); in vn_wsi_proc_addr()
77 vn_wsi_init(struct vn_physical_device *physical_dev) in vn_wsi_init() argument
80 &physical_dev->instance->base.base.alloc; in vn_wsi_init()
82 &physical_dev->wsi_device, vn_physical_device_to_handle(physical_dev), in vn_wsi_init()
83 vn_wsi_proc_addr, alloc, -1, &physical_dev->instance->dri_options, in vn_wsi_init()
88 if (physical_dev->base.base.supported_extensions in vn_wsi_init()
90 physical_dev->wsi_device.supports_modifiers = true; in vn_wsi_init()
92 physical_dev->base.base.wsi_device = &physical_dev->wsi_device; in vn_wsi_init()
98 vn_wsi_fini(struct vn_physical_device *physical_dev) in vn_wsi_fini() argument
101 &physical_dev->instance->base.base.alloc; in vn_wsi_fini()
102 physical_dev->base.base.wsi_device = NULL; in vn_wsi_fini()
103 wsi_device_finish(&physical_dev->wsi_device, alloc); in vn_wsi_fini()