Home
last modified time | relevance | path

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

/linux/drivers/media/v4l2-core/
A Dv4l2-ctrls-api.c79 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 Dv4l2-ctrls-core.c820 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 Dv4l2-ctrls-priv.h63 int validate_new(const struct v4l2_ctrl *ctrl, union v4l2_ctrl_ptr p_new);
A Dv4l2-ctrls-request.c476 s32 new_auto_val = *master->p_new.p_s32; in v4l2_ctrl_request_setup()
/linux/drivers/media/pci/ivtv/
A Divtv-controls.c128 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 Dvsp1_hgt.c73 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 Dvsp1_lut.c51 ctrl->p_new.p_u32[i]); in lut_set_table()
A Dvsp1_clu.c54 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 Dvdec_ctrls.c40 ctr->conceal_color = *ctrl->p_new.p_s64; in vdec_op_s_ctrl()
A Dvenc_ctrls.c314 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 Dcedrus.c34 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 Dsi4713.c1147 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 Dhantro_drv.c246 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 Dv4l2-ctrls.h289 union v4l2_ctrl_ptr p_new; member
/linux/drivers/media/pci/solo6x10/
A Dsolo6x10-v4l2-enc.c1106 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 Dvivid-ctrls.c1398 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 Dv4l2-controls.rst335 union v4l2_ctrl_ptr p_new;
342 &ctrl->val == ctrl->p_new.p_s32
/linux/drivers/staging/media/rkvdec/
A Drkvdec.c33 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in rkvdec_try_ctrl()
/linux/drivers/media/i2c/
A Dmt9v032.c687 *mt9v032->pixel_rate->p_new.p_s64 = freq; in mt9v032_s_ctrl()
/linux/drivers/media/test-drivers/vicodec/
A Dvicodec-core.c1747 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 Dgo7007-v4l2.c824 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); in go7007_s_ctrl()
/linux/drivers/media/pci/tw5864/
A Dtw5864-video.c523 input->md_threshold_grid_ctrl->p_new.p_u16, in tw5864_s_ctrl()

Completed in 42 milliseconds