Lines Matching refs:xmap
34 static int uvc_ioctl_ctrl_map(struct uvc_xu_control_mapping *xmap, int old)
44 map->id = xmap->id;
45 memcpy(map->name, xmap->name, sizeof map->name);
46 memcpy(map->entity, xmap->entity, sizeof map->entity);
47 map->selector = xmap->selector;
48 map->size = xmap->size;
49 map->offset = xmap->offset;
50 map->v4l2_type = xmap->v4l2_type;
51 map->data_type = xmap->data_type;
53 switch (xmap->v4l2_type) {
65 size = xmap->menu_count * sizeof(*map->menu_info);
72 if (copy_from_user(map->menu_info, xmap->menu_info, size)) {
77 map->menu_count = xmap->menu_count;