/linux/drivers/media/v4l2-core/ |
A D | v4l2-ctrls-api.c | 79 return ptr_to_user(c, ctrl, ctrl->p_new); in new_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 505 p_new.p_s32 = &cs->controls[i].value; in validate_ctrls() 506 ret = validate_new(ctrl, p_new); in validate_ctrls() 749 ret = validate_new(ctrl, ctrl->p_new); in set_ctrl() 850 *ctrl->p_new.p_s64 = val; in __v4l2_ctrl_s_ctrl_int64() 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() [all …]
|
A D | v4l2-ctrls-core.c | 820 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur); in new_to_cur() 850 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new); in cur_to_new() 858 ptr_to_ptr(ref->ctrl, ref->ctrl->p_new, ref->p_req); in new_to_req() 877 ptr_to_ptr(ref->ctrl, ref->p_req, ref->ctrl->p_new); in req_to_new() 879 ptr_to_ptr(ref->ctrl, ref->ctrl->p_cur, ref->ctrl->p_new); in req_to_new() 922 int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new) in validate_new() argument 928 err = ctrl->type_ops->validate(ctrl, idx, p_new); in validate_new() 1340 ctrl->p_new.p = data; in v4l2_ctrl_new() 1343 ctrl->p_new.p = &ctrl->val; in v4l2_ctrl_new() 1354 ctrl->type_ops->init(ctrl, idx, ctrl->p_new); in v4l2_ctrl_new() [all …]
|
A D | v4l2-ctrls-priv.h | 63 int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new);
|
A D | v4l2-ctrls-request.c | 476 s32 new_auto_val = *master->p_new.p_s32; in v4l2_ctrl_request_setup()
|
/linux/drivers/media/pci/ivtv/ |
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()
|
/linux/drivers/media/platform/vsp1/ |
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()
|
A D | vsp1_lut.c | 51 ctrl->p_new.p_u32[i]); in lut_set_table()
|
A D | vsp1_clu.c | 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table()
|
/linux/drivers/media/platform/qcom/venus/ |
A D | vdec_ctrls.c | 40 ctr->conceal_color = *ctrl->p_new.p_s64; in vdec_op_s_ctrl()
|
A D | venc_ctrls.c | 314 ctr->cll = *ctrl->p_new.p_hdr10_cll; in venc_op_s_ctrl() 317 ctr->mastering = *ctrl->p_new.p_hdr10_mastering; in venc_op_s_ctrl()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
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()
|
/linux/drivers/media/radio/si4713/ |
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()
|
/linux/drivers/staging/media/hantro/ |
A D | hantro_drv.c | 246 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in hantro_try_ctrl() 258 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in hantro_try_ctrl()
|
/linux/include/media/ |
A D | v4l2-ctrls.h | 289 union v4l2_ctrl_ptr p_new; member
|
/linux/drivers/media/pci/solo6x10/ |
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()
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-ctrls.c | 1398 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_psname, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl() 1402 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_radiotext, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl()
|
/linux/Documentation/driver-api/media/ |
A D | v4l2-controls.rst | 335 union v4l2_ctrl_ptr p_new; 342 &ctrl->val == ctrl->p_new.p_s32
|
/linux/drivers/staging/media/rkvdec/ |
A D | rkvdec.c | 33 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in rkvdec_try_ctrl()
|
/linux/drivers/media/i2c/ |
A D | mt9v032.c | 687 *mt9v032->pixel_rate->p_new.p_s64 = freq; in mt9v032_s_ctrl()
|
/linux/drivers/media/test-drivers/vicodec/ |
A D | vicodec-core.c | 1747 params = ctrl->p_new.p_fwht_params; in vicodec_try_ctrl() 1798 params = ctrl->p_new.p_fwht_params; in vicodec_s_ctrl()
|
/linux/drivers/media/usb/go7007/ |
A D | go7007-v4l2.c | 824 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); in go7007_s_ctrl()
|
/linux/drivers/media/pci/tw5864/ |
A D | tw5864-video.c | 523 input->md_threshold_grid_ctrl->p_new.p_u16, in tw5864_s_ctrl()
|