Lines Matching refs:p_new

1668 	return ptr_to_user(c, ctrl, ctrl->p_new);  in new_to_user()
1677 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in def_to_user()
1679 return ptr_to_user(c, ctrl, ctrl->p_new); in def_to_user()
1734 return user_to_ptr(c, ctrl, ctrl->p_new); in user_to_new()
1757 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur); in new_to_cur()
1787 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new); in cur_to_new()
1819 ctrl->p_cur, ctrl->p_new); in cluster_changed()
1866 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new() argument
1872 err = ctrl->type_ops->validate(ctrl, idx, p_new); in validate_new()
2212 ctrl->p_new.p = data; in v4l2_ctrl_new()
2215 ctrl->p_new.p = &ctrl->val; in v4l2_ctrl_new()
2220 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in v4l2_ctrl_new()
3190 union v4l2_ctrl_ptr p_new; in validate_ctrls() local
3211 p_new.p_s64 = &cs->controls[i].value64; in validate_ctrls()
3213 p_new.p_s32 = &cs->controls[i].value; in validate_ctrls()
3214 ret = validate_new(ctrl, p_new); in validate_ctrls()
3318 ret = validate_new(ctrl, ctrl->p_new); in try_set_ext_ctrls()
3367 ret = validate_new(ctrl, ctrl->p_new); in set_ctrl()
3434 *ctrl->p_new.p_s64 = val; in __v4l2_ctrl_s_ctrl_int64()
3445 strlcpy(ctrl->p_new.p_char, s, ctrl->maximum + 1); in __v4l2_ctrl_s_ctrl_string()
3503 if (validate_new(ctrl, ctrl->p_new)) { in __v4l2_ctrl_modify_range()
3505 *ctrl->p_new.p_s64 = def; in __v4l2_ctrl_modify_range()
3507 *ctrl->p_new.p_s32 = def; in __v4l2_ctrl_modify_range()
3511 value_changed = *ctrl->p_new.p_s64 != *ctrl->p_cur.p_s64; in __v4l2_ctrl_modify_range()
3513 value_changed = *ctrl->p_new.p_s32 != *ctrl->p_cur.p_s32; in __v4l2_ctrl_modify_range()