| /drivers/pinctrl/bcm/ |
| A D | pinctrl-bcm281xx.c | 538 BCM281XX_PIN_DESC(BCM281XX_PIN_PC1, "pc1", std), 539 BCM281XX_PIN_DESC(BCM281XX_PIN_PC2, "pc2", std), 544 std), 574 "rtxdata2g_txdata3g1", std), 576 std), 1228 BCM281XX_PIN_DESC(BCM21664_PIN_PC1, "pc1", std), 1229 BCM281XX_PIN_DESC(BCM21664_PIN_PC2, "pc2", std), 1240 BCM281XX_PIN_DESC(BCM21664_PIN_SDCK, "sdck", std), 1268 BCM281XX_PIN_DESC(BCM21664_PIN_TDI, "tdi", std), 1269 BCM281XX_PIN_DESC(BCM21664_PIN_TDO, "tdo", std), [all …]
|
| /drivers/media/i2c/adv748x/ |
| A D | adv748x-afe.c | 56 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() 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() 102 *std = V4L2_STD_SECAM; in adv748x_afe_status() 142 if (std & V4L2_STD_PAL) in adv748x_afe_std() [all …]
|
| /drivers/media/i2c/ |
| A D | adv7183.c | 193 *std = decoder->std; in adv7183_g_std() 203 if (std == V4L2_STD_PAL_60) in adv7183_s_std() 223 decoder->std = std; in adv7183_s_std() 365 *std &= V4L2_STD_NTSC; in adv7183_querystd() 371 *std &= V4L2_STD_PAL_M; in adv7183_querystd() 374 *std &= V4L2_STD_PAL_60; in adv7183_querystd() 377 *std &= V4L2_STD_PAL; in adv7183_querystd() 380 *std &= V4L2_STD_SECAM; in adv7183_querystd() 383 *std &= V4L2_STD_PAL_Nc; in adv7183_querystd() 386 *std &= V4L2_STD_SECAM; in adv7183_querystd() [all …]
|
| A D | msp3400-kthreads.c | 26 v4l2_std_id std; member 690 int val, i, std, count; in msp3410d_thread() local 723 std = 0x40; in msp3410d_thread() 736 msp_standard_std_name(std), std); in msp3410d_thread() 738 if (std != 1) { in msp3410d_thread() 740 val = std; in msp3410d_thread() 763 state->std = val; in msp3410d_thread() 949 state->std = 1; in msp34xxg_reset() 1018 if (state->std != 1) in msp34xxg_thread() 1031 state->std = val; in msp34xxg_thread() [all …]
|
| A D | ml86v7667.c | 88 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 …]
|
| A D | adv7393.c | 57 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() 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() 375 err = adv7393_setstd(sd, state->std); in adv7393_initialize() [all …]
|
| A D | vpx3220.c | 285 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() 328 return vpx3220_status(sd, NULL, std); in vpx3220_querystd() 348 if (std & V4L2_STD_NTSC) { in vpx3220_s_std() 351 } else if (std & V4L2_STD_PAL) { in vpx3220_s_std() 354 } else if (std & V4L2_STD_SECAM) { in vpx3220_s_std() [all …]
|
| A D | tw9900.c | 68 u32 std; member 124 .std = V4L2_STD_NTSC, 131 .std = V4L2_STD_PAL, 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() 382 *std = V4L2_STD_UNKNOWN; in tw9900_get_stream_std() 385 *std = V4L2_STD_UNKNOWN; in tw9900_get_stream_std() [all …]
|
| A D | ks0127.c | 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() 598 std = V4L2_STD_UNKNOWN; in ks0127_status() 601 std &= V4L2_STD_PAL; in ks0127_status() 603 std &= V4L2_STD_NTSC; in ks0127_status() 606 std &= V4L2_STD_525_60; in ks0127_status() 608 std &= V4L2_STD_625_50; in ks0127_status() [all …]
|
| A D | adv7343.c | 56 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() 329 if (state->std == std) in adv7343_s_std_output() 332 err = adv7343_setstd(sd, std); in adv7343_s_std_output() 334 state->std = std; in adv7343_s_std_output() 388 err = adv7343_setstd(sd, state->std); in adv7343_initialize() [all …]
|
| A D | bt819.c | 205 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() 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 245 if (std & V4L2_STD_NTSC) { in bt819_s_std() 254 } else if (std & V4L2_STD_PAL) { in bt819_s_std() 265 (unsigned long long)std); in bt819_s_std() [all …]
|
| A D | tvp5150.c | 770 } else if (std == V4L2_STD_PAL_N || std == V4L2_STD_PAL_Nc) { in tvp5150_set_std() 774 if (std & V4L2_STD_NTSC) in tvp5150_set_std() 791 *std = decoder->norm; in tvp5150_g_std() 802 if (decoder->norm == std) in tvp5150_s_std() 952 v4l2_std_id std; in tvp5150_enable() local 960 std = decoder->norm; in tvp5150_enable() 1074 v4l2_std_id std; in tvp5150_get_hmax() local 1080 std = decoder->norm; in tvp5150_get_hmax() 1164 v4l2_std_id std; in tvp5150_get_selection() local 1176 std = decoder->norm; in tvp5150_get_selection() [all …]
|
| A D | saa7115.c | 82 v4l2_std_id std; member 973 if (std == state->std) in saa711x_set_v4lstd() 976 state->std = std; in saa711x_set_v4lstd() 979 if (std & V4L2_STD_525_60) { in saa711x_set_v4lstd() 1266 saa711x_set_v4lstd(sd, std); in saa711x_s_std() 1443 *std &= V4L2_STD_NTSC; in saa711x_querystd() 1455 *std &= V4L2_STD_SECAM; in saa711x_querystd() 1458 *std = V4L2_STD_UNKNOWN; in saa711x_querystd() 1468 *std = V4L2_STD_UNKNOWN; in saa711x_querystd() 1473 *std &= V4L2_STD_525_60; in saa711x_querystd() [all …]
|
| /drivers/platform/x86/dell/ |
| A D | dell-smbios-wmi.c | 61 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() 156 priv->buf->std.cmd_class, in dell_smbios_wmi_do_ioctl() 157 priv->buf->std.cmd_select, in dell_smbios_wmi_do_ioctl() [all …]
|
| /drivers/media/pci/ivtv/ |
| A D | ivtv-cards.c | 253 { .std = V4L2_STD_ALL, .tuner = TUNER_PHILIPS_NTSC }, 414 { .std = V4L2_STD_ALL - V4L2_STD_NTSC_M_JP, 487 { .std = V4L2_STD_MN, .tuner = TUNER_PHILIPS_FQ1286 }, 518 { .std = V4L2_STD_MN, .tuner = TUNER_PHILIPS_FQ1286 }, 892 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 928 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 966 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 1161 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 1196 { .std = V4L2_STD_ALL, .tuner = TUNER_XC2028 }, 1313 input->std = (input->type == V4L2_INPUT_TYPE_TUNER) ? in ivtv_get_input() [all …]
|
| A D | ivtv-driver.c | 498 if (itv->std != 0) in ivtv_process_eeprom() 508 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom() 514 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom() 1080 if (itv->std == 0) { in ivtv_probe() 1081 itv->std = V4L2_STD_NTSC_M; in ivtv_probe() 1088 if ((itv->std & itv->card->tuners[i].std) == 0) in ivtv_probe() 1096 itv->std = itv->card->tuners[0].std; in ivtv_probe() 1097 if (itv->std & V4L2_STD_PAL) in ivtv_probe() 1100 itv->std = V4L2_STD_NTSC_M; in ivtv_probe() 1179 itv->tuner_std = itv->std; in ivtv_probe() [all …]
|
| /drivers/media/tuners/ |
| A D | tda9887.c | 39 v4l2_std_id std; member 49 v4l2_std_id std; member 150 .std = V4L2_STD_PAL_I, 161 .std = V4L2_STD_PAL_DK, 191 .std = V4L2_STD_SECAM_L, 200 .std = V4L2_STD_SECAM_LC, 210 .std = V4L2_STD_SECAM_DK, 232 .std = V4L2_STD_NTSC_M_JP, 415 if (tvnorms[i].std & priv->std) { in tda9887_set_tvnorm() 515 (priv->std & V4L2_STD_NTSC)) in tda9887_do_config() [all …]
|
| A D | xc4000.c | 941 new_fw.id = std; in check_firmware() 942 new_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() 1298 params->std = V4L2_STD_MN; in xc4000_set_analog_params() 1302 params->std |= V4L2_STD_A2; in xc4000_set_analog_params() 1305 params->std |= V4L2_STD_BTSC; in xc4000_set_analog_params() 1312 params->std = V4L2_STD_PAL_BG; in xc4000_set_analog_params() [all …]
|
| A D | si2157.c | 622 std = "palGH"; in si2157_set_analog_params() 626 if (params->std & in si2157_set_analog_params() 632 std = "palB"; in si2157_set_analog_params() 637 std = "secamB"; in si2157_set_analog_params() 642 std = "MN"; in si2157_set_analog_params() 647 std = "palI"; in si2157_set_analog_params() 652 std = "palDK"; in si2157_set_analog_params() 657 std = "secamDK"; in si2157_set_analog_params() 661 std = "secamL"; in si2157_set_analog_params() 667 std = "secamL'"; in si2157_set_analog_params() [all …]
|
| A D | tda18271-maps.c | 1174 .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, 1277 priv->std = tda18271c1_std_map; in tda18271_assign_map_layout() [all …]
|
| A D | tda18271-fe.c | 1000 } else if (params->std & V4L2_STD_MN) { in tda18271_set_analog_params() 1003 } else if (params->std & V4L2_STD_B) { in tda18271_set_analog_params() 1006 } else if (params->std & V4L2_STD_GH) { in tda18271_set_analog_params() 1009 } else if (params->std & V4L2_STD_PAL_I) { in tda18271_set_analog_params() 1012 } else if (params->std & V4L2_STD_DK) { in tda18271_set_analog_params() 1082 memcpy(&std->std_cfg, &map->std_cfg, \ 1089 name, std->std_cfg.if_freq, \ 1090 std->std_cfg.agc_mode, std->std_cfg.std, \ 1091 std->std_cfg.if_lvl, std->std_cfg.rfagc_top); \ 1097 struct tda18271_std_map *std = &priv->std; in tda18271_dump_std_map() local [all …]
|
| /drivers/media/pci/cx18/ |
| A D | cx18-av-core.c | 277 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() 419 if (std == V4L2_STD_PAL_60) { 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 527 if (std & V4L2_STD_525_60) { in input_change() 541 } else if (std & V4L2_STD_PAL) { in input_change() 852 state->std = norm; in cx18_av_s_std() [all …]
|
| A D | cx18-driver.c | 413 if (cx->std != 0) in cx18_process_eeprom() 426 cx->std = V4L2_STD_ALL; in cx18_process_eeprom() 432 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom() 438 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom() 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() 1038 cx->std = cx->card->tuners[0].std; in cx18_probe() 1093 cx->tuner_std = cx->std; in cx18_probe() 1095 cx->std = V4L2_STD_NTSC_M; in cx18_probe() [all …]
|
| /drivers/media/i2c/cx25840/ |
| A D | cx25840-core.c | 1115 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() 1286 v4l2_std_id std = state->std; in input_change() local 1289 if (std & V4L2_STD_SECAM) { in input_change() 2445 *std = stds[fmt]; in cx25840_querystd() 2474 *std = state->std; in cx25840_g_std() 2484 if (state->radio == 0 && state->std == std) in cx25840_s_std() 2487 state->std = std; in cx25840_s_std() [all …]
|
| /drivers/media/pci/saa7134/ |
| A D | saa7134-tvaudio.c | 54 v4l2_std_id std; member 59 .std = V4L2_STD_MN, 63 .std = V4L2_STD_B | V4L2_STD_GH, 67 .std = V4L2_STD_PAL_I, 79 .std = V4L2_STD_PAL_BG, 85 .std = V4L2_STD_PAL_DK, 91 .std = V4L2_STD_PAL_DK, 97 .std = V4L2_STD_PAL_DK, 109 .std = V4L2_STD_PAL_I, 133 .std = V4L2_STD_NTSC, [all …]
|