/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_nrfx.c | 143 enum usbd_ep_event_type evt_type; member 171 enum usbd_event_type evt_type; member 460 ev->evt_type = USBD_EVT_REINIT; in usbd_evt_alloc() 481 ev->evt_type = USBD_EVT_POWER; in submit_dc_power_event() 814 switch (ep_evt->evt_type) { in usbd_work_process_ep_events() 862 ev->evt_type = USBD_EVT_EP; in usbd_event_transfer_ctrl() 863 ev->evt.ep_evt.evt_type = EP_EVT_WRITE_COMPLETE; in usbd_event_transfer_ctrl() 897 ev->evt_type = USBD_EVT_EP; in usbd_event_transfer_ctrl() 898 ev->evt.ep_evt.evt_type = EP_EVT_RECV_REQ; in usbd_event_transfer_ctrl() 915 ev->evt_type = USBD_EVT_EP; in usbd_event_transfer_ctrl() [all …]
|
/Zephyr-latest/drivers/espi/ |
D | espi_utils.h | 60 if (cb->evt_type & evt.evt_type) { in espi_send_callbacks()
|
D | espi_emul.c | 66 if (((evt->evt_type & ESPI_BUS_EVENT_VWIRE_RECEIVED) && in emul_espi_trigger_event() 68 ((evt->evt_type & ESPI_BUS_EVENT_OOB_RECEIVED) && in emul_espi_trigger_event() 70 ((evt->evt_type & ESPI_BUS_PERIPHERAL_NOTIFICATION) && in emul_espi_trigger_event()
|
D | espi_mchp_xec.c | 984 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_vwire_chanel_isr() 1010 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_OOB_RECEIVED, in espi_oob_down_isr() 1035 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_oob_up_isr() 1068 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_flash_isr() 1236 .evt_type = ESPI_BUS_PERIPHERAL_NOTIFICATION, in ibf_pvt_isr() 1258 .evt_type = ESPI_BUS_PERIPHERAL_NOTIFICATION, in ibf_kbc_isr()
|
D | espi_mchp_xec_v2.c | 852 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_pc_isr() 888 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_vw_chan_en_isr() 916 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_OOB_RECEIVED, in espi_oob_down_isr() 945 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_oob_up_isr() 981 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_flash_isr()
|
D | espi_npcx.c | 294 struct espi_event evt = { .evt_type = ESPI_BUS_EVENT_CHANNEL_READY, in espi_bus_cfg_update_isr() 362 .evt_type = ESPI_BUS_EVENT_OOB_RECEIVED, in espi_bus_oob_rx_isr() 441 .evt_type = ESPI_BUS_TAF_NOTIFICATION, in espi_bus_flash_rx_isr()
|
/Zephyr-latest/drivers/mspi/ |
D | mspi_emul.c | 381 enum mspi_bus_event evt_type) in emul_mspi_trigger_event() argument 389 if (evt_type == MSPI_BUS_XFER_COMPLETE) { in emul_mspi_trigger_event() 398 evt->evt_type = MSPI_BUS_XFER_COMPLETE; in emul_mspi_trigger_event() 417 cb = data->cbs[evt_type]; in emul_mspi_trigger_event() 418 cb_context = data->cb_ctxs[evt_type]; in emul_mspi_trigger_event() 422 LOG_ERR("%u, mspi callback type %u not registered.", __LINE__, evt_type); in emul_mspi_trigger_event() 700 const enum mspi_bus_event evt_type, in mspi_emul_register_callback() argument 714 if (evt_type >= MSPI_BUS_EVENT_MAX) { in mspi_emul_register_callback() 719 data->cbs[evt_type] = cb; in mspi_emul_register_callback() 720 data->cb_ctxs[evt_type] = ctx; in mspi_emul_register_callback()
|
D | mspi_ambiq_ap3.c | 1085 ctx->callback_ctx->mspi_evt.evt_type = MSPI_BUS_XFER_COMPLETE; in mspi_pio_transceive() 1175 ctx->callback_ctx->mspi_evt.evt_type = MSPI_BUS_XFER_COMPLETE; in mspi_dma_transceive() 1248 const enum mspi_bus_event evt_type, in mspi_ambiq_register_callback() argument 1264 if (evt_type != MSPI_BUS_XFER_COMPLETE) { in mspi_ambiq_register_callback() 1269 data->cbs[evt_type] = cb; in mspi_ambiq_register_callback() 1270 data->cb_ctxs[evt_type] = ctx; in mspi_ambiq_register_callback()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | espi_saf.h | 490 enum espi_bus_event evt_type) in espi_saf_init_callback() argument 496 callback->evt_type = evt_type; in espi_saf_init_callback()
|
D | mspi_emul.h | 60 enum mspi_bus_event evt_type);
|
D | mspi.h | 445 enum mspi_bus_event evt_type; member 489 const enum mspi_bus_event evt_type, 788 const enum mspi_bus_event evt_type, in mspi_register_callback() argument 798 return api->register_callback(controller, dev_id, evt_type, cb, ctx); in mspi_register_callback()
|
D | espi.h | 349 enum espi_bus_event evt_type; member 439 enum espi_bus_event evt_type; member 984 enum espi_bus_event evt_type) in espi_init_callback() argument 990 callback->evt_type = evt_type; in espi_init_callback()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_beacon.c | 1661 uint8_t evt_type; member 1678 beac->evt_type = proxy_adv_type_get(adv_type, buf); in proxy_adv_scan_all_cb() 1679 if (beac->evt_type == 0xFF) { in proxy_adv_scan_all_cb() 1687 if (beac->evt_type == BEACON_TYPE_NET_ID) { in proxy_adv_scan_all_cb() 1831 switch (beac->evt_type) { in proxy_adv_subnet_find() 1874 uint8_t evt_type; member 1887 if ((exp_evts[i].evt_cnt) && (beac->evt_type == exp_evts[i].evt_type) && in proxy_adv_register_evt() 1903 exp_evts[i].evt_cnt, proxy_adv_str[exp_evts[i].evt_type], in proxy_adv_confirm_evt() 2017 {.evt_type = BEACON_TYPE_NET_ID, .net_idx = 0, .evt_cnt = 19, in test_rx_proxy_adv_multi_subnet_coex() 2024 {.evt_type = BEACON_TYPE_NET_ID, .net_idx = 0, .evt_cnt = 8, in test_rx_proxy_adv_multi_subnet_coex() [all …]
|
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/ |
D | main.c | 71 static void adv_info_create(struct bt_hci_evt_le_ext_advertising_info *evt, uint16_t evt_type, in adv_info_create() argument 74 evt->evt_type = evt_type; in adv_info_create() 316 static void *adv_report_evt(struct net_buf *buf, uint8_t data_len, uint16_t evt_type, in adv_report_evt() argument 327 adv_info_create(evt, evt_type, addr, data_len); in adv_report_evt()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_esp32.c | 704 i2c_intr_event_t evt_type = I2C_INTR_EVENT_ERR; in i2c_esp32_isr() local 707 i2c_hal_master_handle_tx_event(&data->hal, &evt_type); in i2c_esp32_isr() 709 i2c_hal_master_handle_rx_event(&data->hal, &evt_type); in i2c_esp32_isr() 712 if (evt_type == I2C_INTR_EVENT_NACK) { in i2c_esp32_isr() 714 } else if (evt_type == I2C_INTR_EVENT_TOUT) { in i2c_esp32_isr() 716 } else if (evt_type == I2C_INTR_EVENT_ARBIT_LOST) { in i2c_esp32_isr() 718 } else if (evt_type == I2C_INTR_EVENT_TRANS_DONE) { in i2c_esp32_isr()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | scan.c | 591 static uint8_t get_adv_props_legacy(uint8_t evt_type) in get_adv_props_legacy() argument 593 switch (evt_type) { in get_adv_props_legacy() 708 static uint8_t get_adv_type(uint8_t evt_type) in get_adv_type() argument 710 switch (evt_type) { in get_adv_type() 745 static uint16_t get_adv_props_extended(uint16_t evt_type) in get_adv_props_extended() argument 752 return (evt_type ^ BT_HCI_LE_ADV_EVT_TYPE_LEGACY) & BIT_MASK(5); in get_adv_props_extended() 764 scan_info->adv_type = get_adv_type(sys_le16_to_cpu(evt->evt_type)); in create_ext_adv_info() 765 scan_info->adv_props = get_adv_props_extended(sys_le16_to_cpu(evt->evt_type)); in create_ext_adv_info() 778 uint16_t evt_type; in bt_hci_le_adv_ext_report() local 804 evt_type = sys_le16_to_cpu(evt->evt_type); in bt_hci_le_adv_ext_report() [all …]
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | ipc.c | 35 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable() local 37 switch (evt_type) { in is_hci_event_discardable() 56 ((ext_adv->adv_info[0].evt_type & in is_hci_event_discardable()
|
D | hci_esp32.c | 32 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable() local 34 switch (evt_type) { in is_hci_event_discardable()
|
D | hci_ambiq.c | 152 uint8_t evt_type = evt_data[EVT_HEADER_TYPE]; in hci_event_filter() local 154 switch (evt_type) { in hci_event_filter()
|
D | hci_nxp.c | 211 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable() local 213 switch (evt_type) { in is_hci_event_discardable()
|
D | hci_stm32wba.c | 76 uint8_t evt_type = evt_data[0]; in is_hci_event_discardable() local 78 switch (evt_type) { in is_hci_event_discardable()
|
/Zephyr-latest/subsys/emul/espi/ |
D | emul_espi_host.c | 189 evt.evt_type = ESPI_BUS_EVENT_VWIRE_RECEIVED; in emul_espi_host_send_vw() 208 evt.evt_type = ESPI_BUS_PERIPHERAL_NOTIFICATION; in emul_espi_host_port80_write()
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 6483 dir_info->evt_type = BT_HCI_ADV_DIRECT_IND; 6643 adv_info->evt_type = c_adv_type[adv->type]; 6748 adv_info->evt_type = sys_cpu_to_le16((uint16_t)evt_type_lookup[adv->type]); 6918 static void ext_adv_info_fill(uint8_t evt_type, uint8_t phy, uint8_t sec_phy, argument 6939 adv_info->evt_type = sys_cpu_to_le16((uint16_t)evt_type); 6967 if (evt_type & BT_HCI_LE_ADV_EVT_TYPE_DIRECT) { 6980 static void ext_adv_pdu_frag(uint8_t evt_type, uint8_t phy, uint8_t sec_phy, argument 6996 ext_adv_info_fill(evt_type, phy, sec_phy, adv_addr_type, 7017 uint8_t evt_type, uint8_t phy, argument 7029 evt_type |= (BT_HCI_LE_ADV_EVT_TYPE_DATA_STATUS_PARTIAL << 5); [all …]
|
/Zephyr-latest/samples/drivers/espi/src/ |
D | main.c | 788 if (event.evt_type == ESPI_BUS_RESET) { in espi_reset_handler() 798 if (event.evt_type == ESPI_BUS_EVENT_CHANNEL_READY) { in espi_ch_handler() 819 if (event.evt_type == ESPI_BUS_EVENT_VWIRE_RECEIVED) { in vwire_handler()
|
/Zephyr-latest/drivers/spi/ |
D | spi_nrfx_spis.c | 282 if (p_event->evt_type == NRFX_SPIS_XFER_DONE) { in event_handler()
|