Home
last modified time | relevance | path

Searched refs:menu_info (Results 1 – 3 of 3) sorted by relevance

/drivers/media/usb/uvc/
Duvc_ctrl.c513 .menu_info = power_line_frequency_controls,
536 .menu_info = exposure_auto_controls,
982 const struct uvc_menu_info *menu = mapping->menu_info; in __uvc_ctrl_get_value()
1073 menu = mapping->menu_info; in __uvc_query_v4l2_ctrl()
1149 const struct uvc_menu_info *menu_info; in uvc_query_v4l2_menu() local
1175 menu_info = &mapping->menu_info[query_menu->index]; in uvc_query_v4l2_menu()
1189 if (!(bitmap & menu_info->value)) { in uvc_query_v4l2_menu()
1195 strscpy(query_menu->name, menu_info->name, sizeof(query_menu->name)); in uvc_query_v4l2_menu()
1639 value = mapping->menu_info[xctrl->value].value; in uvc_ctrl_set()
2071 size = sizeof(*mapping->menu_info) * mapping->menu_count; in __uvc_ctrl_add_mapping()
[all …]
Duvc_v4l2.c67 size = xmap->menu_count * sizeof(*map->menu_info); in uvc_ioctl_ctrl_map()
68 map->menu_info = memdup_user(xmap->menu_info, size); in uvc_ioctl_ctrl_map()
69 if (IS_ERR(map->menu_info)) { in uvc_ioctl_ctrl_map()
70 ret = PTR_ERR(map->menu_info); in uvc_ioctl_ctrl_map()
86 kfree(map->menu_info); in uvc_ioctl_ctrl_map()
1358 compat_caddr_t menu_info; member
1375 info = p->menu_info; in uvc_v4l2_get_xu_mapping()
1378 kp->menu_info = count ? compat_ptr(info) : NULL; in uvc_v4l2_get_xu_mapping()
1386 if (copy_to_user(up, kp, offsetof(typeof(*up), menu_info)) || in uvc_v4l2_put_xu_mapping()
Duvcvideo.h114 const struct uvc_menu_info *menu_info; member