/drivers/pinctrl/bcm/ |
D | pinctrl-bcm281xx.c | 384 BCM281XX_PIN_DESC(BCM281XX_PIN_ADCSYNC, "adcsync", std), 385 BCM281XX_PIN_DESC(BCM281XX_PIN_BAT_RM, "bat_rm", std), 390 BCM281XX_PIN_DESC(BCM281XX_PIN_CLASSGPWR, "classgpwr", std), 391 BCM281XX_PIN_DESC(BCM281XX_PIN_CLK_CX8, "clk_cx8", std), 392 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_0, "clkout_0", std), 393 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_1, "clkout_1", std), 394 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_2, "clkout_2", std), 395 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKOUT_3, "clkout_3", std), 396 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_0, "clkreq_in_0", std), 397 BCM281XX_PIN_DESC(BCM281XX_PIN_CLKREQ_IN_1, "clkreq_in_1", std), [all …]
|
/drivers/media/i2c/adv748x/ |
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() 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/ |
D | adv7183.c | 28 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 …]
|
D | msp3400-kthreads.c | 26 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() 686 int val, i, std, count; in msp3410d_thread() local 719 std = 0x40; in msp3410d_thread() 721 std = (state->v4l2_std & V4L2_STD_NTSC) ? 0x20 : 1; in msp3410d_thread() 732 msp_standard_std_name(std), std); in msp3410d_thread() [all …]
|
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() 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 …]
|
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() 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 …]
|
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() 233 static int ml86v7667_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in ml86v7667_g_std() argument 237 *std = priv->std; in ml86v7667_g_std() 242 static int ml86v7667_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ml86v7667_s_std() argument 250 mode = std & V4L2_STD_525_60 ? MRA_NTSC_BT601 : MRA_PAL_BT601; in ml86v7667_s_std() 255 priv->std = std; in ml86v7667_s_std() [all …]
|
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() 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 …]
|
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() 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 …]
|
D | ks0127.c | 534 static int ks0127_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in ks0127_s_std() argument 541 ks->norm = std; in ks0127_s_std() 542 if (std & V4L2_STD_NTSC) { in ks0127_s_std() 546 } else if (std & V4L2_STD_PAL_N) { in ks0127_s_std() 550 } else if (std & V4L2_STD_PAL) { in ks0127_s_std() 554 } else if (std & V4L2_STD_PAL_M) { in ks0127_s_std() 558 } else if (std & V4L2_STD_SECAM) { in ks0127_s_std() 573 (unsigned long long)std); in ks0127_s_std() 599 v4l2_std_id std = pstd ? *pstd : V4L2_STD_ALL; in ks0127_status() local 606 std = V4L2_STD_UNKNOWN; in ks0127_status() [all …]
|
D | tvp5150.c | 683 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 …]
|
D | saa7115.c | 81 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/ |
D | dell-smbios-wmi.c | 56 input.pointer = &priv->buf->std; in run_smbios_call() 59 priv->buf->std.cmd_class, priv->buf->std.cmd_select, in run_smbios_call() 60 priv->buf->std.input[0], priv->buf->std.input[1], in run_smbios_call() 61 priv->buf->std.input[2], priv->buf->std.input[3]); in run_smbios_call() 75 memcpy(&priv->buf->std, obj->buffer.pointer, obj->buffer.length); in run_smbios_call() 77 priv->buf->std.output[0], priv->buf->std.output[1], in run_smbios_call() 78 priv->buf->std.output[2], priv->buf->std.output[3]); in run_smbios_call() 102 memcpy(&priv->buf->std, buffer, size); in dell_smbios_wmi_call() 104 memcpy(buffer, &priv->buf->std, size); in dell_smbios_wmi_call() 126 if (dell_smbios_call_filter(&wdev->dev, &priv->buf->std)) { in dell_smbios_wmi_filter() [all …]
|
/drivers/media/pci/ivtv/ |
D | ivtv-cards.c | 253 { .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 …]
|
D | ivtv-driver.c | 528 if (itv->std != 0) in ivtv_process_eeprom() 535 itv->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; in ivtv_process_eeprom() 538 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom() 541 itv->std |= V4L2_STD_SECAM_L; in ivtv_process_eeprom() 544 itv->std |= V4L2_STD_NTSC_M; in ivtv_process_eeprom() 670 itv->std = ivtv_parse_std(itv); in ivtv_process_options() 671 if (itv->std == 0 && tunertype >= 0) in ivtv_process_options() 672 itv->std = tunertype ? V4L2_STD_MN : (V4L2_STD_ALL & ~V4L2_STD_MN); in ivtv_process_options() 1109 if (itv->std == 0) { in ivtv_probe() 1110 itv->std = V4L2_STD_NTSC_M; in ivtv_probe() [all …]
|
/drivers/media/tuners/ |
D | tda9887.c | 39 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 …]
|
D | si2157.c | 510 char *std; /* for debugging */ in si2157_set_analog_params() local 556 if (params->std & (V4L2_STD_B | V4L2_STD_GH)) { in si2157_set_analog_params() 558 std = "palGH"; in si2157_set_analog_params() 562 if (params->std & in si2157_set_analog_params() 564 std = "secamGH"; in si2157_set_analog_params() 568 std = "palB"; in si2157_set_analog_params() 572 if (params->std & V4L2_STD_SECAM_B) { in si2157_set_analog_params() 573 std = "secamB"; in si2157_set_analog_params() 577 } else if (params->std & V4L2_STD_MN) { in si2157_set_analog_params() 578 std = "MN"; in si2157_set_analog_params() [all …]
|
D | xc4000.c | 924 v4l2_std_id std, __u16 int_freq) in check_firmware() argument 943 new_fw.id = std; in check_firmware() 944 new_fw.std_req = std; in check_firmware() 1001 priv->cur_fw.std_req == std) { in check_firmware() 1269 params->std = 0; in xc4000_set_analog_params() 1291 params->std &= V4L2_STD_ALL; in xc4000_set_analog_params() 1293 if (!params->std) in xc4000_set_analog_params() 1294 params->std = V4L2_STD_PAL_BG; in xc4000_set_analog_params() 1299 if (params->std & V4L2_STD_MN) { in xc4000_set_analog_params() 1300 params->std = V4L2_STD_MN; in xc4000_set_analog_params() [all …]
|
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, 1192 .dvbt_6 = { .if_freq = 3300, .fm_rfn = 0, .agc_mode = 3, .std = 4, [all …]
|
D | tda18271-fe.c | 86 regs[R_EP3] |= (map->agc_mode << 3) | map->std; in tda18271_channel_configuration() 891 freq, map->if_freq, bw, map->agc_mode, map->std); in tda18271_tune() 927 struct tda18271_std_map *std_map = &priv->std; in tda18271_set_params() 987 struct tda18271_std_map *std_map = &priv->std; in tda18271_set_analog_params() 999 } else if (params->std & V4L2_STD_MN) { in tda18271_set_analog_params() 1002 } else if (params->std & V4L2_STD_B) { in tda18271_set_analog_params() 1005 } else if (params->std & V4L2_STD_GH) { in tda18271_set_analog_params() 1008 } else if (params->std & V4L2_STD_PAL_I) { in tda18271_set_analog_params() 1011 } else if (params->std & V4L2_STD_DK) { in tda18271_set_analog_params() 1014 } else if (params->std & V4L2_STD_SECAM_L) { in tda18271_set_analog_params() [all …]
|
/drivers/media/pci/cx18/ |
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() 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 …]
|
D | cx18-driver.c | 414 if (cx->std != 0) in cx18_process_eeprom() 427 cx->std = V4L2_STD_ALL; in cx18_process_eeprom() 430 cx->std |= V4L2_STD_PAL_BG | V4L2_STD_PAL_H; in cx18_process_eeprom() 433 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom() 436 cx->std |= V4L2_STD_SECAM_L; in cx18_process_eeprom() 439 cx->std |= V4L2_STD_NTSC_M; in cx18_process_eeprom() 633 cx->std = cx18_parse_std(cx); in cx18_process_options() 1026 if (cx->std == 0) in cx18_probe() 1027 cx->std = V4L2_STD_NTSC_M; in cx18_probe() 1031 if ((cx->std & cx->card->tuners[i].std) == 0) in cx18_probe() [all …]
|
/drivers/clk/ |
D | clk-oxnas.c | 48 struct clk_oxnas_gate *std = to_clk_oxnas_gate(hw); in oxnas_clk_gate_is_enabled() local 52 ret = regmap_read(std->regmap, CLK_STAT_REGOFFSET, &val); in oxnas_clk_gate_is_enabled() 56 return val & BIT(std->bit); in oxnas_clk_gate_is_enabled() 61 struct clk_oxnas_gate *std = to_clk_oxnas_gate(hw); in oxnas_clk_gate_enable() local 63 regmap_write(std->regmap, CLK_SET_REGOFFSET, BIT(std->bit)); in oxnas_clk_gate_enable() 70 struct clk_oxnas_gate *std = to_clk_oxnas_gate(hw); in oxnas_clk_gate_disable() local 72 regmap_write(std->regmap, CLK_CLR_REGOFFSET, BIT(std->bit)); in oxnas_clk_gate_disable()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-std.c | 278 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/pci/saa7134/ |
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, 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 …]
|