/openbmc/linux/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.p_char[size - 1]; in user_to_new() [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.p = &ctrl->val; 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()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_fru.c | 232 t_ipmi_fru_bloc * p_first, * p_bloc, * p_new; in build_fru_bloc() local 304 p_new = malloc(sizeof(struct ipmi_fru_bloc)); in build_fru_bloc() 305 if (!p_new) { in build_fru_bloc() 311 p_new->next = NULL; in build_fru_bloc() 312 p_new->start = header.offsets[i] * 8; in build_fru_bloc() 313 p_new->size = fru->size - p_new->start; in build_fru_bloc() 315 strncpy((char *)p_new->blocId, section_id[i], sizeof(p_new->blocId)); in build_fru_bloc() 317 p_new->blocId[sizeof(p_new->blocId)-1] = 0; in build_fru_bloc() 319 p_bloc->next = p_new; in build_fru_bloc() 320 p_bloc->size = p_new->start - p_bloc->start; in build_fru_bloc() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 1128 p_new = p 1129 while not self.check_free_port('localhost', p_new, lockdir): 1130 p_new += 1 1132 while p_new in ports: 1133 p_new += 1 1135 if p != p_new: 1136 ports.append(p_new) 1137 qb_slirp_opt = re.sub(':%s-' % p, ':%s-' % p_new, qb_slirp_opt) 1138 logger.info("Port forward changed: %s -> %s" % (p, p_new))
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu | 1128 p_new = p 1129 while not self.check_free_port('localhost', p_new, lockdir): 1130 p_new += 1 1132 while p_new in ports: 1133 p_new += 1 1135 if p != p_new: 1136 ports.append(p_new) 1137 qb_slirp_opt = re.sub(':%s-' % p, ':%s-' % p_new, qb_slirp_opt) 1138 logger.info("Port forward changed: %s -> %s" % (p, p_new))
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/include/media/ |
H A D | v4l2-ctrls.h | 307 union v4l2_ctrl_ptr p_new; member
|
/openbmc/linux/drivers/media/pci/solo6x10/ |
H A 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()
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-ctrls.c | 1460 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_psname, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl() 1464 v4l2_ctrl_s_ctrl_string(dev->radio_rx_rds_radiotext, ctrl->p_new.p_char); in vivid_radio_tx_s_ctrl()
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | v4l2-controls.rst | 335 union v4l2_ctrl_ptr p_new; 342 &ctrl->val == ctrl->p_new.p_s32
|
/openbmc/linux/drivers/media/i2c/ |
H A D | mt9v032.c | 687 *mt9v032->pixel_rate->p_new.p_s64 = freq; in mt9v032_s_ctrl()
|
/openbmc/linux/drivers/media/test-drivers/vicodec/ |
H A 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()
|
/openbmc/linux/drivers/media/usb/go7007/ |
H A D | go7007-v4l2.c | 820 memcpy(mt, ctrl->p_new.p_u8 + y * (720 / 16), go->width / 16); in go7007_s_ctrl()
|
/openbmc/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-video.c | 523 input->md_threshold_grid_ctrl->p_new.p_u16, in tw5864_s_ctrl()
|