Searched refs:user_freq (Results 1 – 3 of 3) sorted by relevance
/hardware/ti/wpan/tools/kfmapp/ |
D | kfmapp.c | 450 float user_freq; in fmapp_set_tx_frequency() local 455 sscanf(cmd, "%f", &user_freq); in fmapp_set_tx_frequency() 466 vf.frequency = rint(user_freq * 16000 + 0.5); in fmapp_set_tx_frequency() 475 printf("Failed to set frequency %f\n",user_freq); in fmapp_set_tx_frequency() 485 float user_freq; in fmapp_set_rx_frequency() local 490 sscanf(cmd, "%f", &user_freq); in fmapp_set_rx_frequency() 499 vf.frequency = rint(user_freq * 16000 + 0.5); in fmapp_set_rx_frequency() 523 printf("Failed to set frequency %f\n",user_freq); in fmapp_set_rx_frequency()
|
/hardware/ti/wpan/tools/FM/service/src/jni/ |
D | JFmTxNative.cpp | 208 static int nativeJFmTx_Tune(JNIEnv *env, jobject obj,jlong jContextValue,jlong user_freq) in nativeJFmTx_Tune() argument 217 vf.frequency = rint(user_freq * 16 + 0.5); in nativeJFmTx_Tune() 222 V4L2_JBTL_LOGD("Failed to tune to frequency %d\n",user_freq); in nativeJFmTx_Tune() 225 V4L2_JBTL_LOGD("Tuned to frequency %2.1f MHz\n",user_freq); in nativeJFmTx_Tune() 228 nativeJFmTx_Callback(jContext,status,FM_TX_CMD_TUNE,user_freq); in nativeJFmTx_Tune()
|
D | JFmRxNative.cpp | 472 static int nativeJFmRx_Tune(JNIEnv *env, jobject obj,jlong jContextValue,jint user_freq) in nativeJFmRx_Tune() argument 489 vf.frequency = rint(user_freq * 16 + 0.5); in nativeJFmRx_Tune() 498 V4L2_JBTL_LOGD("Failed to tune to frequency %d\n",user_freq); in nativeJFmRx_Tune() 501 V4L2_JBTL_LOGD("Tuned to frequency %2.1f MHz\n",user_freq); in nativeJFmRx_Tune() 503 nativeJFmRx_Callback(jContext,status,FM_RX_CMD_TUNE,user_freq); in nativeJFmRx_Tune()
|