Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libmraa/src/aio/
Daio.c49 dev->adc_in_fp = open(file_path, O_RDONLY); in aio_get_valid_fp()
50 if (dev->adc_in_fp == -1) { in aio_get_valid_fp()
143 if (dev->adc_in_fp == -1) { in mraa_aio_read()
150 lseek(dev->adc_in_fp, 0, SEEK_SET); in mraa_aio_read()
151 if (read(dev->adc_in_fp, buffer, sizeof(buffer)) < 1) { in mraa_aio_read()
156 lseek(dev->adc_in_fp, 0, SEEK_SET); in mraa_aio_read()
199 if (dev->adc_in_fp != -1) in mraa_aio_close()
200 close(dev->adc_in_fp); in mraa_aio_close()
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h114 int adc_in_fp; /**< File Pointer to raw sysfs */ member
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_edison_fab_c.c314 dev->adc_in_fp = open(file_path, O_RDONLY); in mraa_intel_edison_aio_get_fp()
315 if (dev->adc_in_fp == -1) { in mraa_intel_edison_aio_get_fp()