/drivers/media/v4l2-core/ |
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.p_char[size - 1]; in user_to_new() [all …]
|
D | v4l2-ctrls-core.c | 1077 ptr_to_ptr(ctrl, ctrl->p_new, ctrl->p_cur, ctrl->elems); in new_to_cur() 1110 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in cur_to_new() 1149 ptr_to_ptr(ctrl, ctrl->p_new, ref->p_req, ref->p_req_elems); in new_to_req() 1187 ptr_to_ptr(ctrl, ctrl->p_cur, ctrl->p_new, ctrl->new_elems); in req_to_new() 1193 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new() 1219 memcpy(tmp, ctrl->p_new.p, ctrl->elems * ctrl->elem_size); in req_to_new() 1221 ctrl->p_new.p = tmp; in req_to_new() 1229 ptr_to_ptr(ctrl, ref->p_req, ctrl->p_new, ctrl->new_elems); in req_to_new() 1713 ctrl->p_new.p = data; in v4l2_ctrl_new() 1716 ctrl->p_new.p = &ctrl->val; in v4l2_ctrl_new() [all …]
|
D | v4l2-ctrls-request.c | 480 s32 new_auto_val = *master->p_new.p_s32; in v4l2_ctrl_request_setup()
|
/drivers/media/pci/ivtv/ |
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()
|
/drivers/media/platform/renesas/vsp1/ |
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()
|
D | vsp1_lut.c | 51 ctrl->p_new.p_u32[i]); in lut_set_table()
|
D | vsp1_clu.c | 54 vsp1_dl_body_write(dlb, VI6_CLU_DATA, ctrl->p_new.p_u32[i]); in clu_set_table()
|
/drivers/media/platform/verisilicon/ |
D | hantro_drv.c | 261 const struct v4l2_ctrl_h264_sps *sps = ctrl->p_new.p_h264_sps; in hantro_try_ctrl() 273 const struct v4l2_ctrl_hevc_sps *sps = ctrl->p_new.p_hevc_sps; in hantro_try_ctrl() 281 const struct v4l2_ctrl_vp9_frame *dec_params = ctrl->p_new.p_vp9_frame; in hantro_try_ctrl() 319 ctx->bit_depth = ctrl->p_new.p_vp9_frame->bit_depth; in hantro_vp9_s_ctrl()
|
/drivers/media/platform/qcom/venus/ |
D | vdec_ctrls.c | 40 ctr->conceal_color = *ctrl->p_new.p_s64; in vdec_op_s_ctrl()
|
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()
|
/drivers/staging/media/sunxi/cedrus/ |
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()
|
/drivers/media/radio/si4713/ |
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()
|
/drivers/staging/media/rkvdec/ |
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()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2-enc.c | 1103 solo_enc->md_thresholds->p_new.p_u16); in solo_s_ctrl() 1106 strscpy(solo_enc->osd_text, ctrl->p_new.p_char, in solo_s_ctrl()
|
/drivers/media/test-drivers/vivid/ |
D | vivid-ctrls.c | 1434 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_psname, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl() 1438 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_radiotext, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl()
|
/drivers/media/i2c/ |
D | mt9v032.c | 687 *mt9v032->pixel_rate->p_new.p_s64 = freq; in mt9v032_s_ctrl()
|
/drivers/media/test-drivers/vicodec/ |
D | vicodec-core.c | 1743 params = ctrl->p_new.p_fwht_params; in vicodec_try_ctrl() 1794 params = ctrl->p_new.p_fwht_params; in vicodec_s_ctrl()
|
/drivers/media/usb/go7007/ |
D | go7007-v4l2.c | 824 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); in go7007_s_ctrl()
|
/drivers/media/pci/tw5864/ |
D | tw5864-video.c | 523 input->md_threshold_grid_ctrl->p_new.p_u16, in tw5864_s_ctrl()
|