Home
last modified time | relevance | path

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

/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp320 static int get_scan_type(const std::string& device_dir, struct iio_info_channel* chanInfo) { in get_scan_type() argument
329 if (chanInfo == nullptr) { in get_scan_type()
336 type_name = chanInfo->name; in get_scan_type()
346 &chanInfo->bits_used, &storage_bits, &chanInfo->shift); in get_scan_type()
348 chanInfo->big_endian = (endianchar == 'b'); in get_scan_type()
349 chanInfo->sign = (signchar == 's'); in get_scan_type()
350 chanInfo->storage_bytes = (storage_bits >> 3); in get_scan_type()