Lines Matching full:controls
3 * uvc_ctrl.c -- USB Video Class driver - Controls
34 * Controls
858 * UVC Controls
873 ctrl = &entity->controls[i]; in __uvc_find_control()
959 /* GET_RES is mandatory for XU controls, but some in uvc_ctrl_populate_cache()
1137 * Mapping V4L2 controls to UVC controls can be straightforward if done well.
1138 * Most of the UVC controls exist in V4L2, and can be mapped directly. Some
1140 * Balance V4L2 controls use the White Balance Component UVC control) or
1142 * table for the controls that can be mapped directly, and handle the others
1232 * @handle can be NULL for asynchronous events related to auto-update controls,
1474 * To make extended set operations as atomic as the hardware allows, controls
1486 * After processing all controls in the transaction, uvc_ctrl_commit or
1488 * hardware or revert them. When applying changes, all controls marked as
1490 * cleared. When reverting controls, the control data field
1492 * (UVC_CTRL_DATA_BACKUP) for all dirty controls. Both functions release the
1511 ctrl = &entity->controls[i]; in uvc_ctrl_commit_entity()
1515 /* Reset the loaded flag for auto-update controls that were in uvc_ctrl_commit_entity()
1518 * controls to prevent uvc_ctrl_set from setting bits not in uvc_ctrl_commit_entity()
1641 * UVC controls that support it. in uvc_ctrl_set()
1704 * Dynamic controls
1777 * Query control information (size and flags) for XU controls.
1887 ctrl = &entity->controls[i]; in uvc_xu_ctrl_query()
1984 * Restore control values after resume, skipping controls that haven't been
1988 * - Don't restore modified controls that are back to their default value.
1999 /* Walk the entities list and restore controls when possible. */ in uvc_ctrl_restore_values()
2003 ctrl = &entity->controls[i]; in uvc_ctrl_restore_values()
2116 ctrl = &entity->controls[i]; in uvc_ctrl_add_mapping()
2132 /* Perform delayed initialization of XU controls */ in uvc_ctrl_add_mapping()
2176 * Prune an entity of its bogus controls using a blacklist. Bogus controls
2201 u8 *controls; in uvc_ctrl_prune_entity() local
2207 controls = entity->processing.bmControls; in uvc_ctrl_prune_entity()
2214 controls = entity->camera.bmControls; in uvc_ctrl_prune_entity()
2227 !uvc_test_bit(controls, blacklist[i].index)) in uvc_ctrl_prune_entity()
2233 uvc_clear_bit(controls, blacklist[i].index); in uvc_ctrl_prune_entity()
2249 /* XU controls initialization requires querying the device for control in uvc_ctrl_init_ctrl()
2251 * repeatedly in a tight loop, delay XU controls initialization until in uvc_ctrl_init_ctrl()
2265 * GET_INFO on standard controls. in uvc_ctrl_init_ctrl()
2283 * Initialize device controls.
2292 /* Walk the entities list and instantiate controls */ in uvc_ctrl_init_device()
2309 /* Remove bogus/blacklisted controls */ in uvc_ctrl_init_device()
2312 /* Count supported controls and allocate the controls array */ in uvc_ctrl_init_device()
2317 entity->controls = kcalloc(ncontrols, sizeof(*ctrl), in uvc_ctrl_init_device()
2319 if (entity->controls == NULL) in uvc_ctrl_init_device()
2323 /* Initialize all supported controls */ in uvc_ctrl_init_device()
2324 ctrl = entity->controls; in uvc_ctrl_init_device()
2341 * Cleanup device controls.
2364 /* Free controls and control mappings for all entities. */ in uvc_ctrl_cleanup_device()
2367 struct uvc_control *ctrl = &entity->controls[i]; in uvc_ctrl_cleanup_device()
2376 kfree(entity->controls); in uvc_ctrl_cleanup_device()