/Linux-v6.1/drivers/media/test-drivers/vivid/ |
D | vivid-radio-rx.c | 217 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_radio_rx_g_tuner() argument 223 if (vt->index > 0) in vivid_radio_rx_g_tuner() 226 strscpy(vt->name, "AM/FM/SW Receiver", sizeof(vt->name)); in vivid_radio_rx_g_tuner() 227 vt->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | in vivid_radio_rx_g_tuner() 236 vt->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; in vivid_radio_rx_g_tuner() 239 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP; in vivid_radio_rx_g_tuner() 242 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP | in vivid_radio_rx_g_tuner() 246 vt->rangelow = AM_FREQ_RANGE_LOW; in vivid_radio_rx_g_tuner() 247 vt->rangehigh = FM_FREQ_RANGE_HIGH; in vivid_radio_rx_g_tuner() 249 vt->signal = abs(sig_qual) > delta ? 0 : in vivid_radio_rx_g_tuner() [all …]
|
D | vivid-sdr-cap.c | 418 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_sdr_g_tuner() argument 420 switch (vt->index) { in vivid_sdr_g_tuner() 422 strscpy(vt->name, "ADC", sizeof(vt->name)); in vivid_sdr_g_tuner() 423 vt->type = V4L2_TUNER_ADC; in vivid_sdr_g_tuner() 424 vt->capability = in vivid_sdr_g_tuner() 426 vt->rangelow = bands_adc[0].rangelow; in vivid_sdr_g_tuner() 427 vt->rangehigh = bands_adc[2].rangehigh; in vivid_sdr_g_tuner() 430 strscpy(vt->name, "RF", sizeof(vt->name)); in vivid_sdr_g_tuner() 431 vt->type = V4L2_TUNER_RF; in vivid_sdr_g_tuner() 432 vt->capability = in vivid_sdr_g_tuner() [all …]
|
D | vivid-radio-rx.h | 16 int vivid_radio_rx_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 17 int vivid_radio_rx_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
|
D | vivid-sdr-cap.h | 14 int vivid_sdr_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt); 15 int vivid_sdr_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt);
|
D | vivid-vid-cap.c | 1534 int vivid_video_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in vivid_video_s_tuner() argument 1538 if (vt->index != 0) in vivid_video_s_tuner() 1540 if (vt->audmode > V4L2_TUNER_MODE_LANG1_LANG2) in vivid_video_s_tuner() 1542 dev->tv_audmode = vt->audmode; in vivid_video_s_tuner() 1546 int vivid_video_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in vivid_video_g_tuner() argument 1551 if (vt->index != 0) in vivid_video_g_tuner() 1554 vt->capability = V4L2_TUNER_CAP_NORM | V4L2_TUNER_CAP_STEREO | in vivid_video_g_tuner() 1556 vt->audmode = dev->tv_audmode; in vivid_video_g_tuner() 1557 vt->rangelow = MIN_TV_FREQ; in vivid_video_g_tuner() 1558 vt->rangehigh = MAX_TV_FREQ; in vivid_video_g_tuner() [all …]
|
/Linux-v6.1/net/vmw_vsock/ |
D | af_vsock_tap.c | 17 int vsock_add_tap(struct vsock_tap *vt) in vsock_add_tap() argument 19 if (unlikely(vt->dev->type != ARPHRD_VSOCKMON)) in vsock_add_tap() 22 __module_get(vt->module); in vsock_add_tap() 25 list_add_rcu(&vt->list, &vsock_tap_all); in vsock_add_tap() 32 int vsock_remove_tap(struct vsock_tap *vt) in vsock_remove_tap() argument 40 if (vt == tmp) { in vsock_remove_tap() 41 list_del_rcu(&vt->list); in vsock_remove_tap() 47 pr_warn("vsock_remove_tap: %p not found\n", vt); in vsock_remove_tap() 54 module_put(vt->module); in vsock_remove_tap()
|
/Linux-v6.1/drivers/md/persistent-data/ |
D | dm-array.c | 122 struct dm_btree_value_type *vt = &info->value_type; in inc_ablock_entries() local 124 if (vt->inc) in inc_ablock_entries() 125 on_entries(info, ab, vt->inc); in inc_ablock_entries() 133 struct dm_btree_value_type *vt = &info->value_type; in dec_ablock_entries() local 135 if (vt->dec) in dec_ablock_entries() 136 on_entries(info, ab, vt->dec); in dec_ablock_entries() 177 struct dm_btree_value_type *vt = &info->value_type; in fill_ablock() local 184 if (vt->inc) in fill_ablock() 185 vt->inc(vt->context, value, delta); in fill_ablock() 187 memcpy(element_at(info, ab, i), value, vt->size); in fill_ablock() [all …]
|
D | dm-btree-spine.c | 98 struct dm_btree_value_type *vt, in bn_shadow() argument 106 inc_children(info->tm, dm_block_data(*result), vt); in bn_shadow() 192 struct dm_btree_value_type *vt) in shadow_step() argument 202 r = bn_shadow(s->info, b, vt, s->nodes + s->count); in shadow_step() 257 struct dm_btree_value_type *vt) in init_le64_type() argument 259 vt->context = tm; in init_le64_type() 260 vt->size = sizeof(__le64); in init_le64_type() 261 vt->inc = le64_inc; in init_le64_type() 262 vt->dec = le64_dec; in init_le64_type() 263 vt->equal = le64_equal; in init_le64_type()
|
D | dm-btree-remove.c | 158 static int init_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in init_child() argument 176 inc_children(info->tm, result->n, vt); in init_child() 276 struct dm_btree_value_type *vt, unsigned left_index) in rebalance2() argument 284 r = init_child(info, vt, parent, left_index, &left); in rebalance2() 288 r = init_child(info, vt, parent, left_index + 1, &right); in rebalance2() 443 struct dm_btree_value_type *vt, unsigned left_index) in rebalance3() argument 452 r = init_child(info, vt, parent, left_index, &left); in rebalance3() 456 r = init_child(info, vt, parent, left_index + 1, ¢er); in rebalance3() 462 r = init_child(info, vt, parent, left_index + 2, &right); in rebalance3() 480 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);
|
D | dm-btree.c | 72 struct dm_btree_value_type *vt) in inc_children() argument 79 else if (vt->inc) in inc_children() 80 vt->inc(vt->context, value_ptr(n, 0), nr_entries); in inc_children() 646 struct dm_btree_value_type *vt, uint64_t key) in split_one_into_two() argument 698 static int shadow_child(struct dm_btree_info *info, struct dm_btree_value_type *vt, in shadow_child() argument 716 inc_children(info->tm, node, vt); in shadow_child() 729 struct dm_btree_value_type *vt, uint64_t key) in split_two_into_three() argument 743 r = shadow_child(s->info, vt, pn, parent_index + 1, &right); in split_two_into_three() 749 r = shadow_child(s->info, vt, pn, parent_index - 1, &left); in split_two_into_three() 906 static int rebalance_left(struct shadow_spine *s, struct dm_btree_value_type *vt, in rebalance_left() argument [all …]
|
/Linux-v6.1/drivers/tty/hvc/ |
D | hvc_dcc.c | 57 static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count) in hvc_dcc_put_chars() argument 71 static int hvc_dcc_get_chars(uint32_t vt, char *buf, int count) in hvc_dcc_get_chars() argument 175 static int hvc_dcc0_put_chars(u32 vt, const char *buf, int count) in hvc_dcc0_put_chars() argument 181 return hvc_dcc_put_chars(vt, buf, count); in hvc_dcc0_put_chars() 204 len = hvc_dcc_put_chars(vt, buf, count); in hvc_dcc0_put_chars() 214 static int hvc_dcc0_get_chars(u32 vt, char *buf, int count) in hvc_dcc0_get_chars() argument 220 return hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_get_chars() 245 len = hvc_dcc_get_chars(vt, buf, count); in hvc_dcc0_get_chars()
|
/Linux-v6.1/drivers/media/i2c/ |
D | vp27smpx.c | 79 static int vp27smpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in vp27smpx_s_tuner() argument 84 vp27smpx_set_audmode(sd, vt->audmode); in vp27smpx_s_tuner() 88 static int vp27smpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in vp27smpx_g_tuner() argument 94 vt->audmode = state->audmode; in vp27smpx_g_tuner() 95 vt->capability = V4L2_TUNER_CAP_STEREO | in vp27smpx_g_tuner() 97 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in vp27smpx_g_tuner()
|
D | sony-btf-mpx.c | 288 static int sony_btf_mpx_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in sony_btf_mpx_g_tuner() argument 292 vt->capability = V4L2_TUNER_CAP_NORM | in sony_btf_mpx_g_tuner() 295 vt->rxsubchans = V4L2_TUNER_SUB_MONO | in sony_btf_mpx_g_tuner() 298 vt->audmode = t->audmode; in sony_btf_mpx_g_tuner() 302 static int sony_btf_mpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in sony_btf_mpx_s_tuner() argument 306 if (vt->type != V4L2_TUNER_ANALOG_TV) in sony_btf_mpx_s_tuner() 309 if (vt->audmode != t->audmode) { in sony_btf_mpx_s_tuner() 310 t->audmode = vt->audmode; in sony_btf_mpx_s_tuner()
|
D | saa717x.c | 1098 static int saa717x_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in saa717x_s_tuner() argument 1108 switch (vt->audmode) { in saa717x_s_tuner() 1132 static int saa717x_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in saa717x_g_tuner() argument 1146 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1152 if (vt->audmode == V4L2_TUNER_MODE_STEREO || in saa717x_g_tuner() 1153 vt->audmode == V4L2_TUNER_MODE_LANG1) { in saa717x_g_tuner() 1154 vt->rxsubchans = V4L2_TUNER_SUB_STEREO; in saa717x_g_tuner() 1157 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() 1164 if (vt->audmode == V4L2_TUNER_MODE_LANG2) { in saa717x_g_tuner() 1165 vt->rxsubchans = V4L2_TUNER_SUB_LANG2 | V4L2_TUNER_SUB_MONO; in saa717x_g_tuner() [all …]
|
D | msp3400-driver.c | 506 static int msp_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in msp_g_tuner() argument 511 if (vt->type != V4L2_TUNER_ANALOG_TV) in msp_g_tuner() 516 vt->rxsubchans = state->rxsubchans; in msp_g_tuner() 518 vt->audmode = state->audmode; in msp_g_tuner() 519 vt->capability |= V4L2_TUNER_CAP_STEREO | in msp_g_tuner() 524 static int msp_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in msp_s_tuner() argument 531 if (state->audmode == vt->audmode) in msp_s_tuner() 533 state->audmode = vt->audmode; in msp_s_tuner()
|
/Linux-v6.1/drivers/net/ |
D | vsockmon.c | 30 struct vsock_tap vt; member 37 vsockmon->vt.dev = dev; in vsockmon_open() 38 vsockmon->vt.module = THIS_MODULE; in vsockmon_open() 39 return vsock_add_tap(&vsockmon->vt); in vsockmon_open() 46 return vsock_remove_tap(&vsockmon->vt); in vsockmon_close()
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | tuner-core.c | 1233 static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in tuner_g_tuner() argument 1239 if (check_mode(t, vt->type) == -EINVAL) in tuner_g_tuner() 1241 if (vt->type == t->mode && analog_ops->get_afc) in tuner_g_tuner() 1242 analog_ops->get_afc(&t->fe, &vt->afc); in tuner_g_tuner() 1243 if (vt->type == t->mode && analog_ops->has_signal) { in tuner_g_tuner() 1244 u16 signal = (u16)vt->signal; in tuner_g_tuner() 1247 vt->signal = signal; in tuner_g_tuner() 1249 if (vt->type != V4L2_TUNER_RADIO) { in tuner_g_tuner() 1250 vt->capability |= V4L2_TUNER_CAP_NORM; in tuner_g_tuner() 1251 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner() [all …]
|
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/smsc/ |
D | smc9.rst | 43 ftp://fenris.campus.vt.edu/smc9/smc9-12.tar.gz 44 ftp://sfbox.vt.edu/filebox/F/fenris/smc9/smc9-12.tar.gz 48 erik@mail.vt.edu
|
/Linux-v6.1/drivers/media/pci/ivtv/ |
D | ivtv-gpio.c | 169 static int subdev_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in subdev_g_tuner() argument 176 vt->rxsubchans = V4L2_TUNER_SUB_STEREO | in subdev_g_tuner() 179 vt->rxsubchans = V4L2_TUNER_SUB_MONO; in subdev_g_tuner() 183 static int subdev_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *vt) in subdev_s_tuner() argument 189 switch (vt->audmode) { in subdev_s_tuner()
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | mt6380-regulator.txt | 13 ldo-vm ,ldo-va , ldo-vphy, ldo-vddr, ldo-vt 81 mt6380_vt_reg: ldo-vt { 82 regulator-name = "vt";
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | au8522_decoder.c | 610 static int au8522_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt) in au8522_g_tuner() argument 621 vt->signal = 0xffff; in au8522_g_tuner() 623 vt->signal = 0x00; in au8522_g_tuner() 625 vt->capability |= in au8522_g_tuner() 630 vt->rxsubchans = val; in au8522_g_tuner() 631 vt->audmode = V4L2_TUNER_MODE_STEREO; in au8522_g_tuner()
|
/Linux-v6.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 287 static int pvr2_g_tuner(struct file *file, void *priv, struct v4l2_tuner *vt) in pvr2_g_tuner() argument 292 if (vt->index != 0) in pvr2_g_tuner() 296 return pvr2_hdw_get_tuner_status(hdw, vt); in pvr2_g_tuner() 299 static int pvr2_s_tuner(struct file *file, void *priv, const struct v4l2_tuner *vt) in pvr2_s_tuner() argument 305 if (vt->index != 0) in pvr2_s_tuner() 310 vt->audmode); in pvr2_s_tuner() 320 struct v4l2_tuner vt; in pvr2_s_frequency() local 325 ret = pvr2_hdw_get_tuner_status(hdw, &vt); in pvr2_s_frequency() 340 if (vt.capability & V4L2_TUNER_CAP_LOW) in pvr2_s_frequency() 356 struct v4l2_tuner vt; in pvr2_g_frequency() local [all …]
|
/Linux-v6.1/drivers/md/ |
D | dm-era-target.c | 403 struct dm_btree_value_type *vt = &md->writeset_tree_info.value_type; in setup_writeset_tree_info() local 406 vt->context = md; in setup_writeset_tree_info() 407 vt->size = sizeof(struct writeset_disk); in setup_writeset_tree_info() 408 vt->inc = ws_inc; in setup_writeset_tree_info() 409 vt->dec = ws_dec; in setup_writeset_tree_info() 410 vt->equal = ws_eq; in setup_writeset_tree_info() 416 struct dm_btree_value_type vt; in setup_era_array_info() local 417 vt.context = NULL; in setup_era_array_info() 418 vt.size = sizeof(__le32); in setup_era_array_info() 419 vt.inc = NULL; in setup_era_array_info() [all …]
|
/Linux-v6.1/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 610 static int cx18_s_tuner(struct file *file, void *fh, const struct v4l2_tuner *vt) in cx18_s_tuner() argument 615 if (vt->index != 0) in cx18_s_tuner() 618 cx18_call_all(cx, tuner, s_tuner, vt); in cx18_s_tuner() 622 static int cx18_g_tuner(struct file *file, void *fh, struct v4l2_tuner *vt) in cx18_g_tuner() argument 626 if (vt->index != 0) in cx18_g_tuner() 629 cx18_call_all(cx, tuner, g_tuner, vt); in cx18_g_tuner() 631 if (vt->type == V4L2_TUNER_RADIO) in cx18_g_tuner() 632 strscpy(vt->name, "cx18 Radio Tuner", sizeof(vt->name)); in cx18_g_tuner() 634 strscpy(vt->name, "cx18 TV Tuner", sizeof(vt->name)); in cx18_g_tuner()
|