Lines Matching refs:batch

59  * flags for (*batch)()
61 * see (*batch)() documentation for details
114 * otherwise noted (batch mode, sensor particularities, ...), enabled sensors'
121 * save power, unless batch mode is active, in which case they must
122 * continue fill their internal FIFO (see the documentation of batch() to
123 * learn how suspend interacts with batch mode).
125 * In batch mode, and only when the flag SENSORS_BATCH_WAKE_UPON_FIFO_FULL is
948 /* number of events reserved for this sensor in the batch mode FIFO.
1040 * In this case, batch() will be called with the new period.
1066 * Enables batch mode for the given sensor and sets the delay between events
1068 * A timeout value of zero disables batch mode for the given sensor.
1071 * function both enables or disables the batch mode AND sets the events's
1077 * In non-batch mode, all sensor events must be reported as soon as they
1080 * While in batch mode, sensor events do not need to be reported as soon
1083 * "timeout" nanoseconds. That is, all events since the previous batch
1110 * By default, batch mode doesn't significantly change the interaction with
1115 * As soon as the SoC comes out of suspend mode, a batch is produced with
1116 * as much as the recent history as possible, and batch operation
1133 * activate this mode. If the sensor does not support this mode, batch()
1138 * suspend and return a batch before the FIFO fills-up.
1156 * without modifying the batch mode or the event period and has no side
1158 * not set). This flag is used to check if batch mode is available for a
1168 * if a batch call with SENSORS_BATCH_DRY_RUN is successful,
1173 * If the specified sensor doesn't support batch mode, return -EINVAL.
1187 * The function must succeed, and batch mode must be deactivated.
1189 * Independently of whether DRY_RUN is specified, When the call to batch()
1191 * batch() should not change the rate of the sensor. Example:
1193 * batch(..., 20ms, ...) fails
1207 * processed by the HAL as soon as one batch must be reported.
1228 * Sensors to batch:
1235 * Sensors to batch: accelerometer between 20Hz and 50Hz
1241 * Sensors to batch: any high frequency sensor.
1247 * Sensors to batch: barometer, humidity sensor, other low frequency
1253 * Sensors to batch: all, at high frequencies
1261 int (*batch)(struct sensors_poll_device_1* dev,
1266 * to the end of the "batch mode" FIFO for the specified sensor and flushes
1267 * the FIFO; those events are delivered as usual (i.e.: as if the batch
1280 * If the specified sensor wasn't in batch mode, flush succeeds and