Searched refs:s_startcount (Results 1 – 3 of 3) sorted by relevance
253 uint64_t s_startcount; member349 sensor->s_startcount = 0; in exclaves_sensor_init()377 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()382 if (sensor->s_startcount > 0) { in exclaves_sensor_start()385 sensor->s_startcount += 1; in exclaves_sensor_start()399 sensor->s_startcount += 1; in exclaves_sensor_start()426 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()431 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()434 sensor->s_startcount -= 1; in exclaves_sensor_stop()448 sensor->s_startcount = 0; in exclaves_sensor_stop()
1448 for (int i = 0; i < resource->r_sensor.s_startcount; i++) { in exclaves_resource_sensor_reset()1454 resource->r_sensor.s_startcount = 0; in exclaves_resource_sensor_reset()1488 if (resource->r_sensor.s_startcount == UINT64_MAX) { in exclaves_resource_sensor_start()1496 resource->r_sensor.s_startcount += 1; in exclaves_resource_sensor_start()1523 if (resource->r_sensor.s_startcount == 0) { in exclaves_resource_sensor_stop()1531 resource->r_sensor.s_startcount -= 1; in exclaves_resource_sensor_stop()
147 uint64_t s_startcount; member