Searched refs:curr_state (Results 1 – 3 of 3) sorted by relevance
28 bool curr_state; member109 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()
247 bool *curr_state) in tisci_cmd_clk_is_on() argument252 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() argument288 if (curr_state) { in tisci_cmd_clk_is_off()699 bool *curr_state) in tisci_cmd_dev_is_stop() argument704 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 …]
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()
Completed in 22 milliseconds