/external/u-boot/drivers/clk/rockchip/ |
clk_rk3368.c | 60 /* Get pll rate by id */ 139 * GPLL rate from the SPL stage. 159 u32 div, con, con_id, rate; local 192 rate = DIV_TO_RATE(pll_rate, div); 194 debug("%s: raw rate %d (post-divide by 2)\n", __func__, rate); 195 return rate >> 1; 199 ulong rate, 208 ulong rate; member in struct:__anon47206 210 { .mux = MMC_PLL_SEL_CPLL, .rate = CPLL_HZ } 455 ulong rate = 0; local [all...] |
/external/u-boot/drivers/phy/ |
ti-pipe3-phy.c | 74 unsigned long rate; member in struct:pipe3_dpll_map 92 u32 rate; local 95 rate = get_sys_clk_freq(); 97 for (; dpll_map->rate; dpll_map++) { 98 if (rate == dpll_map->rate) 103 __func__, rate); 170 u32 val, rate; local 174 rate = get_sys_clk_freq(); 175 rate = rate/1000000 [all...] |
/external/u-boot/drivers/sound/ |
wm8994.c | 43 /* wm 8994 supported sampling rate values */ 276 * @param sampling_rate Sampling rate 337 /* Try to find an appropriate sample rate; look for an exact match. */ 408 debug("rate vale = %x , bclk val= %x\n", rate_val, bclk); 428 int rate; local 442 rate = wm8994->mclk[0]; 447 rate = wm8994->mclk[1]; 452 rate = wm8994->fll[0].out; 457 rate = wm8994->fll[1].out; 467 if (rate >= WM8994_MAX_INPUT_CLK_FREQ) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
bandwidth_estimator.c | 47 /* Received header rate. First value is for 30 ms packets and second for 60 ms */ 129 * This function updates bottle neck rate received from other side in payload 240 /* store far-side transmission rate */ 375 /* don't allow it to be less than frame rate - 10 ms */ 380 /* compute inverse receiving rate for last packet, in Q19 */ 401 /* Limit inv rate. Note that minBwInv > maxBwInv! */ 408 /* update bottle neck rate estimate */ 440 /* Q9 (only shift arrTimeDiff by 5 to simulate divide by 16 (need to revisit if change sampling rate) DH */ 493 /* Limit to minimum or maximum bottle neck rate (in Q30) */ 504 /* store far-side transmission rate */ 616 int32_t rate; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
bandwidth_estimator.c | 164 // We have to adjust the header-rate if the first packet has a 173 /* compute far-side transmission rate */ 189 /* store far-side transmission rate */ 374 /* don't allow it to be less than frame rate - 10 ms */ 378 /* compute inverse receiving rate for last packet */ 386 // don't allow inv rate to be larger than MAX 391 /* update bottle neck rate estimate */ 441 /* limit minimum bottle neck rate */ 460 /* store far-side transmission rate */ 509 /* This function updates the send bottle neck rate */ 612 float rate; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ |
simpleKenny.c | 59 double rate; local 140 printf("-rlim rateLim... rate limit in bits/sec, default is the maximum\n"); 143 printf("-ave file....... record average rate of 3 sec intervales and\n"); 157 fprintf(stderr, "\nfixed bottleneck rate of %d bits/s\n\n", bottleneck); 180 printf("cannot open file to write rate %s", averageFileName); 289 printf("cannot set the maximum rate %d.\n", rateLimit); 437 rate = ((double)totalbits * (sampFreqKHz)) / (double)totalsmpls; 441 printf("Sampling Rate............... %d kHz\n", sampFreqKHz); 443 printf("Rate Limit.................. %d bits/sec \n", rateLimit); 454 sampFreqKHz, framecnt, bottleneck, rateLB, rateUB, rate); [all...] |
/frameworks/av/media/libaaudio/src/client/ |
AudioStreamInternal.cpp | 469 int64_t rate = (framesDelta * AAUDIO_NANOS_PER_SECOND) / nanosDelta; local 470 ALOGD("logTimestamp: framesDelta = %8lld, nanosDelta = %8lld, rate = %lld", 471 (long long) framesDelta, (long long) nanosDelta, (long long) rate);
|
/cts/tests/tests/media/src/android/media/cts/ |
SoundPoolTest.java | 157 float rate = 1f; local 158 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 161 rate = 1.4f; 162 mSoundPool.setRate(streamID, rate); 172 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); 315 -1 /* loop (infinite) */, 1.0f /* rate */);
|
/device/google/contexthub/firmware/os/inc/ |
sensors.h | 144 uint32_t rate; member in struct:SensorSetRateEvent 170 bool (*sensorFirmwareUpload)(void *); /* -> SENSOR_INTERNAL_EVT_FW_STATE_CHG (rate or 0 if fail) */ 171 bool (*sensorSetRate)(uint32_t rate, uint64_t latency, void *); 172 /* -> SENSOR_INTERNAL_EVT_RATE_CHG (rate) */ 203 sampling rate. In this case, the sensorSendOneDirectEvt callback will be 212 If NULL, the expectation is that rate is not applicable/configurable, and 229 * Sensor rate is encoded as a 32-bit integer as number of samples it can 273 bool sensorRequest(uint32_t clientTid, uint32_t sensorHandle, uint32_t rate, uint64_t latency); 297 uint32_t rate; local 299 while ((rate = *supportedRates++) != 0) [all...] |
/device/google/contexthub/sensorhal/ |
hubconnection.h | 136 rate_q10_t rate; member in struct:android::HubConnection::ConfigCmd 170 rate_q10_t rate; member in struct:android::HubConnection::SensorState
|
/device/google/contexthub/util/nanoapp_cmd/ |
nanoapp_cmd.c | 70 uint32_t rate; member in struct:ConfigCmd 135 cmd->rate = SENSOR_RATE_ONCHANGE; 138 cmd->rate = SENSOR_RATE_ONCHANGE; 141 cmd->rate = SENSOR_RATE_ONCHANGE; 144 cmd->rate = SENSOR_RATE_ONCHANGE; 147 cmd->rate = SENSOR_RATE_ONCHANGE; 150 cmd->rate = SENSOR_RATE_ONCHANGE; 153 cmd->rate = SENSOR_RATE_ONCHANGE; 156 cmd->rate = SENSOR_RATE_ONCHANGE; 159 cmd->rate = SENSOR_RATE_ONESHOT [all...] |
/external/autotest/client/deps/iwcap/src/ |
iwcap.c | 374 int rate; local 380 rate = nla_get_u32(tb_rate[NL80211_BITRATE_ATTR_RATE]); 381 if (rate > max_rate) 382 max_rate = rate; 437 prate("rate", max_rate);
|
/external/iproute2/misc/ |
ifstat.c | 67 double rate[MAXS]; member in struct:ifstat_ent 152 memset(&n->rate, 0, sizeof(n->rate)); 187 memset(&n->rate, 0, sizeof(n->rate)); 277 unsigned int rate; local 289 if (sscanf(p, "%u", &rate) != 1) 291 n->rate[i] = rate; 323 double *rates = n->rate; [all...] |
nstat.c | 88 double rate; member in struct:nstat_ent 133 double rate; local 145 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); 149 rate = 0; 156 n->rate = rate; 216 n->rate = 0; 313 if (!dump_zeros && !val && !n->rate) 332 fprintf(fp, "%-32s%-16llu%6.1f\n", n->id, val, n->rate); 373 if (!dump_zeros && !val && !n->rate) [all...] |
/external/libaom/libaom/av1/common/ |
blockd.h | 180 int rate; member in struct:RD_STATS 186 // rate/dist. 476 int rate; [all...] |
/external/libopus/src/ |
opus_multistream_encoder.c | 225 int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in, int arch 243 upsample = resampling_factor(rate); 669 opus_int32 *rate, 707 total rate for the non-energy part to avoid problems at really low rate. */ 715 /* Coupled streams get twice the mono rate after the offset is allocated. */ 728 rate[i] = 2*channel_offset + IMAX(0, stream_offset+(channel_rate*coupled_ratio>>8)); 730 rate[i] = channel_offset + IMAX(0, stream_offset + channel_rate); 732 rate[i] = IMAX(0, lfe_offset+(channel_rate*lfe_ratio>>8)); 738 opus_int32 *rate, 1151 opus_int32 rate; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
encodeframe.c | 1081 int rate; local 1124 int rate; local [all...] |
/external/libxaac/decoder/ |
ixheaacd_esbr_envcal.c | 152 WORD32 rate = upsamp_4_flag ? 4 : 2; local 285 for (nrg = 0, l = 0; l < rate; l++) { 287 (input_real[rate * t + l][k] * input_real[rate * t + l][k]) + 288 (input_imag[rate * t + l][k] * input_imag[rate * t + l][k]); 290 nrg_est_pvc[c][t] = nrg / rate; 403 for (nrg = 0, l = 0; l < rate; l++) { 405 (input_real[rate * t + l][k] * input_real[rate * t + l][k]) [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
tcd.h | 58 OPJ_UINT32 rate; member in struct:opj_tcd_pass
|
/external/python/cpython2/Modules/ |
ossaudiodev.c | 492 int fmt, channels, rate; local 521 rate = wanted_rate; 522 if (ioctl(self->fd, SNDCTL_DSP_SPEED, &rate) == -1) { 525 if (strict && rate != wanted_rate) { 528 "unable to set requested rate (wanted %d, got %d)", 529 wanted_rate, rate); 532 /* Construct the return value: a (fmt, channels, rate) tuple that 534 return Py_BuildValue("(iii)", fmt, channels, rate);
|
/external/python/cpython3/Modules/_sha3/ |
sha3module.c | 407 int rate = self->hash_state.sponge.rate; local 408 return PyLong_FromLong(rate / 8); 455 int capacity = 1600 - self->hash_state.sponge.rate; 463 unsigned int rate = self->hash_state.sponge.rate; local 464 return PyLong_FromLong(rate);
|
/external/python/cpython3/Modules/ |
ossaudiodev.c | 566 int fmt, channels, rate; local 598 rate = wanted_rate; 599 if (ioctl(self->fd, SNDCTL_DSP_SPEED, &rate) == -1) { 602 if (strict && rate != wanted_rate) { 605 "unable to set requested rate (wanted %d, got %d)", 606 wanted_rate, rate); 609 /* Construct the return value: a (fmt, channels, rate) tuple that 611 return Py_BuildValue("(iii)", fmt, channels, rate); [all...] |
/external/u-boot/arch/arm/include/asm/arch-rockchip/ |
cru_rk3188.h | 29 ulong rate; member in struct:rk3188_clk_priv
|
/external/u-boot/arch/arm/mach-imx/mx7ulp/ |
scg.c | 54 u32 reg, val, rate; local 84 rate = scg_src_get_rate(SCG_SIRC_CLK); 85 rate = rate / (1 << (val - 1)); 87 return rate; 92 u32 reg, val, rate; local 122 rate = scg_src_get_rate(SCG_FIRC_CLK); 123 rate = rate / (1 << (val - 1)); 125 return rate; 130 u32 reg, val, rate; local 168 u32 reg, val, rate; local 218 u32 reg, val, rate; local 268 u32 reg, val, rate; local 296 u32 reg, val, rate; local 331 u32 reg, val, rate, div; local 355 u32 reg, val, rate; local 428 u32 reg, val, rate; local [all...] |
/external/u-boot/drivers/clk/ |
clk_pic32.c | 22 /* FRC clk rate */ 170 int parent_rate, int rate, int parent_id) 179 * rate = parent_rate / [2 * (div + (trim / 512))] 181 if (parent_rate <= rate) { 185 div = parent_rate / (rate << 1); 188 do_div(frac, rate); 251 /* get parent rate */ 265 * rate = parent_rate / [2 * (div + (trim / 512))] 284 u64 rate; local 292 rate = (SYS_POSC_CLK_HZ / idiv) * mul 321 ulong rate, pll_hz; local 344 ulong rate; local [all...] |