Searched refs:div (Results 1 – 5 of 5) sorted by relevance
/hardware/ti/wpan/tools/kfmapp/ |
D | kfmapp.c | 183 int res, div; in fmapp_get_tx_frequency() local 200 div = (vm.capability & V4L2_TUNER_CAP_LOW) ? 1000 : 1; in fmapp_get_tx_frequency() 203 ( 16000.0 * div)); in fmapp_get_tx_frequency() 210 int res, div; in fmapp_get_rx_frequency() local 227 div = (vt.capability & V4L2_TUNER_CAP_LOW) ? 1000 : 1; in fmapp_get_rx_frequency() 229 printf("Tuned to frequency %3.2f MHz \n",vf.frequency / ( 16.0 * div)); in fmapp_get_rx_frequency() 453 int res, div; in fmapp_set_tx_frequency() local 468 div = (vm.capability & V4L2_TUNER_CAP_LOW) ? 1000 : 1; in fmapp_set_tx_frequency() 469 if (div == 1) in fmapp_set_tx_frequency() 479 (16.0 * div)); in fmapp_set_tx_frequency() [all …]
|
/hardware/msm7k/libcopybit/ |
D | copybit.cpp | 102 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument 103 if (mul != div) { in MULDIV() 104 *a = (mul * *a) / div; in MULDIV() 105 *b = (mul * *b) / div; in MULDIV()
|
/hardware/ti/wpan/tools/FM/service/src/jni/ |
D | JFmRxNative.cpp | 476 int status, div; in nativeJFmRx_Tune() local 491 div = (vt.capability & V4L2_TUNER_CAP_LOW) ? 1000 : 1; in nativeJFmRx_Tune() 492 if (div == 1) in nativeJFmRx_Tune() 814 int status, div; in nativeJFmRx_Seek() local 845 div = (vt.capability & V4L2_TUNER_CAP_LOW) ? 1000 : 1; in nativeJFmRx_Seek() 854 V4L2_JBTL_LOGD("Tuned to frequency %3.2f MHz \n",vf.frequency / (16.0 * div)); in nativeJFmRx_Seek() 856 nativeJFmRx_Callback(jContext,status, FM_RX_CMD_SEEK,vf.frequency * 1000 / (16 * div)); in nativeJFmRx_Seek()
|
D | JFmTxNative.cpp | 212 int status, div; in nativeJFmTx_Tune() local
|
/hardware/ti/wlan/wl1271/platforms/os/linux/src/ |
D | CmdInterpretWext.c | 179 int div = WEXT_FREQ_KHZ_CONVERT - wrqu->freq.e; in cmdInterpret_convertAndExecute() local 181 if (div >= 0) in cmdInterpret_convertAndExecute() 183 while (div-- > 0) in cmdInterpret_convertAndExecute() 190 while (div++ < 0) /* up convert to KHz */ in cmdInterpret_convertAndExecute()
|