Lines Matching full:helper
21 /* Internal temporary helper struct, one for each v4l2_ext_control */
35 * Helper functions to copy control payload data from kernel space to
39 /* Helper function: copy the given control value back to the caller */
69 /* Helper function: copy the current control value back to the caller */
75 /* Helper function: copy the new control value back to the caller */
82 /* Helper function: copy the request value back to the caller */
89 /* Helper function: copy the initial control value back to the caller */
97 /* Helper function: copy the caller-provider value as the new control value */
313 * control in this helper array belonging to the same in prepare_ext_ctrls()
334 /* First zero the helper field in the master control references */ in prepare_ext_ctrls()
336 helpers[i].mref->helper = NULL; in prepare_ext_ctrls()
341 * If the mref->helper is set, then it points to an earlier in prepare_ext_ctrls()
342 * helper that belongs to the same cluster. in prepare_ext_ctrls()
344 if (mref->helper) { in prepare_ext_ctrls()
346 * Set the next field of mref->helper to the current in prepare_ext_ctrls()
347 * index: this means that the earlier helper now in prepare_ext_ctrls()
348 * points to the next helper in the same cluster. in prepare_ext_ctrls()
350 mref->helper->next = i; in prepare_ext_ctrls()
352 * mref should be set only for the first helper in the in prepare_ext_ctrls()
357 /* Point the mref helper to the current helper struct. */ in prepare_ext_ctrls()
358 mref->helper = h; in prepare_ext_ctrls()
388 struct v4l2_ctrl_helper helper[4]; in v4l2_g_ext_ctrls_common() local
389 struct v4l2_ctrl_helper *helpers = helper; in v4l2_g_ext_ctrls_common()
406 if (cs->count > ARRAY_SIZE(helper)) { in v4l2_g_ext_ctrls_common()
407 helpers = kvmalloc_array(cs->count, sizeof(helper[0]), in v4l2_g_ext_ctrls_common()
480 if (cs->count > ARRAY_SIZE(helper)) in v4l2_g_ext_ctrls_common()
560 struct v4l2_ctrl_helper helper[4]; in try_set_ext_ctrls_common() local
561 struct v4l2_ctrl_helper *helpers = helper; in try_set_ext_ctrls_common()
585 if (cs->count > ARRAY_SIZE(helper)) { in try_set_ext_ctrls_common()
586 helpers = kvmalloc_array(cs->count, sizeof(helper[0]), in try_set_ext_ctrls_common()
685 if (cs->count > ARRAY_SIZE(helper)) in try_set_ext_ctrls_common()
733 /* Helper function to get a single control */
782 /* Helper function for VIDIOC_S_CTRL compatibility */
811 /* Helper function for VIDIOC_S_CTRL compatibility */
848 * Helper functions for drivers to get/set controls.
1304 * poll helper