Home
last modified time | relevance | path

Searched refs:divisor (Results 1 – 6 of 6) sorted by relevance

/system/core/storaged/
Dstoraged_utils.cpp81 unsigned long long divisor = stats->read_ticks * stats->io_ticks; in get_disk_perf() local
85 (divisor >> 1)) / in get_disk_perf()
86 divisor; in get_disk_perf()
90 (divisor >> 1)) / in get_disk_perf()
91 divisor; in get_disk_perf()
94 unsigned long long divisor = stats->write_ticks * stats->io_ticks; in get_disk_perf() local
98 (divisor >> 1)) / in get_disk_perf()
99 divisor; in get_disk_perf()
103 (divisor >> 1)) / in get_disk_perf()
104 divisor; in get_disk_perf()
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
Dhumanize_number.c52 int64_t divisor, max, post = 1; in humanize_number() local
61 divisor = 1000; in humanize_number()
71 divisor = 1024; in humanize_number()
133 bytes /= divisor; in humanize_number()
141 bytes /= divisor; in humanize_number()
/system/bt/audio_a2dp_hw/test/
Daudio_a2dp_hw_test.cc130 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in TEST_F() local
133 const size_t remainder = expected_buffer_size % divisor; in TEST_F()
135 expected_buffer_size += divisor - remainder; in TEST_F()
/system/bt/bta/dm/
Dbta_dm_sco.cc72 uint32_t divisor; member
578 p_cb->divisor = 2; in BTA_DmPcmInitSamples()
598 p_cb->divisor = 1; in BTA_DmPcmInitSamples()
611 p_cb->divisor = 4; in BTA_DmPcmInitSamples()
624 p_cb->can_be_filtered, p_cb->n_channels, p_cb->divisor); in BTA_DmPcmInitSamples()
649 (in_bytes / bta_dm_pcm_cb.divisor)); in BTA_DmPcmResample()
653 p_src, p_dst, (in_bytes / bta_dm_pcm_cb.divisor), bta_dm_pcm_cb.src_sps, in BTA_DmPcmResample()
657 (in_bytes / bta_dm_pcm_cb.divisor), in BTA_DmPcmResample()
/system/tpm/trunks/ftdi/
Dmpsse.c408 uint16_t divisor = 0; in SetClock() local
424 divisor = 0xFFFF; in SetClock()
426 divisor = freq2div(system_clock, freq); in SetClock()
430 buf[1] = (divisor & 0xFF); in SetClock()
431 buf[2] = ((divisor >> 8) & 0xFF); in SetClock()
434 mpsse->clock = div2freq(system_clock, divisor); in SetClock()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1012 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * in audio_a2dp_hw_stream_compute_buffer_size() local
1021 const size_t remainder = buffer_sz % divisor; in audio_a2dp_hw_stream_compute_buffer_size()
1023 buffer_sz += divisor - remainder; in audio_a2dp_hw_stream_compute_buffer_size()