Home
last modified time | relevance | path

Searched refs:event_msgq (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/modules/lvgl/input/
Dlvgl_common_input.c32 if (k_msgq_get(cfg->event_msgq, data, K_NO_WAIT) != 0) { in lvgl_input_read_cb()
42 data->continue_reading = k_msgq_num_used_get(cfg->event_msgq) > 0; in lvgl_input_read_cb()
Dlvgl_encoder_input.c40 if (k_msgq_put(cfg->common_config.event_msgq, &data->pending_event, K_NO_WAIT) != 0) { in lvgl_encoder_process_event()
67 .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, encoder), \
Dlvgl_keypad_input.c44 if (k_msgq_put(cfg->common_config.event_msgq, &data->pending_event, K_NO_WAIT) != 0) { in lvgl_keypad_process_event()
65 .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, keypad), \
Dlvgl_button_input.c44 if (k_msgq_put(cfg->common_config.event_msgq, &data->pending_event, K_NO_WAIT) != 0) { in lvgl_button_process_event()
77 .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, button), \
Dlvgl_pointer_input.c124 if (k_msgq_put(cfg->common_config.event_msgq, &data->common_data.pending_event, in lvgl_pointer_process_event()
139 .common_config.event_msgq = &LVGL_INPUT_EVENT_MSGQ(inst, pointer), \
/Zephyr-latest/drivers/stepper/step_dir/
Dstep_dir_stepper_common.c72 int ret = k_msgq_put(&data->event_msgq, &event, K_NO_WAIT); in stepper_trigger_callback()
95 ret = k_msgq_get(&data->event_msgq, &event, K_NO_WAIT); in stepper_work_event_handler()
106 if (k_msgq_num_used_get(&data->event_msgq) > 0) { in stepper_work_event_handler()
218 k_msgq_init(&data->event_msgq, data->event_msgq_buffer, sizeof(enum stepper_event), in step_dir_stepper_common_init()
Dstep_dir_stepper_common.h87 struct k_msgq event_msgq; member
/Zephyr-latest/modules/lvgl/include/
Dlvgl_common_input.h19 struct k_msgq *event_msgq; member
/Zephyr-latest/subsys/net/ip/
Dnet_mgmt.c61 K_MSGQ_DEFINE(event_msgq, sizeof(struct mgmt_event_entry),
100 if (k_msgq_put(&event_msgq, &new_event, in mgmt_push_event()
119 while (k_msgq_get(&event_msgq, &mgmt_event, K_NO_WAIT) == 0) { in mgmt_event_work_handler()
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_calculator_thread.c19 K_MSGQ_DEFINE(event_msgq, sizeof(struct calculator_event), 8, 1);
666 return k_msgq_put(&event_msgq, event, timeout); in post_calculator_event()
698 rc = k_msgq_get(&event_msgq, &s_obj.event, K_FOREVER); in smf_calculator_thread()