Lines Matching refs:p_new
79 return ptr_to_user(c, ctrl, ctrl->p_new); in new_to_user()
95 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in def_to_user()
97 return ptr_to_user(c, ctrl, ctrl->p_new); in def_to_user()
153 return user_to_ptr(c, ctrl, ctrl->p_new); in user_to_new()
472 union v4l2_ctrl_ptr p_new; in validate_ctrls() local
503 p_new.p_s64 = &cs->controls[i].value64; in validate_ctrls()
505 p_new.p_s32 = &cs->controls[i].value; in validate_ctrls()
506 ret = validate_new(ctrl, p_new); in validate_ctrls()
611 ret = validate_new(ctrl, ctrl->p_new); in try_set_ext_ctrls_common()
749 ret = validate_new(ctrl, ctrl->p_new); in set_ctrl()
850 *ctrl->p_new.p_s64 = val; in __v4l2_ctrl_s_ctrl_int64()
862 strscpy(ctrl->p_new.p_char, s, ctrl->maximum + 1); in __v4l2_ctrl_s_ctrl_string()
875 memcpy(ctrl->p_new.p, p, ctrl->elems * ctrl->elem_size); in __v4l2_ctrl_s_ctrl_compound()
920 if (validate_new(ctrl, ctrl->p_new)) { in __v4l2_ctrl_modify_range()
922 *ctrl->p_new.p_s64 = def; in __v4l2_ctrl_modify_range()
924 *ctrl->p_new.p_s32 = def; in __v4l2_ctrl_modify_range()
928 value_changed = *ctrl->p_new.p_s64 != *ctrl->p_cur.p_s64; in __v4l2_ctrl_modify_range()
930 value_changed = *ctrl->p_new.p_s32 != *ctrl->p_cur.p_s32; in __v4l2_ctrl_modify_range()