/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-api.c | 79 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() 111 memcpy(tmp, ctrl->p_new.p, ctrl->elems * ctrl->elem_size); in user_to_new() 113 ctrl->p_new.p = tmp; in user_to_new() 123 if (copy_from_user(ctrl->p_new.p, c->ptr, c->size)) in user_to_new() 129 ctrl->type_ops->init(ctrl, elems, ctrl->p_new); in user_to_new() 135 *ctrl->p_new.p_s64 = c->value64; in user_to_new() 143 ret = copy_from_user(ctrl->p_new.p_char, c->string, size) ? -EFAULT : 0; in user_to_new() 145 char last = ctrl->p_new in user_to_new() 496 validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) validate_new() argument 513 union v4l2_ctrl_ptr p_new; validate_ctrls() local [all...] |
H A D | v4l2-ctrls-core.c | 1328 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur, ctrl->elems); in new_to_cur() 1361 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in cur_to_new() 1400 ptr_to_ptr(ctrl, ctrl->p_new, ref->p_req, ref->p_req_elems); in new_to_req() 1438 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in req_to_new() 1444 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new() 1470 memcpy(tmp, ctrl->p_new.p, ctrl->elems * ctrl->elem_size); in req_to_new() 1472 ctrl->p_new.p = tmp; in req_to_new() 1480 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new() 1976 ctrl->p_new.p = data; in v4l2_ctrl_new() 1979 ctrl->p_new in v4l2_ctrl_new() [all...] |
H A D | v4l2-ctrls-request.c | 480 s32 new_auto_val = *master->p_new.p_s32; in v4l2_ctrl_request_setup()
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls.c | 2069 return ptr_to_user(c, ctrl, ctrl->p_new); in new_to_user() 2085 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in def_to_user() 2087 return ptr_to_user(c, ctrl, ctrl->p_new); in def_to_user() 2142 return user_to_ptr(c, ctrl, ctrl->p_new); in user_to_new() 2165 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur); in new_to_cur() 2195 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new); in cur_to_new() 2203 ptr_to_ptr(ref->ctrl, ref->ctrl->p_new, ref->p_req); in new_to_req() 2222 ptr_to_ptr(ref->ctrl, ref->p_req, ref->ctrl->p_new); in req_to_new() 2224 ptr_to_ptr(ref->ctrl, ref->ctrl->p_cur, ref->ctrl->p_new); in req_to_new() 2256 ctrl->p_cur, ctrl->p_new); in cluster_changed() 2303 validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) validate_new() argument 3983 union v4l2_ctrl_ptr p_new; validate_ctrls() local [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 128 return ivtv_g_pts_frame(itv, itv->ctrl_pts->p_new.p_s64, in ivtv_g_volatile_ctrl() 129 itv->ctrl_frame->p_new.p_s64); in ivtv_g_volatile_ctrl()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_hgt.c | 73 const u8 *values = ctrl->p_new.p_u8; in hgt_hue_areas_try_ctrl() 103 memcpy(hgt->hue_areas, ctrl->p_new.p_u8, sizeof(hgt->hue_areas)); in hgt_hue_areas_s_ctrl()
|
H A D | vsp1_lut.c | 51 ctrl->p_new.p_u32[i]); in lut_set_table()
|
H A D | vsp1_clu.c | 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table()
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-controls.c | 128 return ivtv_g_pts_frame(itv, itv->ctrl_pts->p_new.p_s64, in ivtv_g_volatile_ctrl() 129 itv->ctrl_frame->p_new.p_s64); in ivtv_g_volatile_ctrl()
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_hgt.c | 73 const u8 *values = ctrl->p_new.p_u8; in hgt_hue_areas_try_ctrl() 103 memcpy(hgt->hue_areas, ctrl->p_new.p_u8, sizeof(hgt->hue_areas)); in hgt_hue_areas_s_ctrl()
|
H A D | vsp1_lut.c | 51 ctrl->p_new.p_u32[i]); in lut_set_table()
|
H A D | vsp1_clu.c | 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 439 if (!hdr_ctrl || !hdr_ctrl->p_new.p) in mtk_vdec_s_ctrl() 444 h264 = (struct v4l2_ctrl_h264_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 457 h265 = (struct v4l2_ctrl_hevc_sps *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 470 frame = (struct v4l2_ctrl_vp9_frame *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl() 480 seq = (struct v4l2_ctrl_av1_sequence *)hdr_ctrl->p_new.p; in mtk_vdec_s_ctrl()
|
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_drv.c | 256 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in hantro_try_ctrl() 268 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in hantro_try_ctrl() 274 const struct v4l2_ctrl_vp9_frame *dec_params = ctrl->p_new.p_vp9_frame; in hantro_try_ctrl() 280 const struct v4l2_ctrl_av1_sequence *sequence = ctrl->p_new.p_av1_sequence; in hantro_try_ctrl() 318 int bit_depth = ctrl->p_new.p_vp9_frame->bit_depth; in hantro_vp9_s_ctrl() 341 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in hantro_hevc_s_ctrl() 366 int bit_depth = ctrl->p_new.p_av1_sequence->bit_depth; in hantro_av1_s_ctrl() 369 if (ctrl->p_new.p_av1_sequence->flags in hantro_av1_s_ctrl()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | vdec_ctrls.c | 40 ctr->conceal_color = *ctrl->p_new.p_s64; in vdec_op_s_ctrl()
|
H A D | venc_ctrls.c | 315 ctr->cll = *ctrl->p_new.p_hdr10_cll; in venc_op_s_ctrl() 318 ctr->mastering = *ctrl->p_new.p_hdr10_mastering; in venc_op_s_ctrl()
|
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus.c | 34 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in cedrus_try_ctrl() 46 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in cedrus_try_ctrl()
|
/kernel/linux/linux-5.10/drivers/media/radio/si4713/ |
H A D | si4713.c | 1147 ret = si4713_set_rds_ps_name(sdev, ctrl->p_new.p_char); in si4713_s_ctrl() 1151 ret = si4713_set_rds_radio_text(sdev, ctrl->p_new.p_char); in si4713_s_ctrl() 1174 val = sdev->rds_alt_freqs->p_new.p_u32[0]; in si4713_s_ctrl()
|
/kernel/linux/linux-6.6/drivers/media/radio/si4713/ |
H A D | si4713.c | 1147 ret = si4713_set_rds_ps_name(sdev, ctrl->p_new.p_char); in si4713_s_ctrl() 1151 ret = si4713_set_rds_radio_text(sdev, ctrl->p_new.p_char); in si4713_s_ctrl() 1174 val = sdev->rds_alt_freqs->p_new.p_u32[0]; in si4713_s_ctrl()
|
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-ctrls.h | 235 * @p_new: The control's new value represented via a union which provides 287 union v4l2_ctrl_ptr p_new; member
|
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-ctrls.h | 210 * @new_elems: The number of elements in p_new. This is the same as @elems, 251 * @p_new: The control's new value represented via a union which provides 307 union v4l2_ctrl_ptr p_new; member
|
/kernel/linux/linux-6.6/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 1080 ret = rkvdec_h264_validate_sps(ctx, ctrl->p_new.p_h264_sps); in rkvdec_h264_start() 1181 return rkvdec_h264_validate_sps(ctx, ctrl->p_new.p_h264_sps); in rkvdec_h264_try_ctrl()
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_drv.c | 246 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in hantro_try_ctrl()
|
/kernel/linux/linux-5.10/drivers/media/pci/solo6x10/ |
H A D | solo6x10-v4l2-enc.c | 1106 solo_enc->md_thresholds->p_new.p_u16); in solo_s_ctrl() 1109 strscpy(solo_enc->osd_text, ctrl->p_new.p_char, in solo_s_ctrl()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-ctrls.c | 1375 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_psname, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl() 1379 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_radiotext, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl()
|