Searched refs:user_freq (Results 1 - 3 of 3) sorted by relevance

/hardware/ti/wpan/tools/kfmapp/
H A Dkfmapp.c450 float user_freq; local
455 sscanf(cmd, "%f", &user_freq);
466 vf.frequency = rint(user_freq * 16000 + 0.5);
475 printf("Failed to set frequency %f\n",user_freq);
485 float user_freq; local
490 sscanf(cmd, "%f", &user_freq);
499 vf.frequency = rint(user_freq * 16000 + 0.5);
523 printf("Failed to set frequency %f\n",user_freq);
/hardware/ti/wpan/tools/FM/service/src/jni/
H A DJFmTxNative.cpp208 static int nativeJFmTx_Tune(JNIEnv *env, jobject obj,jlong jContextValue,jlong user_freq) argument
217 vf.frequency = rint(user_freq * 16 + 0.5);
222 V4L2_JBTL_LOGD("Failed to tune to frequency %d\n",user_freq);
225 V4L2_JBTL_LOGD("Tuned to frequency %2.1f MHz\n",user_freq);
228 nativeJFmTx_Callback(jContext,status,FM_TX_CMD_TUNE,user_freq);
H A DJFmRxNative.cpp472 static int nativeJFmRx_Tune(JNIEnv *env, jobject obj,jlong jContextValue,jint user_freq) argument
489 vf.frequency = rint(user_freq * 16 + 0.5);
498 V4L2_JBTL_LOGD("Failed to tune to frequency %d\n",user_freq);
501 V4L2_JBTL_LOGD("Tuned to frequency %2.1f MHz\n",user_freq);
503 nativeJFmRx_Callback(jContext,status,FM_RX_CMD_TUNE,user_freq);

Completed in 82 milliseconds