Home
last modified time | relevance | path

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

/drivers/input/
A Dinput_adc_keys.c28 bool curr_state; member
109 key_state->last_state = key_state->curr_state; in adc_keys_process()
110 key_state->curr_state = false; in adc_keys_process()
129 key_state->curr_state = true; in adc_keys_process()
141 if (key_state->orig_state != key_state->curr_state && in adc_keys_process()
142 key_state->last_state == key_state->curr_state) { in adc_keys_process()
143 LOG_DBG("Report event %s %d, code=%d", dev->name, key_state->curr_state, in adc_keys_process()
145 input_report_key(dev, key_code, key_state->curr_state, true, K_FOREVER); in adc_keys_process()
146 key_state->orig_state = key_state->curr_state; in adc_keys_process()
/drivers/firmware/tisci/
A Dtisci.c247 bool *curr_state) in tisci_cmd_clk_is_on() argument
252 if (!req_state && !curr_state) { in tisci_cmd_clk_is_on()
264 if (curr_state) { in tisci_cmd_clk_is_on()
271 bool *curr_state) in tisci_cmd_clk_is_off() argument
288 if (curr_state) { in tisci_cmd_clk_is_off()
699 bool *curr_state) in tisci_cmd_dev_is_stop() argument
704 if (!r_state && !curr_state) { in tisci_cmd_dev_is_stop()
716 if (curr_state) { in tisci_cmd_dev_is_stop()
728 if (!r_state && !curr_state) { in tisci_cmd_dev_is_on()
740 if (curr_state) { in tisci_cmd_dev_is_on()
[all …]
/drivers/sensor/ti/fdc2x1x/
A 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()

Completed in 22 milliseconds