Searched refs:xmap (Results 1 – 1 of 1) sorted by relevance
31 const struct uvc_xu_control_mapping *xmap) in uvc_control_add_xu_mapping() argument41 if (xmap->menu_count == 0 || in uvc_control_add_xu_mapping()42 xmap->menu_count > UVC_MAX_CONTROL_MENU_ENTRIES) in uvc_control_add_xu_mapping()48 map->menu_mask = GENMASK(xmap->menu_count - 1, 0); in uvc_control_add_xu_mapping()50 size = xmap->menu_count * sizeof(*map->menu_mapping); in uvc_control_add_xu_mapping()57 for (i = 0; i < xmap->menu_count ; i++) { in uvc_control_add_xu_mapping()59 &xmap->menu_info[i].value, in uvc_control_add_xu_mapping()71 size = xmap->menu_count * sizeof(map->menu_names[0]); in uvc_control_add_xu_mapping()78 for (i = 0; i < xmap->menu_count ; i++) { in uvc_control_add_xu_mapping()81 xmap->menu_info[i].name, in uvc_control_add_xu_mapping()[all …]