/linux/drivers/media/radio/ |
H A D | radio-tea5777.c | 146 .rangelow = 76000 * 16, 156 .rangelow = 530 * 16, 178 freq = clamp(tea->freq, bands[tea->band].rangelow, in radio_tea5777_set_freq() 302 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : in vidioc_g_tuner() 303 bands[BAND_FM].rangelow; in vidioc_g_tuner() 374 u32 rangelow = a->rangelow; in vidioc_s_hw_freq_seek() local 385 if (rangelow || rangehigh) { in vidioc_s_hw_freq_seek() 389 if (bands[i].rangelow >= rangelow && in vidioc_s_hw_freq_seek() 397 if (tea->freq < rangelow || tea->freq > rangehigh) { in vidioc_s_hw_freq_seek() 398 tea->freq = clamp(tea->freq, rangelow, in vidioc_s_hw_freq_seek() [all …]
|
H A D | tea575x.c | 55 .rangelow = 87500 * 16, 64 .rangelow = 76000 * 16, 72 .rangelow = 530 * 16, 170 return clamp(freq * 16, bands[tea->band].rangelow, in snd_tea575x_val_to_freq() 287 v->rangelow = tea->has_am ? bands[BAND_AM].rangelow : band_fm.rangelow; in snd_tea575x_g_tuner() 350 tea->freq = clamp_t(u32, f->frequency, bands[tea->band].rangelow, in vidioc_s_frequency() 370 if (a->rangelow || a->rangehigh) { in snd_tea575x_s_hw_freq_seek() 376 if (bands[i].rangelow == a->rangelow && in snd_tea575x_s_hw_freq_seek() 384 tea->freq = clamp(tea->freq, bands[i].rangelow, in snd_tea575x_s_hw_freq_seek()
|
H A D | radio-cadet.c | 99 .rangelow = 8320, /* 520 kHz */ 108 .rangelow = 1400000, /* 87.5 MHz */ 220 freq = clamp(freq, bands[dev->is_fm_band].rangelow, in cadet_setfreq() 373 v->rangelow = bands[0].rangelow; /* 520 kHz (start of AM band) */ in vidioc_g_tuner() 384 v->rangelow = 8320; /* 520 kHz */ in vidioc_g_tuner() 431 f->frequency >= (bands[0].rangehigh + bands[1].rangelow) / 2; in vidioc_s_frequency() 573 cadet_setfreq(dev, bands[1].rangelow); in cadet_probe() 574 if (cadet_getfreq(dev) == bands[1].rangelow) { in cadet_probe() 638 dev->curfreq = bands[dev->is_fm_band].rangelow; in cadet_init()
|
H A D | radio-raremono.c | 80 .rangelow = FM_FREQ_RANGE_LOW * 16, 89 .rangelow = AM_FREQ_RANGE_LOW * 16, 98 .rangelow = SW_FREQ_RANGE_LOW * 16, 216 v->rangelow = AM_FREQ_RANGE_LOW * 16; in vidioc_g_tuner() 256 freq = clamp_t(u32, f->frequency, bands[band].rangelow, bands[band].rangehigh); in vidioc_s_frequency()
|
H A D | tef6862.c | 76 v->rangelow = TEF6862_LO_FREQ; in tef6862_g_tuner()
|
H A D | radio-sf16fmi.c | 149 v->rangelow = RSF16_MINFREQ; in vidioc_g_tuner()
|
H A D | radio-ma901.c | 216 v->rangelow = FREQ_MIN * FREQ_MUL; in vidioc_g_tuner()
|
H A D | radio-keene.c | 183 v->rangelow = FREQ_MIN * FREQ_MUL; in vidioc_g_modulator()
|
H A D | dsbr100.c | 185 v->rangelow = FREQ_MIN * FREQ_MUL; in vidioc_g_tuner()
|
/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-rx.c | 163 if (!a->rangelow ^ !a->rangehigh) in vivid_radio_rx_s_hw_freq_seek() 169 if (a->rangelow) { in vivid_radio_rx_s_hw_freq_seek() 171 if (a->rangelow >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek() 177 (a->rangelow != vivid_radio_bands[band].rangelow || in vivid_radio_rx_s_hw_freq_seek() 180 low = a->rangelow; in vivid_radio_rx_s_hw_freq_seek() 184 if (dev->radio_rx_freq >= vivid_radio_bands[band].rangelow && in vivid_radio_rx_s_hw_freq_seek() 189 low = vivid_radio_bands[band].rangelow; in vivid_radio_rx_s_hw_freq_seek() 246 vt->rangelow = AM_FREQ_RANGE_LOW; in vivid_radio_rx_g_tuner()
|
H A D | vivid-radio-common.c | 30 .rangelow = FM_FREQ_RANGE_LOW, 39 .rangelow = AM_FREQ_RANGE_LOW, 48 .rangelow = SW_FREQ_RANGE_LOW, 165 freq = clamp_t(u32, vf->frequency, vivid_radio_bands[band].rangelow, in vivid_radio_s_frequency()
|
H A D | vivid-radio-tx.c | 112 a->rangelow = AM_FREQ_RANGE_LOW; in vidioc_g_modulator()
|
/linux/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 142 .rangelow = 87500 * 16, 154 .rangelow = 76000 * 16, 166 .rangelow = 76000 * 16, 268 *freq = chan * si470x_get_step(radio) + bands[radio->band].rangelow; in si470x_get_freq() 281 freq = clamp(freq, bands[radio->band].rangelow, in si470x_set_freq() 284 chan = (freq - bands[radio->band].rangelow) / si470x_get_step(radio); in si470x_set_freq() 303 if (seek->rangelow || seek->rangehigh) { in si470x_set_seek() 305 if (bands[band].rangelow == seek->rangelow && in si470x_set_seek() 622 tuner->rangelow = 76 * FREQ_MUL; in si470x_vidioc_g_tuner() 711 if (freq->frequency < bands[radio->band].rangelow || in si470x_vidioc_s_frequency()
|
/linux/drivers/media/tuners/ |
H A D | msi001.c | 19 .rangelow = 49000000, 25 .rangelow = 390000000, 302 v->rangelow = 49000000; in msi001_g_tuner() 337 if (f->frequency < ((bands[0].rangehigh + bands[1].rangelow) / 2)) in msi001_s_frequency() 342 bands[band].rangelow, bands[band].rangehigh); in msi001_s_frequency() 360 band->rangelow = bands[band->index].rangelow; in msi001_enum_freq_bands() 436 dev->f_tuner = bands[0].rangelow; in msi001_probe()
|
H A D | fc2580.c | 366 .rangelow = 130000000, 398 v->rangelow = bands[0].rangelow; in fc2580_g_tuner() 432 bands[0].rangelow, bands[0].rangehigh); in fc2580_s_frequency() 449 band->rangelow = bands[band->index].rangelow; in fc2580_enum_freq_bands() 571 dev->f_frequency = bands[0].rangelow; in fc2580_probe()
|
H A D | e4000.c | 266 .rangelow = 59000000, 273 .rangelow = 1249000000, 305 v->rangelow = bands[0].rangelow; in e4000_g_tuner() 339 bands[0].rangelow, bands[1].rangehigh); in e4000_s_frequency() 356 band->rangelow = bands[band->index].rangelow; in e4000_enum_freq_bands() 689 dev->f_frequency = bands[0].rangelow; in e4000_probe()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-s-hw-freq-seek.rst | 36 ``wrap_around``, ``spacing``, ``rangelow`` and ``rangehigh`` fields, and 41 The ``rangelow`` and ``rangehigh`` fields can be set to a non-zero value 95 - ``rangelow`` 102 ``rangelow`` is zero a reasonable default value is used. 126 not supported or one of the values in the ``type``, ``rangelow`` or
|
H A D | vidioc-enum-freq-bands.rst | 80 - ``rangelow``
|
H A D | vidioc-g-tuner.rst | 101 - ``rangelow`` 106 supported, then ``rangelow`` is the lowest frequency of all the
|
/linux/drivers/media/i2c/ |
H A D | max2175.c | 223 .rangelow = 65000000, 232 .rangelow = 65000000, 1107 freq = clamp(vf->frequency, ctx->bands_rf->rangelow, in max2175_s_frequency() 1162 vt->rangelow = ctx->bands_rf->rangelow; in max2175_g_tuner() 1378 ctx->freq = ctx->bands_rf->rangelow; in max2175_probe()
|
/linux/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 110 vtuner.type, vtuner.rangelow, vtuner.rangehigh); in loop_test()
|
/linux/include/uapi/linux/ |
H A D | videodev2.h | 2039 __u32 rangelow; member 2052 __u32 rangelow; member 2107 __u32 rangelow; member 2119 __u32 rangelow; member
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ioctl.c | 377 p->rangelow, p->rangehigh, p->txsubchans); in v4l_print_modulator() 389 p->capability, p->rangelow, in v4l_print_tuner() 425 p->rangelow, p->rangehigh); in v4l_print_hw_freq_seek() 848 p->capability, p->rangelow, in v4l_print_freq_band() 2808 p->rangelow = t.rangelow; in v4l_enum_freq_bands() 2827 p->rangelow = m.rangelow; in v4l_enum_freq_bands()
|
H A D | tuner-core.c | 1249 vt->rangelow = tv_range[0] * 16; in tuner_g_tuner() 1269 vt->rangelow = radio_range[0] * 16000; in tuner_g_tuner()
|
/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 283 tuner->rangelow = bottom_freq * 16; in fm_v4l2_vidioc_g_tuner()
|