Searched refs:menu_names (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/media/usb/uvc/
H A Duvc_v4l2.c45 map->menu_names = NULL;
71 size = xmap->menu_count * sizeof(map->menu_names[0]);
72 map->menu_names = kzalloc(size, GFP_KERNEL);
73 if (!map->menu_names) {
80 if (copy_from_user((char *)map->menu_names[i],
82 sizeof(map->menu_names[i]) - 1)) {
92 kfree(map->menu_names);
93 map->menu_names = NULL;
H A Duvc_ctrl.c402 if (mapping->menu_names)
403 return mapping->menu_names[idx];
2382 map->menu_names = NULL;
2402 if (mapping->menu_names && mapping->menu_mask) {
2403 size = sizeof(mapping->menu_names[0])
2405 map->menu_names = kmemdup(mapping->menu_names, size,
2407 if (!map->menu_names)
2432 kfree(map->menu_names);
2758 kfree(mapping->menu_names);
[all...]
H A Duvcvideo.h121 const char (*menu_names)[UVC_MENU_NAME_LEN]; member in struct:uvc_control_mapping

Completed in 232 milliseconds