Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 167) sorted by relevance

1234567

/drivers/pinctrl/bcm/
Dpinctrl-bcm281xx.c377 BCM281XX_PIN_DESC(BCM281XX_PIN_ADCSYNC, "adcsync", std),
378 BCM281XX_PIN_DESC(BCM281XX_PIN_BAT_RM, "bat_rm", std),
383 BCM281XX_PIN_DESC(BCM281XX_PIN_CLASSGPWR, "classgpwr", std),
384 BCM281XX_PIN_DESC(BCM281XX_PIN_CLK_CX8, "clk_cx8", std),
385 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_0, "clkout_0", std),
386 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_1, "clkout_1", std),
387 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_2, "clkout_2", std),
388 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_3, "clkout_3", std),
389 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_0, "clkreq_in_0", std),
390 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_1, "clkreq_in_1", std),
[all …]
/drivers/media/i2c/adv748x/
Dadv748x-afe.c56 v4l2_std_id *std) in adv748x_afe_status() argument
70 if (!std) in adv748x_afe_status()
75 *std = V4L2_STD_UNKNOWN; in adv748x_afe_status()
81 *std = V4L2_STD_NTSC; in adv748x_afe_status()
84 *std = V4L2_STD_NTSC_443; in adv748x_afe_status()
87 *std = V4L2_STD_PAL_M; in adv748x_afe_status()
90 *std = V4L2_STD_PAL_60; in adv748x_afe_status()
93 *std = V4L2_STD_PAL; in adv748x_afe_status()
96 *std = V4L2_STD_SECAM; in adv748x_afe_status()
99 *std = V4L2_STD_PAL_Nc | V4L2_STD_PAL_N; in adv748x_afe_status()
[all …]
/drivers/media/i2c/
Dadv7183.c28 v4l2_std_id std; /* Current set standard */ member
189 static int adv7183_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in adv7183_g_std() argument
193 *std = decoder->std; in adv7183_g_std()
197 static int adv7183_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in adv7183_s_std() argument
203 if (std == V4L2_STD_PAL_60) in adv7183_s_std()
205 else if (std == V4L2_STD_NTSC_443) in adv7183_s_std()
207 else if (std == V4L2_STD_PAL_N) in adv7183_s_std()
209 else if (std == V4L2_STD_PAL_M) in adv7183_s_std()
211 else if (std == V4L2_STD_PAL_Nc) in adv7183_s_std()
213 else if (std & V4L2_STD_PAL) in adv7183_s_std()
[all …]
Dmsp3400-kthreads.c26 v4l2_std_id std; member
155 const char *msp_standard_std_name(int std) in msp_standard_std_name() argument
160 if (msp_stdlist[i].retval == std) in msp_standard_std_name()
165 static v4l2_std_id msp_standard_std(int std) in msp_standard_std() argument
170 if (msp_stdlist[i].retval == std) in msp_standard_std()
171 return msp_stdlist[i].std; in msp_standard_std()
690 int val, i, std, count; in msp3410d_thread() local
723 std = 0x40; in msp3410d_thread()
725 std = (state->v4l2_std & V4L2_STD_NTSC) ? 0x20 : 1; in msp3410d_thread()
736 msp_standard_std_name(std), std); in msp3410d_thread()
[all …]
Dml86v7667.c88 v4l2_std_id std; member
159 static int ml86v7667_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in ml86v7667_querystd() argument
169 *std &= status & STATUS_NTSCPAL ? V4L2_STD_625_50 : V4L2_STD_525_60; in ml86v7667_querystd()
171 *std = V4L2_STD_UNKNOWN; in ml86v7667_querystd()
217 fmt->height = priv->std & V4L2_STD_525_60 ? 480 : 576; in ml86v7667_fill_fmt()
234 static int ml86v7667_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in ml86v7667_g_std() argument
238 *std = priv->std; in ml86v7667_g_std()
243 static int ml86v7667_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ml86v7667_s_std() argument
251 mode = std & V4L2_STD_525_60 ? MRA_NTSC_BT601 : MRA_PAL_BT601; in ml86v7667_s_std()
256 priv->std = std; in ml86v7667_s_std()
[all …]
Dadv7393.c57 v4l2_std_id std; member
135 static int adv7393_setstd(struct v4l2_subdev *sd, v4l2_std_id std) in adv7393_setstd() argument
148 if (stdinfo[i].stdid & std) in adv7393_setstd()
155 (unsigned long long)std); in adv7393_setstd()
191 if (std & (V4L2_STD_NTSC | V4L2_STD_NTSC_443)) in adv7393_setstd()
277 v4l2_info(sd, "Standard: %llx\n", (unsigned long long)state->std); in adv7393_log_status()
311 static int adv7393_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) in adv7393_s_std_output() argument
316 if (state->std == std) in adv7393_s_std_output()
319 err = adv7393_setstd(sd, std); in adv7393_s_std_output()
321 state->std = std; in adv7393_s_std_output()
[all …]
Dvpx3220.c285 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in vpx3220_status() local
302 std &= V4L2_STD_PAL; in vpx3220_status()
306 std &= V4L2_STD_SECAM; in vpx3220_status()
312 std &= V4L2_STD_NTSC; in vpx3220_status()
316 std = V4L2_STD_UNKNOWN; in vpx3220_status()
319 *pstd = std; in vpx3220_status()
325 static int vpx3220_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in vpx3220_querystd() argument
328 return vpx3220_status(sd, NULL, std); in vpx3220_querystd()
337 static int vpx3220_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in vpx3220_s_std() argument
347 v4l2_dbg(1, debug, sd, "s_std %llx\n", (unsigned long long)std); in vpx3220_s_std()
[all …]
Dtw9900.c68 u32 std; member
124 .std = V4L2_STD_NTSC,
131 .std = V4L2_STD_PAL,
338 static int tw9900_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in tw9900_s_std() argument
344 if (!(std & (V4L2_STD_NTSC | V4L2_STD_PAL))) in tw9900_s_std()
348 if (supported_modes[i].std & std) in tw9900_s_std()
361 v4l2_std_id *std) in tw9900_get_stream_std() argument
369 *std = V4L2_STD_UNKNOWN; in tw9900_get_stream_std()
376 *std = V4L2_STD_NTSC; in tw9900_get_stream_std()
379 *std = V4L2_STD_PAL; in tw9900_get_stream_std()
[all …]
Dks0127.c526 static int ks0127_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ks0127_s_std() argument
533 ks->norm = std; in ks0127_s_std()
534 if (std & V4L2_STD_NTSC) { in ks0127_s_std()
538 } else if (std & V4L2_STD_PAL_N) { in ks0127_s_std()
542 } else if (std & V4L2_STD_PAL) { in ks0127_s_std()
546 } else if (std & V4L2_STD_PAL_M) { in ks0127_s_std()
550 } else if (std & V4L2_STD_SECAM) { in ks0127_s_std()
565 (unsigned long long)std); in ks0127_s_std()
591 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in ks0127_status() local
598 std = V4L2_STD_UNKNOWN; in ks0127_status()
[all …]
Dadv7343.c56 v4l2_std_id std; member
132 static int adv7343_setstd(struct v4l2_subdev *sd, v4l2_std_id std) in adv7343_setstd() argument
146 if (std_info[i].stdid & std) in adv7343_setstd()
153 (unsigned long long)std); in adv7343_setstd()
187 if (std & (V4L2_STD_NTSC | V4L2_STD_NTSC_443)) in adv7343_setstd()
189 else if (std & ~V4L2_STD_SECAM) in adv7343_setstd()
292 v4l2_info(sd, "Standard: %llx\n", (unsigned long long)state->std); in adv7343_log_status()
324 static int adv7343_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) in adv7343_s_std_output() argument
329 if (state->std == std) in adv7343_s_std_output()
332 err = adv7343_setstd(sd, std); in adv7343_s_std_output()
[all …]
Dbt819.c205 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in bt819_status() local
210 std = V4L2_STD_UNKNOWN; in bt819_status()
213 std &= V4L2_STD_PAL; in bt819_status()
215 std &= V4L2_STD_NTSC; in bt819_status()
217 *pstd = std; in bt819_status()
225 static int bt819_querystd(struct v4l2_subdev *sd, v4l2_std_id *std) in bt819_querystd() argument
227 return bt819_status(sd, NULL, std); in bt819_querystd()
235 static int bt819_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in bt819_s_std() argument
240 v4l2_dbg(1, debug, sd, "set norm %llx\n", (unsigned long long)std); in bt819_s_std()
245 if (std & V4L2_STD_NTSC) { in bt819_s_std()
[all …]
Dtvp5150.c683 v4l2_std_id std = decoder->norm; in tvp5150_set_vbi() local
687 if (std == V4L2_STD_ALL) { in tvp5150_set_vbi()
690 } else if (std & V4L2_STD_625_50) { in tvp5150_set_vbi()
726 v4l2_std_id std = decoder->norm; in tvp5150_get_vbi() local
731 if (std == V4L2_STD_ALL) { in tvp5150_get_vbi()
734 } else if (std & V4L2_STD_625_50) { in tvp5150_get_vbi()
759 static int tvp5150_set_std(struct v4l2_subdev *sd, v4l2_std_id std) in tvp5150_set_std() argument
766 if (std == V4L2_STD_NTSC_443) { in tvp5150_set_std()
768 } else if (std == V4L2_STD_PAL_M) { in tvp5150_set_std()
770 } else if (std == V4L2_STD_PAL_N || std == V4L2_STD_PAL_Nc) { in tvp5150_set_std()
[all …]
Dsaa7115.c81 v4l2_std_id std; member
770 hz = (state->std & V4L2_STD_525_60) ? 5994 : 5000; in saa711x_s_clock_freq()
870 int is_50hz = state->std & V4L2_STD_625_50; in saa711x_set_size()
970 static void saa711x_set_v4lstd(struct v4l2_subdev *sd, v4l2_std_id std) in saa711x_set_v4lstd() argument
981 if (std == state->std) in saa711x_set_v4lstd()
984 state->std = std; in saa711x_set_v4lstd()
987 if (std & V4L2_STD_525_60) { in saa711x_set_v4lstd()
1023 if (std == V4L2_STD_PAL_M) { in saa711x_set_v4lstd()
1025 } else if (std == V4L2_STD_PAL_Nc) { in saa711x_set_v4lstd()
1027 } else if (std == V4L2_STD_PAL_60) { in saa711x_set_v4lstd()
[all …]
/drivers/platform/x86/dell/
Ddell-smbios-wmi.c61 input.pointer = &priv->buf->std; in run_smbios_call()
64 priv->buf->std.cmd_class, priv->buf->std.cmd_select, in run_smbios_call()
65 priv->buf->std.input[0], priv->buf->std.input[1], in run_smbios_call()
66 priv->buf->std.input[2], priv->buf->std.input[3]); in run_smbios_call()
82 priv->buf->std.output[0], priv->buf->std.output[1], in run_smbios_call()
83 priv->buf->std.output[2], priv->buf->std.output[3]); in run_smbios_call()
107 memcpy(&priv->buf->std, buffer, size); in dell_smbios_wmi_call()
109 memcpy(buffer, &priv->buf->std, size); in dell_smbios_wmi_call()
154 if (dell_smbios_call_filter(&priv->wdev->dev, &priv->buf->std)) { in dell_smbios_wmi_do_ioctl()
156 priv->buf->std.cmd_class, in dell_smbios_wmi_do_ioctl()
[all …]
/drivers/media/pci/ivtv/
Divtv-cards.c253 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_NTSC },
294 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME },
295 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 },
335 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME },
336 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 },
371 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FQ1216ME },
372 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_FQ1286 },
413 { .std = V4L2_STD_PAL_SECAM, .tuner = TUNER_PHILIPS_FM1216ME_MK3 },
414 { .std = V4L2_STD_ALL - V4L2_STD_NTSC_M_JP,
416 { .std = V4L2_STD_NTSC_M_JP, .tuner = TUNER_PHILIPS_FQ1286 },
[all …]
Divtv-driver.c498 if (itv->std != 0) in ivtv_process_eeprom()
505 itv->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; in ivtv_process_eeprom()
508 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom()
511 itv->std |= V4L2_STD_SECAM_L; in ivtv_process_eeprom()
514 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom()
640 itv->std = ivtv_parse_std(itv); in ivtv_process_options()
641 if (itv->std == 0 && tunertype >= 0) in ivtv_process_options()
642 itv->std = tunertype ? V4L2_STD_MN : (V4L2_STD_ALL & ~V4L2_STD_MN); in ivtv_process_options()
1080 if (itv->std == 0) { in ivtv_probe()
1081 itv->std = V4L2_STD_NTSC_M; in ivtv_probe()
[all …]
/drivers/media/tuners/
Dtda9887.c39 v4l2_std_id std; member
49 v4l2_std_id std; member
139 .std = V4L2_STD_PAL_BG | V4L2_STD_PAL_H | V4L2_STD_PAL_N,
150 .std = V4L2_STD_PAL_I,
161 .std = V4L2_STD_PAL_DK,
172 .std = V4L2_STD_PAL_M | V4L2_STD_PAL_Nc,
183 .std = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H,
191 .std = V4L2_STD_SECAM_L,
200 .std = V4L2_STD_SECAM_LC,
210 .std = V4L2_STD_SECAM_DK,
[all …]
Dxc4000.c922 v4l2_std_id std, __u16 int_freq) in check_firmware() argument
941 new_fw.id = std; in check_firmware()
942 new_fw.std_req = std; in check_firmware()
999 priv->cur_fw.std_req == std) { in check_firmware()
1267 params->std = 0; in xc4000_set_analog_params()
1289 params->std &= V4L2_STD_ALL; in xc4000_set_analog_params()
1291 if (!params->std) in xc4000_set_analog_params()
1292 params->std = V4L2_STD_PAL_BG; in xc4000_set_analog_params()
1297 if (params->std & V4L2_STD_MN) { in xc4000_set_analog_params()
1298 params->std = V4L2_STD_MN; in xc4000_set_analog_params()
[all …]
Dsi2157.c574 char *std; /* for debugging */ in si2157_set_analog_params() local
620 if (params->std & (V4L2_STD_B | V4L2_STD_GH)) { in si2157_set_analog_params()
622 std = "palGH"; in si2157_set_analog_params()
626 if (params->std & in si2157_set_analog_params()
628 std = "secamGH"; in si2157_set_analog_params()
632 std = "palB"; in si2157_set_analog_params()
636 if (params->std & V4L2_STD_SECAM_B) { in si2157_set_analog_params()
637 std = "secamB"; in si2157_set_analog_params()
641 } else if (params->std & V4L2_STD_MN) { in si2157_set_analog_params()
642 std = "MN"; in si2157_set_analog_params()
[all …]
Dtda18271-maps.c1174 .fm_radio = { .if_freq = 1250, .fm_rfn = 1, .agc_mode = 3, .std = 0,
1176 .atv_b = { .if_freq = 6750, .fm_rfn = 0, .agc_mode = 1, .std = 6,
1178 .atv_dk = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1180 .atv_gh = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1182 .atv_i = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1184 .atv_l = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1186 .atv_lc = { .if_freq = 1250, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1188 .atv_mn = { .if_freq = 5750, .fm_rfn = 0, .agc_mode = 1, .std = 5,
1190 .atsc_6 = { .if_freq = 3250, .fm_rfn = 0, .agc_mode = 3, .std = 4,
1192 .dvbt_6 = { .if_freq = 3300, .fm_rfn = 0, .agc_mode = 3, .std = 4,
[all …]
/drivers/media/pci/cx18/
Dcx18-av-core.c277 v4l2_std_id std = state->std; in cx18_av_std_setup() local
291 if (std & ~V4L2_STD_NTSC) in cx18_av_std_setup()
304 if (std & V4L2_STD_625_50) { in cx18_av_std_setup()
359 if (std & V4L2_STD_PAL) { in cx18_av_std_setup()
364 } else if (std == V4L2_STD_PAL_Nc) { in cx18_av_std_setup()
419 if (std == V4L2_STD_PAL_60) { in cx18_av_std_setup()
425 } else if (std == V4L2_STD_PAL_M) { in cx18_av_std_setup()
506 if (std & V4L2_STD_625_50) { in cx18_av_std_setup()
519 v4l2_std_id std = state->std; in input_change() local
523 cx18_av_write(cx, 0x49f, (std & V4L2_STD_NTSC) ? 0x14 : 0x11); in input_change()
[all …]
Dcx18-driver.c413 if (cx->std != 0) in cx18_process_eeprom()
426 cx->std = V4L2_STD_ALL; in cx18_process_eeprom()
429 cx->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; in cx18_process_eeprom()
432 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom()
435 cx->std |= V4L2_STD_SECAM_L; in cx18_process_eeprom()
438 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom()
632 cx->std = cx18_parse_std(cx); in cx18_process_options()
1025 if (cx->std == 0) in cx18_probe()
1026 cx->std = V4L2_STD_NTSC_M; in cx18_probe()
1030 if ((cx->std & cx->card->tuners[i].std) == 0) in cx18_probe()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-std.c278 static int pvr2_std_fill(struct v4l2_standard *std,v4l2_std_id id) in pvr2_std_fill() argument
285 idx = std->index; in pvr2_std_fill()
286 memcpy(std,template,sizeof(*template)); in pvr2_std_fill()
287 std->index = idx; in pvr2_std_fill()
288 std->id = id; in pvr2_std_fill()
289 bcnt = pvr2_std_id_to_str(std->name,sizeof(std->name)-1,id); in pvr2_std_fill()
290 std->name[bcnt] = 0; in pvr2_std_fill()
292 std->index,std->name); in pvr2_std_fill()
/drivers/media/i2c/cx25840/
Dcx25840-core.c1115 v4l2_std_id std = state->std; in cx25840_std_setup() local
1122 if (std & ~V4L2_STD_NTSC) in cx25840_std_setup()
1128 if (std & V4L2_STD_625_50) { in cx25840_std_setup()
1144 if (std & V4L2_STD_SECAM) { in cx25840_std_setup()
1148 } else if (std == V4L2_STD_PAL_Nc) { in cx25840_std_setup()
1173 if (std == V4L2_STD_PAL_60) { in cx25840_std_setup()
1184 } else if (std == V4L2_STD_PAL_M) { in cx25840_std_setup()
1272 if (std & V4L2_STD_625_50) { in cx25840_std_setup()
1286 v4l2_std_id std = state->std; in input_change() local
1289 if (std & V4L2_STD_SECAM) { in input_change()
[all …]
/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c54 v4l2_std_id std; member
59 .std = V4L2_STD_MN,
63 .std = V4L2_STD_B | V4L2_STD_GH,
67 .std = V4L2_STD_PAL_I,
71 .std = V4L2_STD_DK | V4L2_STD_SECAM_L | V4L2_STD_SECAM_LC,
79 .std = V4L2_STD_PAL_BG,
85 .std = V4L2_STD_PAL_DK,
91 .std = V4L2_STD_PAL_DK,
97 .std = V4L2_STD_PAL_DK,
103 .std = V4L2_STD_PAL_BG,
[all …]

1234567