Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/input/
Dinput_adc_keys.c27 bool curr_state; member
117 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()
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x.c486 enum pm_device_state curr_state; in fdc2x1x_device_pm_action() local
488 (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()