Lines Matching defs:g_tui_state
126 static atomic_t g_tui_state = ATOMIC_INIT(TUI_STATE_UNUSED);
938 /* The g_tui_state should be CONFIG */
939 if (atomic_read(&g_tui_state) != TUI_STATE_CONFIG) {
1084 status_temp = atomic_read(&g_tui_state);
1152 if (atomic_read(&g_tui_state) != TUI_STATE_UNUSED && g_dss_fd->comp.power_on) {
1154 if (atomic_read(&g_tui_state) != TUI_STATE_UNUSED && g_dss_fd->panel_power_on) {
1157 atomic_read(&g_tui_state));
1175 if (atomic_read(&g_tui_state) == TUI_STATE_RUNNING)
1179 if (atomic_read(&g_tui_state) == TUI_STATE_UNUSED)
1397 if (atomic_read(&g_tui_state) != state) {
1398 atomic_set(&g_tui_state, state);
1447 if (atomic_read(&g_tui_state) != TUI_STATE_UNUSED) {
1471 if (atomic_read(&g_tui_state) != TUI_STATE_UNUSED &&
1495 if (atomic_read(&g_tui_state) == TUI_STATE_CONFIG)
1514 if (atomic_read(&g_tui_state) == TUI_STATE_UNUSED ||
1527 if (atomic_read(&g_tui_state) == TUI_STATE_UNUSED)
1653 state_name[atomic_read(&g_tui_state)]);
1704 r = snprintf_s(buf, buf_len, buf_len - 1, "%s", state_name[atomic_read(&g_tui_state)]);