Home
last modified time | relevance | path

Searched refs:event_id (Results 1 – 24 of 24) sorted by relevance

/Zephyr-latest/tests/arch/arm64/arm64_gicv3_its/src/
Dmain.c39 int devn, event_id; in ZTEST() local
49 for (event_id = 0; event_id < ITS_TEST_NUM_ITES; ++event_id) { in ZTEST()
50 vectors[devn][event_id] = its_alloc_intid(dev); in ZTEST()
51 zassert_true(vectors[devn][event_id] >= 8192, ""); in ZTEST()
52 zassert_true(vectors[devn][event_id] < CONFIG_NUM_IRQS, ""); in ZTEST()
54 zassert_true(its_map_intid(dev, device_id, event_id, in ZTEST()
55 vectors[devn][event_id]) == 0, ""); in ZTEST()
62 int devn, event_id; in ZTEST() local
69 for (event_id = remain; event_id < ITS_TEST_NUM_ITES; event_id += ITS_TEST_NEXT) { in ZTEST()
70 unsigned int irqn = vectors[devn][event_id]; in ZTEST()
[all …]
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/src/
Dhsm_psicc2_console_cmds.c22 int event_id = toupper(argv[1][0]); in cmd_hsm_psicc2_event() local
24 switch (event_id) { in cmd_hsm_psicc2_event()
26 event.event_id = EVENT_A; in cmd_hsm_psicc2_event()
29 event.event_id = EVENT_B; in cmd_hsm_psicc2_event()
32 event.event_id = EVENT_C; in cmd_hsm_psicc2_event()
35 event.event_id = EVENT_D; in cmd_hsm_psicc2_event()
38 event.event_id = EVENT_E; in cmd_hsm_psicc2_event()
41 event.event_id = EVENT_F; in cmd_hsm_psicc2_event()
44 event.event_id = EVENT_G; in cmd_hsm_psicc2_event()
47 event.event_id = EVENT_H; in cmd_hsm_psicc2_event()
[all …]
Dhsm_psicc2_thread.c75 switch (obj->event.event_id) { in s_run()
111 switch (obj->event.event_id) { in s1_run()
160 switch (obj->event.event_id) { in s11_run()
197 switch (obj->event.event_id) { in s2_run()
234 switch (obj->event.event_id) { in s21_run()
266 switch (obj->event.event_id) { in s211_run()
Dhsm_psicc2_thread.h24 uint32_t event_id; member
/Zephyr-latest/samples/subsys/smf/smf_calculator/src/
Dsmf_console_cmds.c20 event.event_id = DIGIT_1_9; in cmd_smf_key()
22 event.event_id = DIGIT_0; in cmd_smf_key()
24 event.event_id = DECIMAL_POINT; in cmd_smf_key()
26 event.event_id = OPERATOR; in cmd_smf_key()
28 event.event_id = EQUALS; in cmd_smf_key()
30 event.event_id = CANCEL_BUTTON; in cmd_smf_key()
32 event.event_id = CANCEL_ENTRY; in cmd_smf_key()
Dmain.c55 .event = {.event_id = CANCEL_ENTRY, .operand = 'E'}},
56 [BUTTON_CANCEL] = {.label = "C", .event = {.event_id = CANCEL_BUTTON, .operand = 'C'}},
57 [BUTTON_ADD] = {.label = "+", .event = {.event_id = OPERATOR, .operand = '+'}},
58 [BUTTON_SUBTRACT] = {.label = "-", .event = {.event_id = OPERATOR, .operand = '-'}},
59 [BUTTON_MULTIPLY] = {.label = "*", .event = {.event_id = OPERATOR, .operand = '*'}},
60 [BUTTON_DIVIDE] = {.label = "/", .event = {.event_id = OPERATOR, .operand = '/'}},
62 .event = {.event_id = DECIMAL_POINT, .operand = '.'}},
63 [BUTTON_EQUALS] = {.label = "=", .event = {.event_id = EQUALS, .operand = '='}},
64 [BUTTON_0] = {.label = "0", .event = {.event_id = DIGIT_0, .operand = '0'}},
65 [BUTTON_1] = {.label = "1", .event = {.event_id = DIGIT_1_9, .operand = '1'}},
[all …]
Dsmf_calculator_thread.c200 switch (s->event.event_id) { in on_run()
216 switch (s->event.event_id) { in ready_run()
262 switch (s->event.event_id) { in begin_run()
290 switch (s->event.event_id) { in negated_1_run()
331 switch (s->event.event_id) { in operand_1_run()
352 switch (s->event.event_id) { in zero_1_run()
377 switch (s->event.event_id) { in int_1_run()
399 switch (s->event.event_id) { in frac_1_run()
430 switch (s->event.event_id) { in negated_2_run()
471 switch (s->event.event_id) { in operand_2_run()
[all …]
Dsmf_calculator_thread.h31 enum calculator_events event_id; member
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dgicv3_its.h23 uint32_t event_id, unsigned int intid);
24 typedef int (*its_api_send_int_t)(const struct device *dev, uint32_t device_id, uint32_t event_id);
53 uint32_t event_id, unsigned int intid) in its_map_intid() argument
58 return api->map_intid(dev, device_id, event_id, intid); in its_map_intid()
61 static inline int its_send_int(const struct device *dev, uint32_t device_id, uint32_t event_id) in its_send_int() argument
66 return api->send_int(dev, device_id, event_id); in its_send_int()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dcallbacks.h50 #define MGMT_DEF_EVT_OP_ID(group, event_id) ((group << 16) | BIT(event_id)) argument
271 uint32_t event_id; member
/Zephyr-latest/drivers/interrupt_controller/
Dintc_gicv3_its.c379 uint32_t event_id, uint32_t intid, uint32_t icid) in its_send_mapti_cmd() argument
389 cmd->raw_cmd[1] = MASK_SET(event_id, GITS_CMD_EVENTID) | in its_send_mapti_cmd()
397 uint32_t event_id) in its_send_int_cmd() argument
407 cmd->raw_cmd[1] = MASK_SET(event_id, GITS_CMD_EVENTID); in its_send_int_cmd()
426 static int gicv3_its_send_int(const struct device *dev, uint32_t device_id, uint32_t event_id) in gicv3_its_send_int() argument
432 return its_send_int_cmd(data, device_id, event_id); in gicv3_its_send_int()
473 static int gicv3_its_map_intid(const struct device *dev, uint32_t device_id, uint32_t event_id, in gicv3_its_map_intid() argument
486 ret = its_send_mapti_cmd(data, device_id, event_id, intid, arch_curr_cpu()->id); in gicv3_its_map_intid()
489 event_id, intid, device_id); in gicv3_its_map_intid()
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/src/
Dmgmt.c172 if (loop_group->event_id == MGMT_EVT_OP_ALL || in mgmt_callback_notify()
173 (MGMT_EVT_GET_GROUP(loop_group->event_id) == group && in mgmt_callback_notify()
174 (MGMT_EVT_GET_ID(event) & MGMT_EVT_GET_ID(loop_group->event_id)) == in mgmt_callback_notify()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/src/
Dmain.c57 test_callback.event_id = MGMT_EVT_OP_EXAMPLE_OTHER; in main()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Devent_flags.c181 void test_event_from_isr(void *event_id) in test_event_from_isr() argument
184 irq_offload(offload_function, (const void *)event_id); in test_event_from_isr()
/Zephyr-latest/drivers/dma/
Ddma_sedi.c46 static void dma_handler(sedi_dma_t dma_device, int channel, int event_id, in dma_handler() argument
56 if ((event_id == SEDI_DMA_EVENT_TRANSFER_DONE) && in dma_handler()
62 channel, event_id); in dma_handler()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/cb_notifications/src/
Dmain.c72 .event_id = (MGMT_EVT_OP_CMD_RECV | MGMT_EVT_OP_CMD_STATUS | MGMT_EVT_OP_CMD_DONE),
/Zephyr-latest/doc/services/device_mgmt/
Dmcumgr_callbacks.rst61 my_callback.event_id = MGMT_EVT_OP_CMD_DONE;
88 my_callback.event_id = (MGMT_EVT_OP_CMD_RECV |
100 my_callback.event_id = (MGMT_EVT_OP_IMG_MGMT_DFU_STARTED |
184 my_callback.event_id = MGMT_EVT_OP_FS_MGMT_FILE_ACCESS;
/Zephyr-latest/drivers/wifi/esp32/src/
Desp_wifi_drv.c416 void esp_wifi_event_handler(const char *event_base, int32_t event_id, void *event_data, in esp_wifi_event_handler() argument
427 LOG_DBG("Wi-Fi event: %d", event_id); in esp_wifi_event_handler()
428 switch (event_id) { in esp_wifi_event_handler()
/Zephyr-latest/drivers/usb/udc/
Dudc_renesas_ra.c58 switch (p_args->event.event_id) { in udc_renesas_ra_event_handler()
292 switch (evt.hal_evt.event_id) { in renesas_ra_thread_handler()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/
Dmain.c165 .event_id = MGMT_EVT_OP_OS_MGMT_INFO_CHECK,
170 .event_id = MGMT_EVT_OP_OS_MGMT_INFO_APPEND,
220 .event_id = (MGMT_EVT_OP_OS_MGMT_INFO_CHECK | MGMT_EVT_OP_OS_MGMT_INFO_APPEND),
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/
Dmain.c578 .event_id = (MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_IMAGE | MGMT_EVT_OP_IMG_MGMT_SLOT_INFO_SLOT),
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/
Dmain.c808 .event_id = MGMT_EVT_OP_ENUM_MGMT_DETAILS,
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/
Dmain.c142 .event_id = (MGMT_EVT_OP_OS_MGMT_DATETIME_GET | MGMT_EVT_OP_OS_MGMT_DATETIME_SET),
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/
Dmain.c1591 .event_id = MGMT_EVT_OP_SETTINGS_MGMT_ACCESS,