Searched refs:curr_state (Results 1 – 2 of 2) sorted by relevance
27 bool curr_state; member117 key_state->curr_state = true; in adc_keys_process()129 if (key_state->last_state != key_state->curr_state) { in adc_keys_process()130 LOG_DBG("Report event %s %d, code=%d", dev->name, key_state->curr_state, in adc_keys_process()132 input_report_key(dev, key_code, key_state->curr_state, true, K_FOREVER); in adc_keys_process()133 key_state->last_state = key_state->curr_state; in adc_keys_process()140 key_state->curr_state = false; in adc_keys_process()
486 enum pm_device_state curr_state; in fdc2x1x_device_pm_action() local488 (void)pm_device_state_get(dev, &curr_state); in fdc2x1x_device_pm_action()492 if (curr_state == PM_DEVICE_STATE_OFF) { in fdc2x1x_device_pm_action()506 if (curr_state == PM_DEVICE_STATE_OFF) { in fdc2x1x_device_pm_action()