Searched refs:s_startcount (Results 1 – 3 of 3) sorted by relevance
218 uint64_t s_startcount; member311 sensor->s_startcount = 0; in exclaves_sensor_init()339 if (sensor->s_startcount == UINT64_MAX) { in exclaves_sensor_start()344 if (sensor->s_startcount > 0) { in exclaves_sensor_start()347 sensor->s_startcount += 1; in exclaves_sensor_start()361 sensor->s_startcount += 1; in exclaves_sensor_start()388 if (sensor->s_startcount == 0) { in exclaves_sensor_stop()393 if (sensor->s_startcount > 1) { in exclaves_sensor_stop()396 sensor->s_startcount -= 1; in exclaves_sensor_stop()410 sensor->s_startcount = 0; in exclaves_sensor_stop()
1302 for (int i = 0; i < resource->r_sensor.s_startcount; i++) { in exclaves_resource_sensor_reset()1308 resource->r_sensor.s_startcount = 0; in exclaves_resource_sensor_reset()1342 if (resource->r_sensor.s_startcount == UINT64_MAX) { in exclaves_resource_sensor_start()1350 resource->r_sensor.s_startcount += 1; in exclaves_resource_sensor_start()1377 if (resource->r_sensor.s_startcount == 0) { in exclaves_resource_sensor_stop()1385 resource->r_sensor.s_startcount -= 1; in exclaves_resource_sensor_stop()
126 uint64_t s_startcount; member