Lines Matching defs:xmap
32 struct uvc_xu_control_mapping *xmap)
42 map->id = xmap->id;
43 memcpy(map->name, xmap->name, sizeof(map->name));
44 memcpy(map->entity, xmap->entity, sizeof(map->entity));
45 map->selector = xmap->selector;
46 map->size = xmap->size;
47 map->offset = xmap->offset;
48 map->v4l2_type = xmap->v4l2_type;
49 map->data_type = xmap->data_type;
51 switch (xmap->v4l2_type) {
61 if (xmap->menu_count == 0 ||
62 xmap->menu_count > UVC_MAX_CONTROL_MENU_ENTRIES) {
67 size = xmap->menu_count * sizeof(*map->menu_info);
68 map->menu_info = memdup_user(xmap->menu_info, size);
74 map->menu_count = xmap->menu_count;
79 "%u.\n", xmap->v4l2_type);
1438 struct uvc_xu_control_mapping xmap;
1446 ret = uvc_v4l2_get_xu_mapping(&karg.xmap, up);
1449 ret = uvc_ioctl_ctrl_map(handle->chain, &karg.xmap);
1452 ret = uvc_v4l2_put_xu_mapping(&karg.xmap, up);