Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 5 of 5) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp209 int nb, polltime = -1; in pollEvents() local
214 nb = poll(mPollFds, numSensorDrivers, polltime); in pollEvents()
215 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d", nb, count, polltime); in pollEvents()
216 if (nb > 0) { in pollEvents()
219 nb = 0; in pollEvents()
227 nb = ((MPLSensor*)mSensor)-> in pollEvents()
230 if (isDmpScreenAutoRotationEnabled() && nb > 0) { in pollEvents()
231 count -= nb; in pollEvents()
232 nbEvents += nb; in pollEvents()
233 data += nb; in pollEvents()
[all …]
DMPLSupport.cpp84 int nb; in enable_sysfs_sensor() local
88 nb = write(fd, &c, 1); in enable_sysfs_sensor()
90 if (nb <= 0) { in enable_sysfs_sensor()
93 c, nb, strerror(err), err); in enable_sysfs_sensor()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp223 int nb, polltime = -1; in pollEvents() local
251 nb = poll(mPollFds, numSensorDrivers, polltime); in pollEvents()
252 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d ts=%lld", nb, count, polltime, getTimestamp()); in pollEvents()
253 if (nb == 0 && count > 0) { in pollEvents()
256 nb = ((MPLSensor*) mSensor)->readDmpPedometerEvents( in pollEvents()
260 nb, count, nbEvents, data->timestamp); in pollEvents()
261 if (nb > 0) { in pollEvents()
262 count -= nb; in pollEvents()
263 nbEvents += nb; in pollEvents()
264 data += nb; in pollEvents()
[all …]
DMPLSupport.cpp84 int nb; in enable_sysfs_sensor() local
88 nb = write(fd, &c, 1); in enable_sysfs_sensor()
90 if (nb <= 0) { in enable_sysfs_sensor()
93 c, nb, strerror(err), err); in enable_sysfs_sensor()
DMPLSensor.cpp3989 int i, nb, mask = 0, local