Searched refs:adc_in_fp (Results 1 – 3 of 3) sorted by relevance
49 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()
114 int adc_in_fp; /**< File Pointer to raw sysfs */ member
314 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()