Searched refs:menu_mapping (Results 1 – 3 of 3) sorted by relevance
46 map->menu_mapping = NULL; in uvc_control_add_xu_mapping()50 size = xmap->menu_count * sizeof(*map->menu_mapping); in uvc_control_add_xu_mapping()51 map->menu_mapping = kzalloc(size, GFP_KERNEL); in uvc_control_add_xu_mapping()52 if (!map->menu_mapping) { in uvc_control_add_xu_mapping()58 if (copy_from_user((u32 *)&map->menu_mapping[i], in uvc_control_add_xu_mapping()60 sizeof(map->menu_mapping[i]))) { in uvc_control_add_xu_mapping()94 kfree(map->menu_mapping); in uvc_control_add_xu_mapping()95 map->menu_mapping = NULL; in uvc_control_add_xu_mapping()
390 if (mapping->menu_mapping) in uvc_mapping_get_menu_value()391 return mapping->menu_mapping[idx]; in uvc_mapping_get_menu_value()643 .menu_mapping = exposure_auto_mapping,2437 map->menu_mapping = NULL; in __uvc_ctrl_add_mapping()2448 if (mapping->menu_mapping && mapping->menu_mask) { in __uvc_ctrl_add_mapping()2449 size = sizeof(mapping->menu_mapping[0]) in __uvc_ctrl_add_mapping()2451 map->menu_mapping = kmemdup(mapping->menu_mapping, size, in __uvc_ctrl_add_mapping()2453 if (!map->menu_mapping) in __uvc_ctrl_add_mapping()2487 kfree(map->menu_mapping); in __uvc_ctrl_add_mapping()2784 kfree(mapping->menu_mapping); in uvc_ctrl_cleanup_mappings()
123 const u32 *menu_mapping; member