Home
last modified time | relevance | path

Searched refs:cros_ec_event (Results 1 – 2 of 2) sorted by relevance

/device/google/dragon/sensor_hub/
Dcros_ec_sensors.h54 struct cros_ec_event { struct
123 cros_ec_event mEvents[IIO_MAX_BUFF_SIZE];
126 int processEvent(sensors_event_t* data, const cros_ec_event *event);
Dcros_ec_sensors.cpp256 rc = read(mDataFd, mEvents, sizeof(cros_ec_event) * count); in readEvents()
261 if (rc % sizeof(cros_ec_event) != 0) { in readEvents()
266 int nb_events = rc / sizeof(cros_ec_event); in readEvents()
287 int CrosECSensor::processEvent(sensors_event_t* data, const cros_ec_event *event) in processEvent()