Lines Matching refs:vkb
32 libxl_device_vkb vkb; in main_vkbattach() local
38 libxl_device_vkb_init(&vkb); in main_vkbattach()
42 rc = parse_vkb_config(&vkb, *argv); in main_vkbattach()
46 if (vkb.backend_type == LIBXL_VKB_BACKEND_UNKNOWN) { in main_vkbattach()
51 if (vkb.multi_touch_height || vkb.multi_touch_width || in main_vkbattach()
52 vkb.multi_touch_num_contacts) { in main_vkbattach()
53 vkb.feature_multi_touch = true; in main_vkbattach()
56 if (vkb.feature_multi_touch && !(vkb.multi_touch_height || in main_vkbattach()
57 vkb.multi_touch_width || vkb.multi_touch_num_contacts)) { in main_vkbattach()
64 char *json = libxl_device_vkb_to_json(ctx, &vkb); in main_vkbattach()
70 if (libxl_device_vkb_add(ctx, domid, &vkb, 0)) { in main_vkbattach()
78 libxl_device_vkb_dispose(&vkb); in main_vkbattach()
123 libxl_device_vkb vkb; in main_vkbdetach() local
132 libxl_device_vkb_init(&vkb); in main_vkbdetach()
134 if (libxl_devid_to_device_vkb(ctx, domid, devid, &vkb)) { in main_vkbdetach()
140 rc = libxl_device_vkb_remove(ctx, domid, &vkb, 0); in main_vkbdetach()
150 libxl_device_vkb_dispose(&vkb); in main_vkbdetach()