Lines Matching refs:vf
181 struct v4l2_frequency vf; in fmapp_get_tx_frequency() local
193 res = ioctl(g_radio_fd, VIDIOC_G_FREQUENCY,&vf); in fmapp_get_tx_frequency()
202 printf("Transmitting at Frequency %3.2f MHz\n",vf.frequency / in fmapp_get_tx_frequency()
208 struct v4l2_frequency vf; in fmapp_get_rx_frequency() local
220 res = ioctl(g_radio_fd, VIDIOC_G_FREQUENCY,&vf); in fmapp_get_rx_frequency()
229 printf("Tuned to frequency %3.2f MHz \n",vf.frequency / ( 16.0 * div)); in fmapp_get_rx_frequency()
451 struct v4l2_frequency vf; in fmapp_set_tx_frequency() local
465 vf.tuner = 0; in fmapp_set_tx_frequency()
466 vf.frequency = rint(user_freq * 16000 + 0.5); in fmapp_set_tx_frequency()
470 vf.frequency /= 1000; in fmapp_set_tx_frequency()
472 res = ioctl(g_radio_fd, VIDIOC_S_FREQUENCY, &vf); in fmapp_set_tx_frequency()
478 printf("Started Transmitting at %3.2f MHz Frequency\n", vf.frequency / in fmapp_set_tx_frequency()
486 struct v4l2_frequency vf; in fmapp_set_rx_frequency() local
492 vf.tuner = 0; in fmapp_set_rx_frequency()
499 vf.frequency = rint(user_freq * 16000 + 0.5); in fmapp_set_rx_frequency()
511 vf.frequency /= 1000; in fmapp_set_rx_frequency()
513 if(vf.frequency < vt.rangelow || vf.frequency > vt.rangehigh){ in fmapp_set_rx_frequency()
520 res = ioctl(g_radio_fd, VIDIOC_S_FREQUENCY, &vf); in fmapp_set_rx_frequency()
526 printf("Tuned to frequency %3.2f MHz\n", vf.frequency / (16.0 * div)); in fmapp_set_rx_frequency()
1017 struct v4l2_frequency vf; in fmapp_get_scan_valid_frequencies() local
1051 vf.tuner = 0; in fmapp_get_scan_valid_frequencies()
1052 vf.frequency = rint(freq*1000); in fmapp_get_scan_valid_frequencies()
1053 ret = ioctl(g_radio_fd, VIDIOC_S_FREQUENCY, &vf); /* tune */ in fmapp_get_scan_valid_frequencies()