Searched refs:s_startcount (Results 1 – 3 of 3) sorted by relevance
224 uint64_t s_startcount; member320 sensor->s_startcount = 0; in exclaves_sensor_init()348 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()353 if (sensor->s_startcount > 0) { in exclaves_sensor_start()356 sensor->s_startcount += 1; in exclaves_sensor_start()370 sensor->s_startcount += 1; in exclaves_sensor_start()397 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()402 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()405 sensor->s_startcount -= 1; in exclaves_sensor_stop()419 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