Lines Matching refs:p_new

1491 	return ptr_to_user(c, ctrl, ctrl->p_new);  in new_to_user()
1546 return user_to_ptr(c, ctrl, ctrl->p_new); in user_to_new()
1569 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur); in new_to_cur()
1599 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new); in cur_to_new()
1631 ctrl->p_cur, ctrl->p_new); in cluster_changed()
1678 static int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new() argument
1684 err = ctrl->type_ops->validate(ctrl, idx, p_new); in validate_new()
2026 ctrl->p_new.p = data; in v4l2_ctrl_new()
2029 ctrl->p_new.p = &ctrl->val; in v4l2_ctrl_new()
2034 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in v4l2_ctrl_new()
3011 union v4l2_ctrl_ptr p_new; in validate_ctrls() local
3032 p_new.p_s64 = &cs->controls[i].value64; in validate_ctrls()
3034 p_new.p_s32 = &cs->controls[i].value; in validate_ctrls()
3035 ret = validate_new(ctrl, p_new); in validate_ctrls()
3134 ret = validate_new(ctrl, ctrl->p_new); in try_set_ext_ctrls()
3195 ret = validate_new(ctrl, ctrl->p_new); in set_ctrl()
3268 *ctrl->p_new.p_s64 = val; in __v4l2_ctrl_s_ctrl_int64()
3279 strlcpy(ctrl->p_new.p_char, s, ctrl->maximum + 1); in __v4l2_ctrl_s_ctrl_string()
3332 if (validate_new(ctrl, ctrl->p_new)) { in __v4l2_ctrl_modify_range()
3334 *ctrl->p_new.p_s64 = def; in __v4l2_ctrl_modify_range()
3336 *ctrl->p_new.p_s32 = def; in __v4l2_ctrl_modify_range()
3340 changed = *ctrl->p_new.p_s64 != *ctrl->p_cur.p_s64; in __v4l2_ctrl_modify_range()
3342 changed = *ctrl->p_new.p_s32 != *ctrl->p_cur.p_s32; in __v4l2_ctrl_modify_range()