Home
last modified time | relevance | path

Searched refs:period_ns_to_frequency_q10 (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/sensorhal/
Dhubconnection.h110 static inline uint64_t period_ns_to_frequency_q10(nsecs_t period_ns) { in period_ns_to_frequency_q10() function
122 return period_ns_to_frequency_q10(static_cast<nsecs_t>(1e9f/frequency)); in frequency_to_frequency_q10()
Dhubconnection.cpp1564 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueSetDelay()
1595 mSensorState[handle].rate = period_ns_to_frequency_q10(sampling_period_ns); in queueBatch()
1861 rate = period_ns_to_frequency_q10(20000000ull); // NORMAL = 50Hz in mergeDirectReportRequest()
1865 rate = period_ns_to_frequency_q10(5000000ull); // FAST = 200Hz in mergeDirectReportRequest()