Home | History | Annotate | Download | only in libsensors

Lines Matching refs:MagneticField

50     mPendingEvents[MagneticField].version = sizeof(sensors_event_t);
51 mPendingEvents[MagneticField].sensor = ID_M;
52 mPendingEvents[MagneticField].type = SENSOR_TYPE_MAGNETIC_FIELD;
53 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH;
86 case MagneticField:
150 case MagneticField:
264 return MagneticField;
290 mPendingMask |= 1<<MagneticField;
291 mPendingEvents[MagneticField].magnetic.x = value * CONVERT_M;
294 mPendingMask |= 1<<MagneticField;
295 mPendingEvents[MagneticField].magnetic.y = value * CONVERT_M;
298 mPendingMask |= 1<<MagneticField;
299 mPendingEvents[MagneticField].magnetic.z = value * CONVERT_M;
302 mPendingMask |= 1<<MagneticField;
303 mPendingEvents[MagneticField].magnetic.status = value;