Home
last modified time | relevance | path

Searched refs:evt_data (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/samples/drivers/mspi/mspi_async/src/
Dmain.c37 mspi_cb_ctx->mspi_evt.evt_data.status = status; in async_cb()
38 if (mspi_cb_ctx->mspi_evt.evt_data.packet_idx == usr_ctx->total_packets - 1) { in async_cb()
189 cb_ctx1.mspi_evt.evt_data.packet_idx, in main()
190 cb_ctx2.mspi_evt.evt_data.packet_idx); in main()
/Zephyr-latest/drivers/bluetooth/hci/
Dhci_ambiq.c150 static int hci_event_filter(const uint8_t *evt_data) in hci_event_filter() argument
152 uint8_t evt_type = evt_data[EVT_HEADER_TYPE]; in hci_event_filter()
156 uint8_t subevt_type = evt_data[sizeof(struct bt_hci_evt_hdr)]; in hci_event_filter()
166 uint16_t opcode = (uint16_t)(evt_data[EVT_CMD_COMP_OP_LSB] + in hci_event_filter()
167 (evt_data[EVT_CMD_COMP_OP_MSB] << 8)); in hci_event_filter()
179 (void *)&evt_data[EVT_CMD_COMP_DATA]; in hci_event_filter()
Dipc.c33 static bool is_hci_event_discardable(const uint8_t *evt_data) in is_hci_event_discardable() argument
35 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable()
44 uint8_t subevt_type = evt_data[sizeof(struct bt_hci_evt_hdr)]; in is_hci_event_discardable()
53 (void *)&evt_data[3]; in is_hci_event_discardable()
Dhci_esp32.c30 static bool is_hci_event_discardable(const uint8_t *evt_data) in is_hci_event_discardable() argument
32 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable()
41 uint8_t subevt_type = evt_data[sizeof(struct bt_hci_evt_hdr)]; in is_hci_event_discardable()
Dhci_nxp.c208 static bool is_hci_event_discardable(const uint8_t *evt_data) in is_hci_event_discardable() argument
211 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable()
215 uint8_t subevt_type = evt_data[sizeof(struct bt_hci_evt_hdr)]; in is_hci_event_discardable()
Dhci_stm32wba.c74 static bool is_hci_event_discardable(const uint8_t *evt_data) in is_hci_event_discardable() argument
76 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable()
85 uint8_t subevt_type = evt_data[sizeof(struct bt_hci_evt_hdr)]; in is_hci_event_discardable()
/Zephyr-latest/drivers/espi/
Dhost_subs_npcx.c263 (struct espi_evt_data_kbc *)&evt.evt_data; in host_kbc_ibf_isr()
276 LOG_DBG("%s: kbc data 0x%02x", __func__, evt.evt_data); in host_kbc_ibf_isr()
289 (struct espi_evt_data_kbc *)&evt.evt_data; in host_kbc_obe_isr()
342 .evt_data = ESPI_PERIPHERAL_NODATA in host_acpi_process_input_data()
345 (struct espi_evt_data_acpi *)&evt.evt_data; in host_acpi_process_input_data()
399 evt.evt_data = data; in host_hcmd_process_input_data()
400 LOG_DBG("%s: host cmd data 0x%02x", __func__, evt.evt_data); in host_hcmd_process_input_data()
521 evt.evt_data = code; in host_port80_work_handler()
534 evt.evt_data = code; in host_port80_work_handler()
567 evt.evt_data = inst_shm->DP80BUF; in host_port80_isr()
Despi_mchp_xec.c858 evt.evt_data = 1; in espi_rst_isr()
860 evt.evt_data = 0; in espi_rst_isr()
986 .evt_data = 0 }; in espi_vwire_chanel_isr()
993 evt.evt_data = 1; in espi_vwire_chanel_isr()
1012 .evt_data = 0 }; in espi_oob_down_isr()
1037 .evt_data = 0 in espi_oob_up_isr()
1054 evt.evt_data = 1; in espi_oob_up_isr()
1070 .evt_data = 0, in espi_flash_isr()
1091 evt.evt_data = 1; in espi_flash_isr()
1112 evt.evt_data = status; in vw_pltrst_isr()
[all …]
Despi_mchp_xec_v2.c765 evt.evt_data = 1; in espi_rst_isr()
767 evt.evt_data = 0; in espi_rst_isr()
854 .evt_data = 0 }; in espi_pc_isr()
873 evt.evt_data = ESPI_PC_EVT_BUS_MASTER_ENABLE; in espi_pc_isr()
890 .evt_data = 0 }; in espi_vw_chan_en_isr()
895 evt.evt_data = 1; in espi_vw_chan_en_isr()
918 .evt_data = 0 }; in espi_oob_down_isr()
947 .evt_data = 0 in espi_oob_up_isr()
964 evt.evt_data = 1; in espi_oob_up_isr()
983 .evt_data = 0, in espi_flash_isr()
[all …]
Despi_mchp_xec_host_v2.c203 (struct espi_evt_data_kbc *)&evt.evt_data; in kbc0_ibf_isr()
227 .evt_data = isr_data in kbc0_ibf_isr()
248 (struct espi_evt_data_kbc *)&evt.evt_data; in kbc0_obe_isr()
437 (struct espi_evt_data_acpi *)&evt.evt_data; in acpi_ec0_ibf_isr()
585 .evt_data = ESPI_PERIPHERAL_NODATA in acpi_ec1_ibf_isr()
597 evt.evt_data = acpi_ec1_hw->OS2EC_DATA; in acpi_ec1_ibf_isr()
836 evt.evt_data = (dattr & 0xffu) | BIT(16); in p80bd0_isr()
Despi_npcx.c296 .evt_data = 0 }; in espi_bus_cfg_update_isr()
312 evt.evt_data = IS_BIT_SET(inst->ESPICFG, in espi_bus_cfg_update_isr()
317 if (chan == NPCX_ESPI_CH_FLASH && evt.evt_data == 1 && in espi_bus_cfg_update_isr()
323 if (evt.evt_data) { in espi_bus_cfg_update_isr()
364 .evt_data = 0, in espi_bus_oob_rx_isr()
443 .evt_data = espi_taf_parse(dev), in espi_bus_flash_rx_isr()
571 evt.evt_data = wire; in espi_vw_notify_system_state()
628 evt.evt_data = wire; in espi_vw_notify_plt_rst()
699 evt.evt_data = data->espi_rst_level; in espi_vw_espi_rst_isr()
Despi_it8xxx2.c400 (struct espi_evt_data_kbc *)&evt.evt_data; in kbc_it8xxx2_ibf_isr()
427 (struct espi_evt_data_kbc *)&evt.evt_data; in kbc_it8xxx2_obe_isr()
482 (struct espi_evt_data_acpi *)&evt.evt_data; in pmc1_it8xxx2_ibf_isr()
525 evt.evt_data = gctrl->GCTRL_P80HDR | (gctrl->GCTRL_P81HDR << 8); in port80_it8xxx2_isr()
527 evt.evt_data = gctrl->GCTRL_P80HDR; in port80_it8xxx2_isr()
568 evt.evt_data = pmc_reg->PM2DI; in pmc2_it8xxx2_ibf_isr()
1368 evt.evt_data = level; in espi_it8xxx2_vw_notify_system_state()
1607 .evt_data = en, in espi_it8xxx2_ch_notify_system_state()
1695 .evt_data = 0 }; in espi_it8xxx2_put_oob_status_isr()
1851 evt.evt_data = espi_reset; in espi_it8xxx2_espi_reset_isr()
Despi_saf_mchp_xec_v2.c1032 .evt_data = ecp_status }; in espi_saf_done_isr()
1056 .evt_data = mon_status }; in espi_saf_err_isr()
Despi_taf_npcx.c81 data_ptr = (struct espi_taf_pckt *)event.evt_data; in espi_taf_get_pckt()
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c789 espi_rst_sts = event.evt_data; in espi_reset_handler()
790 LOG_INF("eSPI BUS reset %d", event.evt_data); in espi_reset_handler()
801 LOG_INF("VW channel event %x", event.evt_data); in espi_ch_handler()
804 LOG_INF("Flash channel event %d", event.evt_data); in espi_ch_handler()
807 LOG_INF("OOB channel event %d", event.evt_data); in espi_ch_handler()
822 LOG_INF("PLT_RST changed %d", event.evt_data); in vwire_handler()
827 LOG_INF("SLP signal changed %d", event.evt_data); in vwire_handler()
831 host_warn_handler(event.evt_details, event.evt_data); in vwire_handler()
849 LOG_INF("Postcode %x", event.evt_data); in periph_handler()
852 LOG_INF("ACPI %x", event.evt_data); in periph_handler()
[all …]
/Zephyr-latest/drivers/mspi/
Dmspi_ambiq_ap3.c243 volatile struct mspi_event_data *evt_data; in mspi_context_lock() local
245 evt_data = &ctx->callback_ctx->mspi_evt.evt_data; in mspi_context_lock()
246 while (evt_data->status != 0) { in mspi_context_lock()
1086 ctx->callback_ctx->mspi_evt.evt_data.controller = controller; in mspi_pio_transceive()
1087 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_pio_transceive()
1088 ctx->callback_ctx->mspi_evt.evt_data.packet = packet; in mspi_pio_transceive()
1089 ctx->callback_ctx->mspi_evt.evt_data.packet_idx = packet_idx; in mspi_pio_transceive()
1090 ctx->callback_ctx->mspi_evt.evt_data.status = ~0; in mspi_pio_transceive()
1176 ctx->callback_ctx->mspi_evt.evt_data.controller = controller; in mspi_dma_transceive()
1177 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_dma_transceive()
[all …]
Dmspi_emul.c399 evt->evt_data.controller = controller; in emul_mspi_trigger_event()
400 evt->evt_data.dev_id = ctx->owner; in emul_mspi_trigger_event()
401 evt->evt_data.packet = packet; in emul_mspi_trigger_event()
402 evt->evt_data.packet_idx = ctx->packets_done; in emul_mspi_trigger_event()
/Zephyr-latest/subsys/emul/espi/
Demul_espi_host.c191 evt.evt_data = level; in emul_espi_host_send_vw()
210 evt.evt_data = data; in emul_espi_host_port80_write()
/Zephyr-latest/include/zephyr/drivers/
Dmspi.h447 struct mspi_event_data evt_data; member
Despi.h353 uint32_t evt_data; member