/drivers/media/i2c/ |
D | smiapp-pll.c | 69 dev_dbg(dev, "vt_sys_clk_div \t%u\n", pll->vt.sys_clk_div); in print_pll() 70 dev_dbg(dev, "vt_pix_clk_div \t%u\n", pll->vt.pix_clk_div); in print_pll() 81 dev_dbg(dev, "vt_sys_clk_freq_hz \t%u\n", pll->vt.sys_clk_freq_hz); in print_pll() 82 dev_dbg(dev, "vt_pix_clk_freq_hz \t%u\n", pll->vt.pix_clk_freq_hz); in print_pll() 134 dev, pll->vt.sys_clk_freq_hz, in check_all_bounds() 135 limits->vt.min_sys_clk_freq_hz, in check_all_bounds() 136 limits->vt.max_sys_clk_freq_hz, in check_all_bounds() 140 dev, pll->vt.pix_clk_freq_hz, in check_all_bounds() 141 limits->vt.min_pix_clk_freq_hz, in check_all_bounds() 142 limits->vt.max_pix_clk_freq_hz, in check_all_bounds() [all …]
|
D | vp27smpx.c | 92 static int vp27smpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in vp27smpx_s_tuner() argument 97 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner() 101 static int vp27smpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in vp27smpx_g_tuner() argument 107 vt->audmode = state->audmode; in vp27smpx_g_tuner() 108 vt->capability = V4L2_TUNER_CAP_STEREO | in vp27smpx_g_tuner() 110 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vp27smpx_g_tuner()
|
D | sony-btf-mpx.c | 300 static int sony_btf_mpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in sony_btf_mpx_g_tuner() argument 304 vt->capability = V4L2_TUNER_CAP_NORM | in sony_btf_mpx_g_tuner() 307 vt->rxsubchans = V4L2_TUNER_SUB_MONO | in sony_btf_mpx_g_tuner() 310 vt->audmode = t->audmode; in sony_btf_mpx_g_tuner() 314 static int sony_btf_mpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in sony_btf_mpx_s_tuner() argument 318 if (vt->type != V4L2_TUNER_ANALOG_TV) in sony_btf_mpx_s_tuner() 321 if (vt->audmode != t->audmode) { in sony_btf_mpx_s_tuner() 322 t->audmode = vt->audmode; in sony_btf_mpx_s_tuner()
|
D | saa717x.c | 1111 static int saa717x_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in saa717x_s_tuner() argument 1121 switch (vt->audmode) { in saa717x_s_tuner() 1145 static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa717x_g_tuner() argument 1159 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1165 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner() 1166 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner() 1167 vt->rxsubchans = V4L2_TUNER_SUB_STEREO; in saa717x_g_tuner() 1170 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1177 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner() 1178 vt->rxsubchans = V4L2_TUNER_SUB_LANG2 | V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() [all …]
|
D | msp3400-driver.c | 520 static int msp_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in msp_g_tuner() argument 525 if (vt->type != V4L2_TUNER_ANALOG_TV) in msp_g_tuner() 530 vt->rxsubchans = state->rxsubchans; in msp_g_tuner() 532 vt->audmode = state->audmode; in msp_g_tuner() 533 vt->capability |= V4L2_TUNER_CAP_STEREO | in msp_g_tuner() 538 static int msp_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in msp_s_tuner() argument 545 if (state->audmode == vt->audmode) in msp_s_tuner() 547 state->audmode = vt->audmode; in msp_s_tuner()
|
D | smiapp-pll.h | 62 struct smiapp_pll_branch vt; member 93 struct smiapp_pll_branch_limits vt; member
|
D | saa6588.c | 427 static int saa6588_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa6588_g_tuner() argument 431 vt->capability |= V4L2_TUNER_CAP_RDS | V4L2_TUNER_CAP_RDS_BLOCK_IO; in saa6588_g_tuner() 433 vt->rxsubchans |= V4L2_TUNER_SUB_RDS; in saa6588_g_tuner() 437 static int saa6588_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in saa6588_s_tuner() argument
|
/drivers/media/platform/vivid/ |
D | vivid-radio-rx.c | 228 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_radio_rx_g_tuner() argument 234 if (vt->index > 0) in vivid_radio_rx_g_tuner() 237 strlcpy(vt->name, "AM/FM/SW Receiver", sizeof(vt->name)); in vivid_radio_rx_g_tuner() 238 vt->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vivid_radio_rx_g_tuner() 247 vt->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; in vivid_radio_rx_g_tuner() 250 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP; in vivid_radio_rx_g_tuner() 253 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP | in vivid_radio_rx_g_tuner() 257 vt->rangelow = AM_FREQ_RANGE_LOW; in vivid_radio_rx_g_tuner() 258 vt->rangehigh = FM_FREQ_RANGE_HIGH; in vivid_radio_rx_g_tuner() 260 vt->signal = abs(sig_qual) > delta ? 0 : in vivid_radio_rx_g_tuner() [all …]
|
D | vivid-sdr-cap.c | 411 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_sdr_g_tuner() argument 413 switch (vt->index) { in vivid_sdr_g_tuner() 415 strlcpy(vt->name, "ADC", sizeof(vt->name)); in vivid_sdr_g_tuner() 416 vt->type = V4L2_TUNER_ADC; in vivid_sdr_g_tuner() 417 vt->capability = in vivid_sdr_g_tuner() 419 vt->rangelow = bands_adc[0].rangelow; in vivid_sdr_g_tuner() 420 vt->rangehigh = bands_adc[2].rangehigh; in vivid_sdr_g_tuner() 423 strlcpy(vt->name, "RF", sizeof(vt->name)); in vivid_sdr_g_tuner() 424 vt->type = V4L2_TUNER_RF; in vivid_sdr_g_tuner() 425 vt->capability = in vivid_sdr_g_tuner() [all …]
|
D | vivid-radio-rx.h | 28 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 29 int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
|
D | vivid-vid-cap.c | 1450 int vivid_video_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in vivid_video_s_tuner() argument 1454 if (vt->index != 0) in vivid_video_s_tuner() 1456 if (vt->audmode > V4L2_TUNER_MODE_LANG1_LANG2) in vivid_video_s_tuner() 1458 dev->tv_audmode = vt->audmode; in vivid_video_s_tuner() 1462 int vivid_video_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_video_g_tuner() argument 1467 if (vt->index != 0) in vivid_video_g_tuner() 1470 vt->capability = V4L2_TUNER_CAP_NORM | V4L2_TUNER_CAP_STEREO | in vivid_video_g_tuner() 1472 vt->audmode = dev->tv_audmode; in vivid_video_g_tuner() 1473 vt->rangelow = MIN_TV_FREQ; in vivid_video_g_tuner() 1474 vt->rangehigh = MAX_TV_FREQ; in vivid_video_g_tuner() [all …]
|
D | vivid-sdr-cap.h | 26 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 27 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
|
/drivers/md/persistent-data/ |
D | dm-array.c | 124 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries() local 126 if (vt->inc) in inc_ablock_entries() 127 on_entries(info, ab, vt->inc); in inc_ablock_entries() 135 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries() local 137 if (vt->dec) in dec_ablock_entries() 138 on_entries(info, ab, vt->dec); in dec_ablock_entries() 180 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock() local 187 if (vt->inc) in fill_ablock() 188 vt->inc(vt->context, value); in fill_ablock() 189 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock() [all …]
|
D | dm-btree-spine.c | 102 struct dm_btree_value_type *vt, in bn_shadow() argument 110 inc_children(info->tm, dm_block_data(*result), vt); in bn_shadow() 200 struct dm_btree_value_type *vt) in shadow_step() argument 210 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step() 273 struct dm_btree_value_type *vt) in init_le64_type() argument 275 vt->context = tm; in init_le64_type() 276 vt->size = sizeof(__le64); in init_le64_type() 277 vt->inc = le64_inc; in init_le64_type() 278 vt->dec = le64_dec; in init_le64_type() 279 vt->equal = le64_equal; in init_le64_type()
|
D | dm-btree-remove.c | 142 static int init_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in init_child() argument 160 inc_children(info->tm, result->n, vt); in init_child() 238 struct dm_btree_value_type *vt, unsigned left_index) in rebalance2() argument 246 r = init_child(info, vt, parent, left_index, &left); in rebalance2() 250 r = init_child(info, vt, parent, left_index + 1, &right); in rebalance2() 372 struct dm_btree_value_type *vt, unsigned left_index) in rebalance3() argument 381 r = init_child(info, vt, parent, left_index, &left); in rebalance3() 385 r = init_child(info, vt, parent, left_index + 1, ¢er); in rebalance3() 391 r = init_child(info, vt, parent, left_index + 2, &right); in rebalance3() 409 struct dm_btree_value_type *vt, uint64_t key) in rebalance_children() argument [all …]
|
D | dm-btree-internal.h | 52 struct dm_btree_value_type *vt); 89 struct dm_btree_value_type *vt); 145 struct dm_btree_value_type *vt);
|
/drivers/media/v4l2-core/ |
D | tuner-core.c | 1189 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument 1195 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner() 1197 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner() 1198 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner() 1199 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner() 1200 u16 signal = (u16)vt->signal; in tuner_g_tuner() 1203 vt->signal = signal; in tuner_g_tuner() 1205 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner() 1206 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner() 1207 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner() [all …]
|
/drivers/media/pci/ivtv/ |
D | ivtv-gpio.c | 181 static int subdev_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in subdev_g_tuner() argument 188 vt->rxsubchans = V4L2_TUNER_SUB_STEREO | in subdev_g_tuner() 191 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in subdev_g_tuner() 195 static int subdev_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in subdev_s_tuner() argument 201 switch (vt->audmode) { in subdev_s_tuner()
|
/drivers/tty/hvc/ |
D | hvc_dcc.c | 24 static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count) in hvc_dcc_put_chars() argument 38 static int hvc_dcc_get_chars(uint32_t vt, char *buf, int count) in hvc_dcc_get_chars() argument
|
D | hvc_bfin_jtag.c | 41 static int hvc_bfin_put_chars(uint32_t vt, const char *buf, int count) in hvc_bfin_put_chars() argument 65 static int hvc_bfin_get_chars(uint32_t vt, char *buf, int count) in hvc_bfin_get_chars() argument
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 322 static int pvr2_g_tuner(struct file *file, void *priv, struct v4l2_tuner *vt) in pvr2_g_tuner() argument 327 if (vt->index != 0) in pvr2_g_tuner() 331 return pvr2_hdw_get_tuner_status(hdw, vt); in pvr2_g_tuner() 334 static int pvr2_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *vt) in pvr2_s_tuner() argument 339 if (vt->index != 0) in pvr2_s_tuner() 344 vt->audmode); in pvr2_s_tuner() 352 struct v4l2_tuner vt; in pvr2_s_frequency() local 357 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_s_frequency() 372 if (vt.capability & V4L2_TUNER_CAP_LOW) in pvr2_s_frequency() 386 struct v4l2_tuner vt; in pvr2_g_frequency() local [all …]
|
/drivers/md/ |
D | dm-era-target.c | 399 struct dm_btree_value_type *vt = &md->writeset_tree_info.value_type; in setup_writeset_tree_info() local 402 vt->context = md; in setup_writeset_tree_info() 403 vt->size = sizeof(struct writeset_disk); in setup_writeset_tree_info() 404 vt->inc = ws_inc; in setup_writeset_tree_info() 405 vt->dec = ws_dec; in setup_writeset_tree_info() 406 vt->equal = ws_eq; in setup_writeset_tree_info() 412 struct dm_btree_value_type vt; in setup_era_array_info() local 413 vt.context = NULL; in setup_era_array_info() 414 vt.size = sizeof(__le32); in setup_era_array_info() 415 vt.inc = NULL; in setup_era_array_info() [all …]
|
/drivers/media/dvb-frontends/ |
D | au8522_decoder.c | 666 static int au8522_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in au8522_g_tuner() argument 675 vt->signal = 0xffff; in au8522_g_tuner() 677 vt->signal = 0x00; in au8522_g_tuner() 679 vt->capability |= in au8522_g_tuner() 684 vt->rxsubchans = val; in au8522_g_tuner() 685 vt->audmode = V4L2_TUNER_MODE_STEREO; in au8522_g_tuner()
|
/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 618 static int cx18_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in cx18_s_tuner() argument 623 if (vt->index != 0) in cx18_s_tuner() 626 cx18_call_all(cx, tuner, s_tuner, vt); in cx18_s_tuner() 630 static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_g_tuner() argument 634 if (vt->index != 0) in cx18_g_tuner() 637 cx18_call_all(cx, tuner, g_tuner, vt); in cx18_g_tuner() 639 if (vt->type == V4L2_TUNER_RADIO) in cx18_g_tuner() 640 strlcpy(vt->name, "cx18 Radio Tuner", sizeof(vt->name)); in cx18_g_tuner() 642 strlcpy(vt->name, "cx18 TV Tuner", sizeof(vt->name)); in cx18_g_tuner()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | devices.c | 392 u32 vt = 0; in iwl5150_temperature() local 395 vt = le32_to_cpu(priv->statistics.common.temperature); in iwl5150_temperature() 396 vt = vt / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF + offset; in iwl5150_temperature() 398 priv->temperature = KELVIN_TO_CELSIUS(vt); in iwl5150_temperature()
|