/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
D | GroveLight.cpp | 40 Sensor * GroveLight::createSensor(int pollFd) { in createSensor() argument 41 return new GroveLight(pollFd, 0); in createSensor() 48 GroveLight::GroveLight(int pollFd, int pin) : upm::GroveLight(pin), pollFd(pollFd) { in GroveLight() argument 62 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | GroveTemperature.cpp | 40 Sensor * GroveTemperature::createSensor(int pollFd) { in createSensor() argument 41 return new GroveTemperature(pollFd, 0); in createSensor() 48 GroveTemperature::GroveTemperature(int pollFd, int pin) : upm::GroveTemp(pin), pollFd(pollFd) { in GroveTemperature() argument 62 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | ProximityGPIO.cpp | 61 Sensor * ProximityGPIO::createSensor(int pollFd) { in createSensor() argument 62 return new ProximityGPIO(pollFd, kPinGPIO); in createSensor() 69 ProximityGPIO::ProximityGPIO(int pollFd, int pin) : upm::GroveButton(pin), pollFd(pollFd) { in ProximityGPIO() argument 83 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | LSM303dOrientation.cpp | 41 Sensor * LSM303dOrientation::createSensor(int pollFd) { in createSensor() argument 42 return new LSM303dOrientation(pollFd, SensorUtils::getI2cBusNumber()); in createSensor() 49 LSM303dOrientation::LSM303dOrientation(int pollFd, in LSM303dOrientation() argument 51 : LSM303d(bus, address), pollFd(pollFd) { in LSM303dOrientation() 69 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | LSM303dAccelerometer.cpp | 41 Sensor * LSM303dAccelerometer::createSensor(int pollFd) { in createSensor() argument 42 return new LSM303dAccelerometer(pollFd, SensorUtils::getI2cBusNumber()); in createSensor() 49 LSM303dAccelerometer::LSM303dAccelerometer(int pollFd, in LSM303dAccelerometer() argument 51 : LSM303d(bus, address, scale), pollFd(pollFd), scale(scale) { in LSM303dAccelerometer() 77 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | LSM9DS0Accelerometer.cpp | 41 Sensor * LSM9DS0Accelerometer::createSensor(int pollFd) { in createSensor() argument 42 return new LSM9DS0Accelerometer(pollFd, in createSensor() 52 LSM9DS0Accelerometer::LSM9DS0Accelerometer(int pollFd, in LSM9DS0Accelerometer() argument 54 : LSM9DS0 (bus, gAddress, xmAddress), pollFd(pollFd) { in LSM9DS0Accelerometer() 75 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | MPU9150Accelerometer.cpp | 42 Sensor * MPU9150Accelerometer::createSensor(int pollFd) { in createSensor() argument 43 return new MPU9150Accelerometer(pollFd, in createSensor() 52 MPU9150Accelerometer::MPU9150Accelerometer(int pollFd, int bus, int address, in MPU9150Accelerometer() argument 54 : MPU9150(bus, address, magAddress, enableAk8975), pollFd(pollFd) { in MPU9150Accelerometer() 79 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | MMA7660Accelerometer.cpp | 42 Sensor * MMA7660Accelerometer::createSensor(int pollFd) { in createSensor() argument 43 return new MMA7660Accelerometer(pollFd, in createSensor() 52 MMA7660Accelerometer::MMA7660Accelerometer(int pollFd, int bus, uint8_t address) in MMA7660Accelerometer() argument 53 : MMA7660 (bus, address), pollFd(pollFd) { in MMA7660Accelerometer() 82 return activateAcquisitionThread(pollFd, handle, enabled); in activate()
|
D | GroveLight.hpp | 38 GroveLight(int pollFd, int pin); 62 static Sensor * createSensor(int pollFd); 66 int pollFd; member in GroveLight
|
D | ProximityGPIO.hpp | 38 ProximityGPIO(int pollFd, int pin); 62 static Sensor * createSensor(int pollFd); 66 int pollFd; member in ProximityGPIO
|
D | GroveTemperature.hpp | 38 GroveTemperature(int pollFd, int pin); 62 static Sensor * createSensor(int pollFd); 66 int pollFd; member in GroveTemperature
|
D | LSM303dOrientation.hpp | 39 LSM303dOrientation(int pollFd, 65 static Sensor * createSensor(int pollFd); 68 int pollFd; member in LSM303dOrientation
|
D | LSM303dAccelerometer.hpp | 41 LSM303dAccelerometer(int pollFd, 68 static Sensor * createSensor(int pollFd); 71 int pollFd; member in LSM303dAccelerometer
|
D | MMA7660Accelerometer.hpp | 46 MMA7660Accelerometer(int pollFd, int bus, uint8_t address); 70 static Sensor * createSensor(int pollFd); 74 int pollFd; member in MMA7660Accelerometer
|
D | LSM9DS0Accelerometer.hpp | 40 LSM9DS0Accelerometer(int pollFd, int bus, uint8_t gAddress, uint8_t xmAddress); 64 static Sensor * createSensor(int pollFd); 68 int pollFd; member in LSM9DS0Accelerometer
|
D | MPU9150Accelerometer.hpp | 41 MPU9150Accelerometer(int pollFd, int bus=MPU9150_I2C_BUS, 67 static Sensor * createSensor(int pollFd); 70 int pollFd; member in MPU9150Accelerometer
|
/hardware/bsp/intel/peripheral/sensors/mraa/ |
D | AcquisitionThread.cpp | 85 AcquisitionThread::AcquisitionThread(int pollFd, Sensor *sensor) in AcquisitionThread() argument 86 : pollFd(pollFd), sensor(sensor), initialized(false) { in AcquisitionThread() 134 rc = epoll_ctl(pollFd, EPOLL_CTL_ADD, pipeFds[0] , &ev); in init() 151 epoll_ctl(pollFd, EPOLL_CTL_DEL, pipeFds[0], nullptr); in init() 207 epoll_ctl(pollFd, EPOLL_CTL_DEL, readPipeEnd, nullptr); in ~AcquisitionThread()
|
D | AcquisitionThread.hpp | 44 AcquisitionThread(int pollFd, Sensor *sensor); 90 int pollFd; member in AcquisitionThread
|
D | SensorsHAL.hpp | 61 Sensor * (*sensorFactoryFunc)(int pollFd)); 103 int pollFd; member in SensorContext
|
D | SensorsHAL.cpp | 31 pollFd = epoll_create(MAX_DEVICES); in SensorContext() 32 if (pollFd == -1) { in SensorContext() 61 rc = close(pollFd); in ~SensorContext() 133 sensors[handle] = sensorFactoryFuncs[handle](pollFd); in activate() 190 nfds = epoll_wait(pollFd, ev, MAX_DEVICES, -1); in pollEvents()
|
D | Sensor.cpp | 66 int Sensor::activateAcquisitionThread(int pollFd, int handle, int enabled) { in activateAcquisitionThread() argument 70 acquisitionThread = new AcquisitionThread(pollFd, this); in activateAcquisitionThread()
|
D | Sensor.hpp | 130 virtual int activateAcquisitionThread(int pollFd, int handle, int enabled);
|