Home
last modified time | relevance | path

Searched refs:p_new (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-api.c79 return ptr_to_user(c, ctrl, ctrl->p_new); in new_to_user()
92 ctrl->type_ops->init(ctrl, 0, ctrl->p_new); in def_to_user()
94 return ptr_to_user(c, ctrl, ctrl->p_new); in def_to_user()
100 ctrl->type_ops->minimum(ctrl, 0, ctrl->p_new); in min_to_user()
102 return ptr_to_user(c, ctrl, ctrl->p_new); in min_to_user()
108 ctrl->type_ops->maximum(ctrl, 0, ctrl->p_new); in max_to_user()
110 return ptr_to_user(c, ctrl, ctrl->p_new); in max_to_user()
127 memcpy(tmp, ctrl->p_new.p, ctrl->elems * ctrl->elem_size); in user_to_new()
129 ctrl->p_new.p = tmp; in user_to_new()
139 if (copy_from_user(ctrl->p_new.p, c->ptr, c->size)) in user_to_new()
[all …]
H A Dv4l2-ctrls-core.c1590 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur, ctrl->elems); in new_to_cur()
1623 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in cur_to_new()
1662 ptr_to_ptr(ctrl, ctrl->p_new, ref->p_req, ref->p_req_elems); in new_to_req()
1700 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in req_to_new()
1706 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new()
1732 memcpy(tmp, ctrl->p_new.p, ctrl->elems * ctrl->elem_size); in req_to_new()
1734 ctrl->p_new.p = tmp; in req_to_new()
1742 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new()
2265 ctrl->p_new.p = data; in v4l2_ctrl_new()
2268 ctrl->p_new.p = &ctrl->val; in v4l2_ctrl_new()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c482 if (!hdr_ctrl || !hdr_ctrl->p_new.p) in mtk_vdec_s_ctrl()
487 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
500 h265 = (struct v4l2_ctrl_hevc_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
513 frame = (struct v4l2_ctrl_vp9_frame *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
529 seq = (struct v4l2_ctrl_av1_sequence *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vdpu381-h264.c382 ret = rkvdec_h264_validate_sps(ctx, ctrl->p_new.p_h264_sps); in rkvdec_h264_start()
457 return rkvdec_h264_validate_sps(ctx, ctrl->p_new.p_h264_sps); in rkvdec_h264_try_ctrl()
H A Drkvdec-vdpu381-hevc.c552 ret = rkvdec_hevc_validate_sps(ctx, ctrl->p_new.p_hevc_sps); in rkvdec_hevc_start()
629 return rkvdec_hevc_validate_sps(ctx, ctrl->p_new.p_hevc_sps); in rkvdec_hevc_try_ctrl()
H A Drkvdec-hevc-common.c407 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in rkvdec_hevc_get_image_fmt()
H A Drkvdec-hevc.c582 return rkvdec_hevc_validate_sps(ctx, ctrl->p_new.p_hevc_sps); in rkvdec_hevc_try_ctrl()
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-v4l2-enc.c1101 solo_enc->md_thresholds->p_new.p_u16); in solo_s_ctrl()
1104 strscpy(solo_enc->osd_text, ctrl->p_new.p_char, in solo_s_ctrl()
/linux/drivers/media/i2c/
H A Dmt9v032.c692 *mt9v032->pixel_rate->p_new.p_s64 = freq; in mt9v032_s_ctrl()