Home
last modified time | relevance | path

Searched refs:vf (Results 1 – 3 of 3) sorted by relevance

/hardware/ti/wpan/tools/kfmapp/
Dkfmapp.c181 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()
[all …]
/hardware/ti/wpan/tools/FM/service/src/jni/
DJFmRxNative.cpp474 struct v4l2_frequency vf; in nativeJFmRx_Tune() local
488 vf.tuner = 0; in nativeJFmRx_Tune()
489 vf.frequency = rint(user_freq * 16 + 0.5); in nativeJFmRx_Tune()
493 vf.frequency /=1000; in nativeJFmRx_Tune()
495 status = ioctl(radio_fd, VIDIOC_S_FREQUENCY, &vf); in nativeJFmRx_Tune()
515 struct v4l2_frequency vf; in nativeJFmRx_GetTunedFrequency() local
519 status = ioctl(radio_fd, VIDIOC_G_FREQUENCY,&vf); in nativeJFmRx_GetTunedFrequency()
526 V4L2_JBTL_LOGD("Tuned to frequency %2.1f MHz \n",(float)vf.frequency/1000); in nativeJFmRx_GetTunedFrequency()
527 nativeJFmRx_Callback(jContext,status,FM_RX_CMD_GET_TUNED_FREQUENCY,vf.frequency); in nativeJFmRx_GetTunedFrequency()
812 struct v4l2_frequency vf; in nativeJFmRx_Seek() local
[all …]
DJFmTxNative.cpp210 struct v4l2_frequency vf; in nativeJFmTx_Tune() local
216 vf.tuner = 0; in nativeJFmTx_Tune()
217 vf.frequency = rint(user_freq * 16 + 0.5); in nativeJFmTx_Tune()
219 status = ioctl(radio_fd, VIDIOC_S_FREQUENCY, &vf); in nativeJFmTx_Tune()