Lines Matching refs:events

259     sensors_event_t* events = dev->sensors;  in sensor_device_poll_event_locked()  local
297 events[ID_ACCELERATION].acceleration.x = params[0]; in sensor_device_poll_event_locked()
298 events[ID_ACCELERATION].acceleration.y = params[1]; in sensor_device_poll_event_locked()
299 events[ID_ACCELERATION].acceleration.z = params[2]; in sensor_device_poll_event_locked()
300 events[ID_ACCELERATION].type = SENSOR_TYPE_ACCELEROMETER; in sensor_device_poll_event_locked()
309 events[ID_ORIENTATION].orientation.azimuth = params[0]; in sensor_device_poll_event_locked()
310 events[ID_ORIENTATION].orientation.pitch = params[1]; in sensor_device_poll_event_locked()
311 events[ID_ORIENTATION].orientation.roll = params[2]; in sensor_device_poll_event_locked()
312 events[ID_ORIENTATION].orientation.status = in sensor_device_poll_event_locked()
314 events[ID_ORIENTATION].type = SENSOR_TYPE_ORIENTATION; in sensor_device_poll_event_locked()
323 events[ID_MAGNETIC_FIELD].magnetic.x = params[0]; in sensor_device_poll_event_locked()
324 events[ID_MAGNETIC_FIELD].magnetic.y = params[1]; in sensor_device_poll_event_locked()
325 events[ID_MAGNETIC_FIELD].magnetic.z = params[2]; in sensor_device_poll_event_locked()
326 events[ID_MAGNETIC_FIELD].magnetic.status = in sensor_device_poll_event_locked()
328 events[ID_MAGNETIC_FIELD].type = SENSOR_TYPE_MAGNETIC_FIELD; in sensor_device_poll_event_locked()
335 events[ID_TEMPERATURE].temperature = params[0]; in sensor_device_poll_event_locked()
336 events[ID_TEMPERATURE].type = SENSOR_TYPE_TEMPERATURE; in sensor_device_poll_event_locked()
343 events[ID_PROXIMITY].distance = params[0]; in sensor_device_poll_event_locked()
344 events[ID_PROXIMITY].type = SENSOR_TYPE_PROXIMITY; in sensor_device_poll_event_locked()
350 events[ID_LIGHT].light = params[0]; in sensor_device_poll_event_locked()
351 events[ID_LIGHT].type = SENSOR_TYPE_LIGHT; in sensor_device_poll_event_locked()
358 events[ID_PRESSURE].pressure = params[0]; in sensor_device_poll_event_locked()
359 events[ID_PRESSURE].type = SENSOR_TYPE_PRESSURE; in sensor_device_poll_event_locked()
366 events[ID_HUMIDITY].relative_humidity = params[0]; in sensor_device_poll_event_locked()
367 events[ID_HUMIDITY].type = SENSOR_TYPE_RELATIVE_HUMIDITY; in sensor_device_poll_event_locked()