Lines Matching refs:mappings
917 list_for_each_entry(map, &ctrl->info.mappings, list) {
1547 list_for_each_entry(mapping, &ctrl->info.mappings, list) {
1596 if (list_empty(&ctrl->info.mappings)) {
2343 INIT_LIST_HEAD(&ctrl->info.mappings);
2371 * Most mappings come from static kernel data, and need to be duplicated.
2422 list_add_tail(&map->list, &ctrl->info.mappings);
2493 list_for_each_entry(map, &ctrl->info.mappings, list) {
2507 "Can't add mapping '%s', maximum mappings count (%u) exceeded\n",
2586 * Add control information and hardcoded stock control mappings to the given
2592 const struct uvc_control_mapping **mappings;
2626 * used to override standard mappings for non-conformant devices. Don't
2627 * process standard mappings if a custom mapping is found. This
2628 * mechanism doesn't support combining standard and custom mappings for
2631 if (chain->dev->info->mappings) {
2634 for (i = 0; chain->dev->info->mappings[i]; ++i) {
2636 chain->dev->info->mappings[i];
2649 /* Process common mappings next. */
2658 /* Finally process version-specific mappings. */
2659 mappings = chain->dev->uvc_version < 0x0150
2662 for (i = 0; mappings[i]; ++i) {
2663 const struct uvc_control_mapping *mapping = mappings[i];
2754 list_for_each_entry_safe(mapping, nm, &ctrl->info.mappings, list) {
2772 /* Free controls and control mappings for all entities. */