Home
last modified time | relevance | path

Searched refs:current_state (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.4.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dkernel.c37 int32_t state_before_lock, state_after_lock, current_state; in lock_unlock_check() local
52 current_state = osKernelRestoreLock(state_before_lock); in lock_unlock_check()
54 zassert_true(current_state == osErrorISR); in lock_unlock_check()
56 zassert_equal(current_state, state_before_lock); in lock_unlock_check()
/Zephyr-Core-3.4.0/samples/drivers/can/counter/src/
Dmain.c36 enum can_state current_state; variable
166 state_to_str(current_state), in state_change_work_handler()
170 if (current_state == CAN_STATE_BUS_OFF) { in state_change_work_handler()
187 current_state = state; in state_change_callback()
/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_pca953x.c111 uint8_t current_state; in gpio_pca953x_handle_interrupt() local
131 current_state = drv_data->pin_state.input; in gpio_pca953x_handle_interrupt()
132 transitioned_pins = previous_state ^ current_state; in gpio_pca953x_handle_interrupt()
136 current_state); in gpio_pca953x_handle_interrupt()
Dgpio_tca6424a.c186 uint32_t current_state; in tca6424a_handle_interrupt() local
200 ret = update_input_regs(dev, &current_state); in tca6424a_handle_interrupt()
207 transitioned_pins = previous_state ^ current_state; in tca6424a_handle_interrupt()
210 interrupt_status = (irq_state->rising & transitioned_pins & current_state); in tca6424a_handle_interrupt()
/Zephyr-Core-3.4.0/subsys/net/lib/http/
Dhttp_parser.c206 int cb_notify(struct http_parser *parser, enum state *current_state, http_cb cb, in cb_notify() argument
215 parser->state = *current_state; in cb_notify()
219 *current_state = parser->state; in cb_notify()
231 enum state *current_state, size_t *parsed, size_t already_parsed, in cb_data() argument
244 parser->state = *current_state; in cb_data()
249 *current_state = parser->state; in cb_data()
657 enum state *current_state, size_t *parsed, in zero_content_length() argument
660 enum state p_state = *current_state; in zero_content_length()
701 *current_state = p_state; in zero_content_length()
/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_pe_common.c1152 enum usbc_pe_state current_state = pe_get_state(dev); in pe_sender_response_run() local
1165 switch (current_state) { in pe_sender_response_run()