Home
last modified time | relevance | path

Searched refs:std_id (Results 1 – 19 of 19) sorted by relevance

/linux-6.1.9/drivers/media/platform/ti/davinci/
Dvpbe.c145 v4l2_std_id std_id) in vpbe_get_std_info() argument
155 (var.std_id & std_id)) { in vpbe_get_std_info()
405 static int vpbe_s_std(struct vpbe_device *vpbe_dev, v4l2_std_id std_id) in vpbe_s_std() argument
416 ret = vpbe_get_std_info(vpbe_dev, std_id); in vpbe_s_std()
423 s_std_output, std_id); in vpbe_s_std()
444 static int vpbe_g_std(struct vpbe_device *vpbe_dev, v4l2_std_id *std_id) in vpbe_g_std() argument
454 *std_id = cur_timings->std_id; in vpbe_g_std()
491 preset_mode->std_id); in vpbe_set_mode()
Dvpbe_display.c428 v4l2_std_id standard_id = vpbe_dev->current_timings.std_id; in vpbe_disp_calculate_scale_factor()
917 v4l2_std_id std_id) in vpbe_display_s_std() argument
929 ret = vpbe_dev->ops.s_std(vpbe_dev, std_id); in vpbe_display_s_std()
949 v4l2_std_id *std_id) in vpbe_display_g_std() argument
958 *std_id = vpbe_dev->current_timings.std_id; in vpbe_display_g_std()
Dvpif_display.c673 static int vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id) in vpif_s_std() argument
695 if (!(std_id & VPIF_V4L2_STD)) in vpif_s_std()
699 ch->video.stdid = std_id; in vpif_s_std()
708 s_std_output, std_id); in vpif_s_std()
715 s_std, std_id); in vpif_s_std()
Dvpif_capture.c750 static int vpif_querystd(struct file *file, void *priv, v4l2_std_id *std_id) in vpif_querystd() argument
759 ret = v4l2_subdev_call(ch->sd, video, querystd, std_id); in vpif_querystd()
805 static int vpif_s_std(struct file *file, void *priv, v4l2_std_id std_id) in vpif_s_std() argument
829 ch->video.stdid = std_id; in vpif_s_std()
839 ret = v4l2_subdev_call(ch->sd, video, s_std, std_id); in vpif_s_std()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dstandard.rst75 v4l2_std_id std_id;
78 if (-1 == ioctl(fd, VIDIOC_G_STD, &std_id)) {
91 if (standard.id & std_id) {
153 v4l2_std_id std_id;
175 std_id = V4L2_STD_PAL_BG;
177 if (-1 == ioctl(fd, VIDIOC_S_STD, &std_id)) {
/linux-6.1.9/drivers/media/i2c/
Dths7303.c39 int std_id; member
144 state->std_id = 1; in ths7303_s_std_output()
176 else if (state->std_id) in ths7303_config()
205 state->std_id = 0; in ths7303_s_dv_timings()
Dtvp514x.c532 static int tvp514x_querystd(struct v4l2_subdev *sd, v4l2_std_id *std_id) in tvp514x_querystd() argument
539 if (std_id == NULL) in tvp514x_querystd()
551 *std_id = V4L2_STD_UNKNOWN; in tvp514x_querystd()
595 *std_id = V4L2_STD_UNKNOWN; in tvp514x_querystd()
599 *std_id &= decoder->std_list[current_std].standard.id; in tvp514x_querystd()
614 static int tvp514x_s_std(struct v4l2_subdev *sd, v4l2_std_id std_id) in tvp514x_s_std() argument
620 if (std_id & decoder->std_list[i].standard.id) in tvp514x_s_std()
Disl7998x.c813 unsigned int std_id[ISL7998X_INPUTS]; in isl7998x_querystd() local
850 std_id[i] = FIELD_GET(ISL7998X_REG_PX_DEC_SDT_NOW, reg); in isl7998x_querystd()
859 i, v4l2_norm_to_name(isl7998x_std_res[std_id[i]].norm)); in isl7998x_querystd()
860 if (std_id[0] != std_id[i]) in isl7998x_querystd()
863 v4l2_norm_to_name(isl7998x_std_res[std_id[i]].norm), i, in isl7998x_querystd()
864 v4l2_norm_to_name(isl7998x_std_res[std_id[0]].norm)); in isl7998x_querystd()
867 *std = isl7998x_std_res[std_id[0]].norm; in isl7998x_querystd()
Dtvp5150.c866 static int tvp5150_querystd(struct v4l2_subdev *sd, v4l2_std_id *std_id) in tvp5150_querystd() argument
868 *std_id = query_lock(sd) ? tvp5150_read_std(sd) : V4L2_STD_UNKNOWN; in tvp5150_querystd()
/linux-6.1.9/include/media/davinci/
Dvpbe.h119 int (*s_std)(struct vpbe_device *vpbe_dev, v4l2_std_id std_id);
122 int (*g_std)(struct vpbe_device *vpbe_dev, v4l2_std_id *std_id);
Dvpbe_types.h58 v4l2_std_id std_id; member
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/
Dvpfe_capture.c83 v4l2_std_id std_id; member
296 v4l2_std_id std_id) in vpfe_config_image_format() argument
307 if (vpfe_standards[i].std_id & std_id) { in vpfe_config_image_format()
383 vpfe_standards[vpfe_dev->std_index].std_id); in vpfe_initialize_device()
1085 vpfe_standards[vpfe_dev->std_index].std_id); in vpfe_s_input()
1091 static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id) in vpfe_querystd() argument
1105 video, querystd, std_id); in vpfe_querystd()
1110 static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id std_id) in vpfe_s_std() argument
1132 video, s_std, std_id); in vpfe_s_std()
1137 ret = vpfe_config_image_format(vpfe_dev, std_id); in vpfe_s_std()
[all …]
/linux-6.1.9/drivers/media/platform/ti/am437x/
Dam437x-vpfe.c49 v4l2_std_id std_id; member
957 v4l2_std_id std_id) in vpfe_config_image_format() argument
964 if (vpfe_standards[i].std_id & std_id) { in vpfe_config_image_format()
1020 vpfe_standards[vpfe->std_index].std_id); in vpfe_initialize_device()
1674 vpfe_standards[vpfe->std_index].std_id); in vpfe_set_input()
1687 static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id) in vpfe_querystd() argument
1698 video, querystd, std_id); in vpfe_querystd()
1701 static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id std_id) in vpfe_s_std() argument
1712 if (vpfe_standards[vpfe->std_index].std_id == std_id) in vpfe_s_std()
1723 video, s_std, std_id); in vpfe_s_std()
[all …]
/linux-6.1.9/arch/arm/mach-davinci/
Dboard-dm355-evm.c269 .std_id = V4L2_STD_NTSC,
281 .std_id = V4L2_STD_PAL,
Dboard-dm365-evm.c444 .std_id = V4L2_STD_NTSC,
456 .std_id = V4L2_STD_PAL,
/linux-6.1.9/drivers/media/platform/renesas/
Dsh_vou.c815 static int sh_vou_s_std(struct file *file, void *priv, v4l2_std_id std_id) in sh_vou_s_std() argument
820 dev_dbg(vou_dev->v4l2_dev.dev, "%s(): 0x%llx\n", __func__, std_id); in sh_vou_s_std()
822 if (std_id == vou_dev->std) in sh_vou_s_std()
829 s_std_output, std_id); in sh_vou_s_std()
836 if (std_id & V4L2_STD_525_60) { in sh_vou_s_std()
851 vou_dev->std = std_id; in sh_vou_s_std()
/linux-6.1.9/drivers/staging/media/deprecated/fsl-viu/
Dfsl-viu.c890 static int vidioc_querystd(struct file *file, void *priv, v4l2_std_id *std_id) in vidioc_querystd() argument
894 decoder_call(fh->dev, video, querystd, std_id); in vidioc_querystd()
907 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *std_id) in vidioc_g_std() argument
911 *std_id = fh->dev->std; in vidioc_g_std()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c393 struct ieee80211_hdr *hdr, u8 std_id) in il3945_build_tx_cmd_basic() argument
412 tx_cmd->sta_id = std_id; in il3945_build_tx_cmd_basic()
D4965-mac.c1487 struct ieee80211_hdr *hdr, u8 std_id) in il4965_tx_cmd_build_basic() argument
1508 tx_cmd->sta_id = std_id; in il4965_tx_cmd_build_basic()