Home
last modified time | relevance | path

Searched refs:vtun (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/wpan/tools/kfmapp/
Dkfmapp.c925 struct v4l2_tuner vtun; in fmapp_get_rx_rssi_lvl() local
929 vtun.index = 0; in fmapp_get_rx_rssi_lvl()
930 res = ioctl(g_radio_fd, VIDIOC_G_TUNER, &vtun); in fmapp_get_rx_rssi_lvl()
936 rssi_lvl = ((float)vtun.signal / 0xFFFF) * 100; in fmapp_get_rx_rssi_lvl()
943 struct v4l2_tuner vtun; in fmapp_set_stereo_mono_mode() local
946 vtun.index = 0; in fmapp_set_stereo_mono_mode()
947 res = ioctl(g_radio_fd, VIDIOC_G_TUNER, &vtun); in fmapp_set_stereo_mono_mode()
954 if(V4L2_TUNER_MODE_STEREO == vtun.audmode) in fmapp_set_stereo_mono_mode()
955 vtun.audmode = V4L2_TUNER_MODE_MONO; in fmapp_set_stereo_mono_mode()
957 vtun.audmode = V4L2_TUNER_MODE_STEREO; in fmapp_set_stereo_mono_mode()
[all …]
/hardware/ti/wpan/tools/FM/service/src/jni/
DJFmRxNative.cpp377 struct v4l2_tuner vtun; in nativeJFmRx_Enable() local
383 vtun.index = 0; in nativeJFmRx_Enable()
384 vtun.audmode = V4L2_TUNER_MODE_STEREO; in nativeJFmRx_Enable()
385 vtun.rxsubchans = V4L2_TUNER_SUB_RDS; in nativeJFmRx_Enable()
387 status = ioctl(radio_fd, VIDIOC_S_TUNER, &vtun); in nativeJFmRx_Enable()