Lines Matching refs:controls

800 		ctrl = &entity->controls[i];
886 /* GET_RES is mandatory for XU controls, but some
993 * Mapping V4L2 controls to UVC controls can be straighforward if done well.
994 * Most of the UVC controls exist in V4L2, and can be mapped directly. Some
996 * Balance V4L2 controls use the White Balance Component UVC control) or
998 * table for the controls that can be mapped directly, and handle the others
1061 * To make extended set operations as atomic as the hardware allows, controls
1073 * After processing all controls in the transaction, uvc_ctrl_commit or
1075 * hardware or revert them. When applying changes, all controls marked as
1077 * cleared. When reverting controls, the control data field
1079 * (UVC_CTRL_DATA_BACKUP) for all dirty controls. Both functions release the
1098 ctrl = &entity->controls[i];
1102 /* Reset the loaded flag for auto-update controls that were
1240 * UVC controls that support it.
1300 * Dynamic controls
1343 * Query control information (size and flags) for XU controls.
1456 ctrl = &entity->controls[i];
1553 * Restore control values after resume, skipping controls that haven't been
1557 * - Don't restore modified controls that are back to their default value.
1568 /* Walk the entities list and restore controls when possible. */
1572 ctrl = &entity->controls[i];
1691 ctrl = &entity->controls[i];
1707 /* Perform delayed initialization of XU controls */
1744 * Prune an entity of its bogus controls using a blacklist. Bogus controls
1769 u8 *controls;
1775 controls = entity->processing.bmControls;
1782 controls = entity->camera.bmControls;
1795 !uvc_test_bit(controls, blacklist[i].index))
1801 uvc_clear_bit(controls, blacklist[i].index);
1817 /* XU controls initialization requires querying the device for control
1819 * repeatedly in a tight loop, delay XU controls initialization until
1844 * Initialize device controls.
1851 /* Walk the entities list and instantiate controls */
1868 /* Remove bogus/blacklisted controls */
1871 /* Count supported controls and allocate the controls array */
1877 entity->controls = kcalloc(ncontrols, sizeof(*ctrl),
1879 if (entity->controls == NULL)
1883 /* Initialize all supported controls */
1884 ctrl = entity->controls;
1901 * Cleanup device controls.
1920 /* Free controls and control mappings for all entities. */
1923 struct uvc_control *ctrl = &entity->controls[i];
1932 kfree(entity->controls);