Searched defs:freq (Results 1 - 8 of 8) sorted by relevance

/system/chre/platform/slpi/smgr/
H A Dplatform_sensor_util.cc56 uint64_t freq = kMaxFreq; local
59 freq = (Seconds(1).toRawNanoseconds() << 16) / interval.toRawNanoseconds();
62 return (freq > kMaxFreq) ? kMaxFreq : static_cast<uint32_t>(freq);
/system/chre/apps/wifi_offload/test/
H A Dutility.cc62 void init_frequency(uint32_t &freq, RandomGenerator &rand_gen) { argument
63 freq = kAllFrequencies_Test[rand_gen.get<uint8_t>() % kNumFrequencies_Test];
/system/chre/apps/wifi_offload/
H A Dutility.cc75 int Ieee80211FrequencyToChannel(int freq) { argument
77 if (freq == 2484)
79 else if (freq < 2484)
80 return (freq - 2407) / 5;
81 else if (freq >= 4910 && freq <= 4980)
82 return (freq - 4000) / 5;
83 else if (freq <= 45000) /* DMG band lower limit */
84 return (freq - 5000) / 5;
85 else if (freq >
[all...]
/system/tpm/trunks/ftdi/
H A Dsupport.c81 uint16_t freq2div(uint32_t system_clock, uint32_t freq) { argument
82 return (((system_clock / freq) / 2) - 1);
H A Dmpsse.c53 * @freq - Clock frequency to use for the specified mode.
58 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess) { argument
63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode, freq,
80 * @freq - Clock frequency to use for the specified mode.
91 int freq,
96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description,
106 * @freq - Clock frequency to use for the specified mode.
120 int freq,
175 if (SetClock(mpsse, freq) == MPSSE_OK) {
400 * @freq
88 Open(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial) argument
117 OpenIndex(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial, int index) argument
405 SetClock(struct mpsse_context* mpsse, uint32_t freq) argument
[all...]
/system/connectivity/wificond/scanning/
H A Dscan_utils.cpp142 uint32_t freq; local
143 if (!bss.GetAttributeValue(NL80211_BSS_FREQUENCY, &freq)) {
184 NativeScanResult(ssid, bssid, ie, freq, signal,
/system/extras/cpustats/
H A Dcpustats.c40 unsigned freq; member in struct:freq_info
125 // Read stats without aggregating freq stats in the total cpu
136 // Read stats again with aggregating freq stats in the total cpu
218 long unsigned freq; local
225 freq = 0;
226 fscanf(file, "%lu %*d\n", &freq);
227 if (freq) count++;
228 } while(freq);
275 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq,
279 new_cpus[cpu].freqs[i].freq
[all...]
/system/extras/simpleperf/
H A Devent_selection_set.cpp78 attr.freq = 0;
147 selection->event_attr.freq = 0;
150 selection->event_attr.freq = 1;
151 uint64_t freq = DEFAULT_SAMPLE_FREQ_FOR_NONTRACEPOINT_EVENT; local
154 freq = std::min(freq, max_freq);
156 selection->event_attr.sample_freq = freq;
322 selection.event_attr.freq = 1;
325 selection.event_attr.freq = 0;

Completed in 327 milliseconds