Home
last modified time | relevance | path

Searched refs:mIioData (Results 1 – 3 of 3) sorted by relevance

/device/google/trout/hal/sensors/2.1/
DSensor.cpp96 std::lower_bound(mIioData.sampling_freq_avl.begin(), in batch()
97 mIioData.sampling_freq_avl.end(), sampling_frequency); in batch()
98 i = low - mIioData.sampling_freq_avl.begin(); in batch()
99 set_sampling_frequency(mIioData.sysfspath, mIioData.sampling_freq_avl[i]); in batch()
126 enable_sensor(mIioData.sysfspath, enable); in activate()
167 for (auto i = 0u; i < mIioData.channelInfo.size(); i++) { in processScanData()
168 chanIdx = mIioData.channelInfo[i].index; in processScanData()
171 *reinterpret_cast<int64_t*>(data + chanIdx * mIioData.channelInfo[i].storage_bytes); in processScanData()
174 if (chanIdx == mIioData.channelInfo.size() - 1) { in processScanData()
177 channelData[chanIdx] = static_cast<float>(val) * mIioData.scale; in processScanData()
[all …]
DSensor.h114 struct iio_device_data mIioData; variable
DSensorsSubHal.cpp232 stream << "iio path" << hwSensor->mIioData.sysfspath << std::endl; in debug()