Home
last modified time | relevance | path

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

/device/google/comet/sensors/
Dsensors_dummy.c49 #define MAX_NUM_SENSORS 8 macro
51 #define SUPPORTED_SENSORS ((1<<MAX_NUM_SENSORS)-1)
72 #define ID_CHECK(x) ((unsigned)((x) - ID_BASE) < MAX_NUM_SENSORS)
86 int id; } _sensorIds[MAX_NUM_SENSORS] =
97 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdToName()
111 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdFromName()
134 sensors_event_t sensors[MAX_NUM_SENSORS];
/device/google/akita/sensors/
Dsensors_dummy.c49 #define MAX_NUM_SENSORS 8 macro
51 #define SUPPORTED_SENSORS ((1<<MAX_NUM_SENSORS)-1)
72 #define ID_CHECK(x) ((unsigned)((x) - ID_BASE) < MAX_NUM_SENSORS)
86 int id; } _sensorIds[MAX_NUM_SENSORS] =
97 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdToName()
111 for (nn = 0; nn < MAX_NUM_SENSORS; nn++) in _sensorIdFromName()
134 sensors_event_t sensors[MAX_NUM_SENSORS];