• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/uvc/

Lines Matching refs:controls

767 		ctrl = &entity->controls[i];
942 * To make extended set operations as atomic as the hardware allows, controls
954 * After processing all controls in the transaction, uvc_ctrl_commit or
956 * hardware or revert them. When applying changes, all controls marked as
958 * cleared. When reverting controls, the control data field
960 * (UVC_CTRL_DATA_BACKUP) for all dirty controls. Both functions release the
979 ctrl = &entity->controls[i];
983 /* Reset the loaded flag for auto-update controls that were
1163 * Dynamic controls
1190 ctrl = &entity->controls[i];
1253 * Restore control values after resume, skipping controls that haven't been
1257 * - Don't restore modified controls that are back to their default value.
1268 /* Walk the entities list and restore controls when possible. */
1272 ctrl = &entity->controls[i];
1311 ctrl = &entity->controls[i];
1398 /* Find matching controls by walking the devices, entities and
1399 * controls list.
1406 list_for_each_entry(ctrl, &uvc_driver.controls, list) {
1430 list_add_tail(&info->list, &uvc_driver.controls);
1455 list_for_each_entry(info, &uvc_driver.controls, list) {
1495 * Prune an entity of its bogus controls using a blacklist. Bogus controls
1511 u8 *controls;
1518 controls = entity->processing.bmControls;
1526 !uvc_test_bit(controls, blacklist[i].index))
1532 uvc_clear_bit(controls, blacklist[i].index);
1537 * Initialize device controls.
1546 /* Walk the entities list and instantiate controls */
1570 entity->controls = kzalloc(ncontrols*sizeof *ctrl, GFP_KERNEL);
1571 if (entity->controls == NULL)
1576 ctrl = entity->controls;
1587 /* Walk the controls info list and associate them with the device
1588 * controls, then add the device to the global device list. This has
1589 * to be done while holding the controls lock, to make sure
1593 list_for_each_entry(info, &uvc_driver.controls, list)
1603 * Cleanup device controls.
1618 kfree(entity->controls[i].uvc_data);
1620 kfree(entity->controls);
1631 list_for_each_entry_safe(info, ni, &uvc_driver.controls, list) {