Searched refs:std (Results 26 - 50 of 160) sorted by relevance

1234567

/drivers/media/pci/ivtv/
H A Divtv-firmware.c282 v4l2_std_id std; local
303 std = itv->std;
304 itv->std = 0;
305 ivtv_s_std_enc(itv, std);
311 std = itv->std_out;
313 ivtv_s_std_dec(itv, std);
H A Divtv-ioctl.c962 v4l2_std_id std; local
986 std = itv->tuner_std;
988 std = V4L2_STD_ALL;
990 itv->streams[i].vdev->tvnorms = std;
1067 static int ivtv_g_std(struct file *file, void *fh, v4l2_std_id *std) argument
1071 *std = itv->std;
1075 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std) argument
1077 itv->std = std;
1094 ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std) argument
1140 ivtv_s_std(struct file *file, void *fh, v4l2_std_id std) argument
[all...]
/drivers/media/i2c/
H A Dbt856.c122 static int bt856_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument
126 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std);
128 if (std & V4L2_STD_NTSC) {
130 } else if (std & V4L2_STD_PAL) {
137 encoder->norm = std;
H A Dsaa7127.c260 v4l2_std_id std; member in struct:saa7127_state
479 static int saa7127_set_std(struct v4l2_subdev *sd, v4l2_std_id std) argument
484 if (std & V4L2_STD_525_60) {
490 (std & V4L2_STD_SECAM) &&
491 !(std & (V4L2_STD_625_50 & ~V4L2_STD_SECAM))) {
507 state->std = std;
597 static int saa7127_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument
601 if (state->std == std)
[all...]
H A Dmsp3400-driver.h76 int std; member in struct:msp_state
128 const char *msp_standard_std_name(int std);
H A Dsaa7110.c265 static int saa7110_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument
267 *std &= determine_norm(sd);
271 static int saa7110_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument
275 if (decoder->norm != std) {
276 decoder->norm = std;
278 if (std & V4L2_STD_NTSC) {
284 } else if (std & V4L2_STD_PAL) {
290 } else if (std & V4L2_STD_SECAM) {
H A Dsaa7185.c232 static int saa7185_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument
236 if (std & V4L2_STD_NTSC)
238 else if (std & V4L2_STD_PAL)
242 encoder->norm = std;
H A Dsony-btf-mpx.c279 static int sony_btf_mpx_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument
284 if (std & V4L2_STD_PAL_BG)
286 else if (std & V4L2_STD_PAL_I)
288 else if (std & V4L2_STD_PAL_DK)
290 else if (std & V4L2_STD_SECAM_L)
H A Dsaa7115.c85 v4l2_std_id std; member in struct:saa711x_state
774 hz = (state->std & V4L2_STD_525_60) ? 5994 : 5000;
874 int is_50hz = state->std & V4L2_STD_625_50;
974 static void saa711x_set_v4lstd(struct v4l2_subdev *sd, v4l2_std_id std) argument
985 if (std == state->std)
988 state->std = std;
991 if (std & V4L2_STD_525_60) {
1027 if (std
1267 saa711x_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument
1429 saa711x_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) argument
[all...]
/drivers/media/pci/sta2x11/
H A Dsta2x11_vip.c110 * @std: video standard (e.g. PAL/NTSC)
139 v4l2_std_id std; member in struct:sta2x11_vip
430 * @std: contains standard to be set
440 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id std) argument
443 v4l2_std_id oldstd = vip->std, newstd;
446 if (V4L2_STD_ALL == std) {
447 v4l2_subdev_call(vip->decoder, video, s_std, std);
453 std = vip->std = newstd;
454 if (oldstd != std) {
482 vidioc_g_std(struct file *file, void *priv, v4l2_std_id *std) argument
499 vidioc_querystd(struct file *file, void *priv, v4l2_std_id *std) argument
[all...]
/drivers/media/pci/saa7134/
H A Dsaa7134-tvaudio.c70 v4l2_std_id std; member in struct:mainscan
75 .std = V4L2_STD_MN,
79 .std = V4L2_STD_B | V4L2_STD_GH,
83 .std = V4L2_STD_PAL_I,
87 .std = V4L2_STD_DK | V4L2_STD_SECAM_L | V4L2_STD_SECAM_LC,
95 .std = V4L2_STD_PAL_BG,
101 .std = V4L2_STD_PAL_DK,
107 .std = V4L2_STD_PAL_DK,
113 .std = V4L2_STD_PAL_DK,
119 .std
[all...]
/drivers/usb/host/whci/
H A Dasl.c312 struct whc_std *std, *t; local
323 list_for_each_entry_safe(std, t, &qset->stds, list_node) {
324 if (std->urb == urb) {
325 if (std->qtd)
327 qset_free_std(whc, std);
329 std->qtd = NULL; /* so this std is re-added when the qset is */
H A Dpzl.c340 struct whc_std *std, *t; local
351 list_for_each_entry_safe(std, t, &qset->stds, list_node) {
352 if (std->urb == urb) {
353 if (std->qtd)
355 qset_free_std(whc, std);
357 std->qtd = NULL; /* so this std is re-added when the qset is */
/drivers/media/pci/cx18/
H A Dcx18-cards.c233 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
284 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
344 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
401 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FM1216ME_MK3 },
451 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
498 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
551 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 },
615 input->std = (input->type == V4L2_INPUT_TYPE_TUNER) ?
/drivers/media/tuners/
H A Dtuner-simple.c333 if (params->std & V4L2_STD_SECAM_L)
336 else if (params->std & V4L2_STD_SECAM_LC)
345 if (params->std & V4L2_STD_PAL_BG) {
348 } else if (params->std & V4L2_STD_PAL_I) {
351 } else if (params->std & V4L2_STD_PAL_DK) {
354 } else if (params->std & V4L2_STD_SECAM_L) {
363 if (params->std & (V4L2_STD_PAL_BG|V4L2_STD_PAL_DK)) {
366 } else if (params->std & V4L2_STD_PAL_I) {
369 } else if (params->std & V4L2_STD_SECAM_L) {
381 if (!(params->std
[all...]
H A Dxc4000.c945 v4l2_std_id std, __u16 int_freq)
964 new_fw.id = std;
965 new_fw.std_req = std;
1022 priv->cur_fw.std_req == std) {
1027 /* Reloading std-specific firmware forces a SCODE update */
1289 params->std = 0;
1311 params->std &= V4L2_STD_ALL;
1312 /* if std is not defined, choose one */
1313 if (!params->std)
1314 params->std
944 check_firmware(struct dvb_frontend *fe, unsigned int type, v4l2_std_id std, __u16 int_freq) argument
[all...]
H A Dtda18271-fe.c97 regs[R_EP3] &= ~0x1f; /* clear std bits */
98 regs[R_EP3] |= (map->agc_mode << 3) | map->std;
542 regs[R_EP3] &= ~0x1f; /* clear std bits */
902 tda_dbg("freq = %d, ifc = %d, bw = %d, agc_mode = %d, std = %d\n",
903 freq, map->if_freq, bw, map->agc_mode, map->std);
939 struct tda18271_std_map *std_map = &priv->std;
999 struct tda18271_std_map *std_map = &priv->std;
1011 } else if (params->std & V4L2_STD_MN) {
1014 } else if (params->std & V4L2_STD_B) {
1017 } else if (params->std
1110 struct tda18271_std_map *std = &priv->std; local
1136 struct tda18271_std_map *std = &priv->std; local
[all...]
H A Dtda18271.h33 unsigned int std:3; member in struct:tda18271_std_map_item
90 /* override default if freq / std settings (optional) */
H A Dtda18271-maps.c1190 .fm_radio = { .if_freq = 1250, .fm_rfn = 1, .agc_mode = 3, .std = 0,
1192 .atv_b = { .if_freq = 6750, .fm_rfn = 0, .agc_mode = 1, .std = 6,
1194 .atv_dk = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1196 .atv_gh = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1198 .atv_i = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1200 .atv_l = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1202 .atv_lc = { .if_freq = 1250, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1204 .atv_mn = { .if_freq = 5750, .fm_rfn = 0, .agc_mode = 1, .std = 5,
1206 .atsc_6 = { .if_freq = 3250, .fm_rfn = 0, .agc_mode = 3, .std = 4,
1208 .dvbt_6 = { .if_freq = 3300, .fm_rfn = 0, .agc_mode = 3, .std
[all...]
/drivers/media/v4l2-core/
H A Dtuner-core.c124 v4l2_std_id std; member in struct:tuner
823 .std = t->std
858 * @std: TV standard
868 static v4l2_std_id tuner_fixup_std(struct tuner *t, v4l2_std_id std) argument
870 if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) {
900 if (secam[0] != '-' && (std & V4L2_STD_SECAM) == V4L2_STD_SECAM) {
927 if (ntsc[0] != '-' && (std & V4L2_STD_NTSC) == V4L2_STD_NTSC) {
943 return std;
964 .std
1103 tuner_s_std(struct v4l2_subdev *sd, v4l2_std_id std) argument
[all...]
/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h2304 * \brief Macro to check if std is an ATV standard
2305 * \retval true std is an ATV standard
2306 * \retval false std is an ATV standard
2308 #define DRX_ISATVSTD(std) (((std) == DRX_STANDARD_PAL_SECAM_BG) || \
2309 ((std) == DRX_STANDARD_PAL_SECAM_DK) || \
2310 ((std) == DRX_STANDARD_PAL_SECAM_I) || \
2311 ((std) == DRX_STANDARD_PAL_SECAM_L) || \
2312 ((std) == DRX_STANDARD_PAL_SECAM_LP) || \
2313 ((std)
[all...]
/drivers/media/platform/blackfin/
H A Dbfin_capture.c78 v4l2_std_id std; member in struct:bcap_device
397 if (bcap_dev->std & V4L2_STD_525_60) {
611 static int bcap_querystd(struct file *file, void *priv, v4l2_std_id *std) argument
615 return v4l2_subdev_call(bcap_dev->sd, video, querystd, std);
618 static int bcap_g_std(struct file *file, void *priv, v4l2_std_id *std) argument
622 *std = bcap_dev->std;
626 static int bcap_s_std(struct file *file, void *priv, v4l2_std_id std) argument
634 ret = v4l2_subdev_call(bcap_dev->sd, video, s_std, std);
638 bcap_dev->std
1068 v4l2_std_id std; local
[all...]
/drivers/media/usb/pvrusb2/
H A DMakefile10 pvrusb2-ctrl.o pvrusb2-std.o pvrusb2-devattr.o \
/drivers/staging/rtl8192u/
H A DMakefile3 ccflags-y := -std=gnu89
/drivers/media/platform/s5p-tv/
H A Dsdo_drv.c138 static int sdo_g_tvnorms_output(struct v4l2_subdev *sd, v4l2_std_id *std) argument
140 *std = V4L2_STD_NTSC_M | V4L2_STD_PAL_M | V4L2_STD_PAL |
146 static int sdo_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) argument
150 fmt = sdo_find_format(std);
157 static int sdo_g_std_output(struct v4l2_subdev *sd, v4l2_std_id *std) argument
159 *std = sd_to_sdev(sd)->fmt->id;

Completed in 383 milliseconds

1234567