Lines Matching refs:hws_state
54 static unsigned int hws_state; variable
544 if (hws_state == HWS_DEALLOCATED) { in hws_oom_callback()
611 if (hws_state == HWS_STARTED) { in hwsampler_deactivate()
620 hws_state = HWS_STOPPING; in hwsampler_deactivate()
655 if (hws_state == HWS_STARTED) { in hwsampler_activate()
959 if (hws_state != HWS_DEALLOCATED) in hwsampler_allocate()
984 hws_state = HWS_STOPPED; in hwsampler_allocate()
1009 if (hws_state != HWS_STOPPED) in hwsampler_deallocate()
1015 hws_state = HWS_DEALLOCATED; in hwsampler_deallocate()
1052 if (hws_state) in hwsampler_setup()
1055 hws_state = HWS_INIT; in hwsampler_setup()
1102 hws_state = HWS_DEALLOCATED; in hwsampler_setup()
1117 if (hws_state == HWS_DEALLOCATED || hws_state == HWS_STOPPED) { in hwsampler_shutdown()
1125 if (hws_state == HWS_STOPPED) { in hwsampler_shutdown()
1135 hws_state = HWS_INIT; in hwsampler_shutdown()
1160 if (hws_state != HWS_STOPPED) in hwsampler_start_all()
1188 hws_state = HWS_STARTED; in hwsampler_start_all()
1219 if (hws_state == HWS_INIT) { in hwsampler_stop_all()
1223 hws_state = HWS_STOPPING; in hwsampler_stop_all()
1242 hws_state = HWS_STOPPED; in hwsampler_stop_all()