Searched refs:s_startcount (Results 1 – 3 of 3) sorted by relevance
296 uint64_t s_startcount; member393 sensor->s_startcount = 0; in exclaves_sensor_init()421 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()426 if (sensor->s_startcount > 0) { in exclaves_sensor_start()429 sensor->s_startcount += 1; in exclaves_sensor_start()443 sensor->s_startcount += 1; in exclaves_sensor_start()470 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()475 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()478 sensor->s_startcount -= 1; in exclaves_sensor_stop()492 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