/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | bcmevent.c | 215 wl_event_to_host_order(wl_event_msg_t * evt) in wl_event_to_host_order() argument 220 evt->event_type = ntoh32(evt->event_type); in wl_event_to_host_order() 221 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order() 222 evt->status = ntoh32(evt->status); in wl_event_to_host_order() 223 evt->reason = ntoh32(evt->reason); in wl_event_to_host_order() 224 evt->auth_type = ntoh32(evt->auth_type); in wl_event_to_host_order() 225 evt->datalen = ntoh32(evt->datalen); in wl_event_to_host_order() 226 evt->version = ntoh16(evt->version); in wl_event_to_host_order() 230 wl_event_to_network_order(wl_event_msg_t * evt) in wl_event_to_network_order() argument 235 evt->event_type = hton32(evt->event_type); in wl_event_to_network_order() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | bcmevent.c | 230 wl_event_to_host_order(wl_event_msg_t * evt) in wl_event_to_host_order() argument 235 evt->event_type = ntoh32(evt->event_type); in wl_event_to_host_order() 236 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order() 237 evt->status = ntoh32(evt->status); in wl_event_to_host_order() 238 evt->reason = ntoh32(evt->reason); in wl_event_to_host_order() 239 evt->auth_type = ntoh32(evt->auth_type); in wl_event_to_host_order() 240 evt->datalen = ntoh32(evt->datalen); in wl_event_to_host_order() 241 evt->version = ntoh16(evt->version); in wl_event_to_host_order() 245 wl_event_to_network_order(wl_event_msg_t * evt) in wl_event_to_network_order() argument 250 evt->event_type = hton32(evt->event_type); in wl_event_to_network_order() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | bcmevent.c | 230 void wl_event_to_host_order(wl_event_msg_t *evt) in wl_event_to_host_order() argument 235 evt->event_type = ntoh32(evt->event_type); in wl_event_to_host_order() 236 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order() 237 evt->status = ntoh32(evt->status); in wl_event_to_host_order() 238 evt->reason = ntoh32(evt->reason); in wl_event_to_host_order() 239 evt->auth_type = ntoh32(evt->auth_type); in wl_event_to_host_order() 240 evt->datalen = ntoh32(evt->datalen); in wl_event_to_host_order() 241 evt->version = ntoh16(evt->version); in wl_event_to_host_order() 244 void wl_event_to_network_order(wl_event_msg_t *evt) in wl_event_to_network_order() argument 249 evt->event_type = hton32(evt->event_type); in wl_event_to_network_order() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | bcmevent.c | 275 wl_event_to_host_order(wl_event_msg_t * evt) in wl_event_to_host_order() argument 280 evt->event_type = ntoh32(evt->event_type); in wl_event_to_host_order() 281 evt->flags = ntoh16(evt->flags); in wl_event_to_host_order() 282 evt->status = ntoh32(evt->status); in wl_event_to_host_order() 283 evt->reason = ntoh32(evt->reason); in wl_event_to_host_order() 284 evt->auth_type = ntoh32(evt->auth_type); in wl_event_to_host_order() 285 evt->datalen = ntoh32(evt->datalen); in wl_event_to_host_order() 286 evt->version = ntoh16(evt->version); in wl_event_to_host_order() 290 wl_event_to_network_order(wl_event_msg_t * evt) in wl_event_to_network_order() argument 295 evt->event_type = hton32(evt->event_type); in wl_event_to_network_order() [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/ |
D | ble_hs_hci_evt.c | 252 struct ble_gap_conn_complete evt; in ble_hs_hci_evt_le_enh_conn_complete() local 258 memset_s(&evt, sizeof(evt), 0, sizeof(evt)); in ble_hs_hci_evt_le_enh_conn_complete() 259 evt.status = ev->status; in ble_hs_hci_evt_le_enh_conn_complete() 261 if (evt.status == BLE_ERR_SUCCESS) { in ble_hs_hci_evt_le_enh_conn_complete() 262 evt.connection_handle = le16toh(ev->conn_handle); in ble_hs_hci_evt_le_enh_conn_complete() 263 evt.role = ev->role; in ble_hs_hci_evt_le_enh_conn_complete() 264 evt.peer_addr_type = ev->peer_addr_type; in ble_hs_hci_evt_le_enh_conn_complete() 265 memcpy_s(evt.peer_addr, sizeof(evt.peer_addr), ev->peer_addr, BLE_DEV_ADDR_LEN); in ble_hs_hci_evt_le_enh_conn_complete() 266 memcpy_s(evt.local_rpa, sizeof(evt.local_rpa), ev->local_rpa, BLE_DEV_ADDR_LEN); in ble_hs_hci_evt_le_enh_conn_complete() 267 memcpy_s(evt.peer_rpa, sizeof(evt.peer_rpa), ev->peer_rpa, BLE_DEV_ADDR_LEN); in ble_hs_hci_evt_le_enh_conn_complete() [all …]
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/dss/ |
D | dss.c | 442 dss_evt_t evt; 451 …evt.evt_type = s_dss_env.dss_role == DSS_ROLE_SYNC_SOURCE ? DSS_EVT_SOURCE_ROLE_SET : DSS_EVT_DEVI… 452 s_dss_env.evt_handler(&evt); 471 dss_evt_t evt; 486 evt.evt_type = DSS_EVT_SYNC_SRC_CREATE; 487 s_dss_env.evt_handler(&evt); 507 dss_evt_t evt; 534 evt.conn_idx = conn_idx; 535 evt.evt_type = DSS_EVT_SYNC_SELF_OR_PEER; 536 evt.is_enter_lp_mode = s_dss_env.is_auto_enter_lp; [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/timer/ |
D | timer-sun4i.c | 85 static int sun4i_clkevt_shutdown(struct clock_event_device *evt) in sun4i_clkevt_shutdown() argument 87 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() 94 static int sun4i_clkevt_set_oneshot(struct clock_event_device *evt) in sun4i_clkevt_set_oneshot() argument 96 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() 104 static int sun4i_clkevt_set_periodic(struct clock_event_device *evt) in sun4i_clkevt_set_periodic() argument 106 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() 115 static int sun4i_clkevt_next_event(unsigned long evt, in sun4i_clkevt_next_event() argument 121 sun4i_clkevt_time_setup(timer_of_base(to), 0, evt - TIMER_SYNC_TICKS); in sun4i_clkevt_next_event() 134 struct clock_event_device *evt = (struct clock_event_device *)dev_id; in sun4i_timer_interrupt() local 135 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt() [all …]
|
/device/soc/esp/esp32/components/driver/ |
D | sdmmc_transaction.c | 79 static esp_err_t process_events(sdmmc_event_t evt, sdmmc_command_t* cmd, 243 sdmmc_event_t evt; in handle_idle_state_events() local 244 while (sdmmc_host_wait_for_event(0, &evt) == ESP_OK) { in handle_idle_state_events() 245 if (evt.sdmmc_status & SDMMC_INTMASK_CD) { in handle_idle_state_events() 247 evt.sdmmc_status &= ~SDMMC_INTMASK_CD; in handle_idle_state_events() 249 if (evt.sdmmc_status != 0 || evt.dma_status != 0) { in handle_idle_state_events() 251 evt.sdmmc_status, evt.dma_status); in handle_idle_state_events() 392 static esp_err_t process_events(sdmmc_event_t evt, sdmmc_command_t* cmd, in process_events() argument 401 sdmmc_event_t orig_evt = evt; in process_events() 403 evt.sdmmc_status, evt.dma_status); in process_events() [all …]
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/hids/ |
D | hids.c | 685 hids_evt_t evt; in hids_write_att_cb() local 688 evt.evt_type = HIDS_EVT_INVALID; in hids_write_att_cb() 689 evt.offset = p_param->offset; in hids_write_att_cb() 690 evt.len = p_param->length; in hids_write_att_cb() 691 evt.data = p_param->value; in hids_write_att_cb() 697 hids_on_protocol_mode_write(&evt, p_param); in hids_write_att_cb() 706 hids_on_cccd_write(tab_index, conn_idx, &evt, cccd_value); in hids_write_att_cb() 716 evt.evt_type = HIDS_EVT_REP_CHAR_WRITE; in hids_write_att_cb() 717 evt.report_type = HIDS_REPORT_TYPE_IN1; in hids_write_att_cb() 728 evt.evt_type = HIDS_EVT_REP_CHAR_WRITE; in hids_write_att_cb() [all …]
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/hrs/ |
D | hrs.c | 226 hrs_evt_t evt; in hrs_read_att_cb() local 244 evt.conn_idx = conn_idx; in hrs_read_att_cb() 245 evt.evt_type = HRS_EVT_READ_BODY_SEN_LOCATION; in hrs_read_att_cb() 246 s_hrs_env.hrs_init.evt_handler(&evt); in hrs_read_att_cb() 278 hrs_evt_t evt; in hrs_write_att_cb() local 288 evt.conn_idx = conn_idx; in hrs_write_att_cb() 289 evt.evt_type = ((cccd_value == PRF_CLI_START_NTF) ? in hrs_write_att_cb() 292 s_hrs_env.hrs_init.evt_handler(&evt); in hrs_write_att_cb() 301 evt.conn_idx = conn_idx; in hrs_write_att_cb() 302 evt.evt_type = HRS_EVT_RESET_ENERGY_EXPENDED; in hrs_write_att_cb() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_ci.c | 52 void bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_open() argument 59 p_evt->hdr.event = evt; in bta_gattc_ci_cache_open() 83 void bta_gattc_ci_cache_load(BD_ADDR server_bda, UINT16 evt, UINT16 num_attr, in bta_gattc_ci_cache_load() argument 93 p_evt->hdr.event = evt; in bta_gattc_ci_cache_load() 123 void bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt, tBTA_GATT_STATUS status, in bta_gattc_ci_cache_save() argument 130 p_evt->hdr.event = evt; in bta_gattc_ci_cache_save()
|
/device/soc/chipsea/cst85/liteos_m/sdk/bsp/driver/pmic/ |
D | pwrkey_api.c | 50 void pwrkey_irq_evt_hndlr(int evt) in pwrkey_irq_evt_hndlr() argument 53 if (evt == PWRKEY_IRQ_EVENT_KEYDOWN) { in pwrkey_irq_evt_hndlr() 55 } else if (evt == PWRKEY_IRQ_EVENT_KEYUP) { in pwrkey_irq_evt_hndlr() 62 PWRKEY_DEBUG_PRINTF("pwrkey:%x\n",evt); in pwrkey_irq_evt_hndlr() 63 if ((evt == PWRKEY_IRQ_EVENT_KEYUP) || in pwrkey_irq_evt_hndlr() 64 (evt == PWRKEY_IRQ_EVENT_KEYUP_SINGLE)) { in pwrkey_irq_evt_hndlr()
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/lls/ |
D | lls.c | 178 lls_evt_t evt; in lls_on_connect() local 182 evt.evt_type = LLS_EVT_LINK_LOSS_ALERT; in lls_on_connect() 184 ret = lls_alert_level_get((unsigned char *)(&evt.alert_level)); in lls_on_connect() 187 s_lls_env.lls_init.evt_handler(&evt); in lls_on_connect() 205 lls_evt_t evt; in lls_on_disconnect() local 208 evt.evt_type = LLS_EVT_LINK_LOSS_ALERT; in lls_on_disconnect() 210 ret = lls_alert_level_get((unsigned char *)(&evt.alert_level)); in lls_on_disconnect() 213 s_lls_env.lls_init.evt_handler(&evt); in lls_on_disconnect()
|
/device/soc/winnermicro/wm800/board/src/wifi/ |
D | wm_wifi.c | 142 struct tls_wifi_netif_status_event *evt; in tls_wifi_netif_add_status_event() local 145 evt = tls_mem_alloc(sizeof(struct tls_wifi_netif_status_event)); in tls_wifi_netif_add_status_event() 146 if (evt==NULL) { in tls_wifi_netif_add_status_event() 149 …memset_s(evt, sizeof(struct tls_wifi_netif_status_event), 0, sizeof(struct tls_wifi_netif_status_e… in tls_wifi_netif_add_status_event() 150 evt->status_callback = event_fn; in tls_wifi_netif_add_status_event() 152 dl_list_add_tail(&wifi_netif_status_event.list, &evt->list); in tls_wifi_netif_add_status_event()
|
/device/soc/esp/esp32/components/esp_netif/ |
D | esp_netif_handlers.c | 67 ip_event_got_ip_t evt = { in esp_netif_action_connected() local 74 evt.ip_changed = true; in esp_netif_action_connected() 77 memcpy(&evt.ip_info, &ip, sizeof(esp_netif_ip_info_t)); in esp_netif_action_connected() 82 &evt, sizeof(evt), 0), ESP_OK); in esp_netif_action_connected() 83 ESP_LOGD(TAG, "static ip: ip changed=%d", evt.ip_changed); in esp_netif_action_connected()
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/kal/cmsis/ |
D | cmsis_liteos.c | 253 osEvent evt = {0}; 258 evt.status = osErrorISR; 259 return evt; 262 evt.status = osErrorValue; 263 return evt; 281 evt.status = osErrorValue; 283 return evt; 288 evt.status = osEventTimeout; 290 evt.status = osErrorResource; 294 evt.status = osOK; [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | wifi_regd.c | 659 struct async_regd_change_evt *evt; in async_regd_change_work_hdl() local 673 evt = LIST_CONTAINOR(list, struct async_regd_change_evt, list); in async_regd_change_work_hdl() 674 rtw_regd_change_complete_sync(evt->wiphy, evt->chplan, 1); in async_regd_change_work_hdl() 675 rtw_mfree(evt, sizeof(*evt)); in async_regd_change_work_hdl() 716 struct async_regd_change_evt *evt; in rtw_regd_async_regd_change_list_free() local 727 evt = LIST_CONTAINOR(cur, struct async_regd_change_evt, list); in rtw_regd_async_regd_change_list_free() 728 chplan = evt->chplan; in rtw_regd_async_regd_change_list_free() 730 rtw_list_delete(&evt->list); in rtw_regd_async_regd_change_list_free() 732 rtw_mfree(evt, sizeof(*evt)); in rtw_regd_async_regd_change_list_free() 770 struct async_regd_change_evt *evt; in rtw_regd_change_complete_async() local [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_gattc_ci.h | 72 extern void bta_gattc_ci_cache_open(BD_ADDR server_bda, UINT16 evt, 91 extern void bta_gattc_ci_cache_load(BD_ADDR server_bda, UINT16 evt, 109 extern void bta_gattc_ci_cache_save(BD_ADDR server_bda, UINT16 evt,
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/apps/key/ |
D | app_key.h | 20 #define APP_KEY_SET_MESSAGE(appevt, code, evt) (appevt = (((uint32_t)code&0xffffff)<<8)|(evt&0xff)) argument 22 #define APP_KEY_GET_EVENT(appevt, evt) (evt = appevt&0xff) argument
|
/device/soc/esp/esp32/components/esp_netif/lwip/ |
D | esp_netif_lwip_ppp.c | 56 ip_event_got_ip_t evt = { in on_ppp_status_changed() local 74 ip4_addr_set(&evt.ip_info.ip, ip_2_ip4(&pppif->ip_addr)); in on_ppp_status_changed() 75 ip4_addr_set(&evt.ip_info.gw, ip_2_ip4(&pppif->gw)); in on_ppp_status_changed() 76 ip4_addr_set(&evt.ip_info.netmask, ip_2_ip4(&pppif->netmask)); in on_ppp_status_changed() 90 err = esp_event_post(IP_EVENT, netif->get_ip_event, &evt, sizeof(evt), 0); in on_ppp_status_changed() 139 err = esp_event_post(IP_EVENT, netif->lost_ip_event, &evt, sizeof(evt), 0); in on_ppp_status_changed()
|
D | esp_netif_lwip.c | 657 ip_event_ap_staipassigned_t evt; in esp_netif_dhcps_cb() local 659 memset(&evt, 0, sizeof(ip_event_ap_staipassigned_t)); in esp_netif_dhcps_cb() 660 memcpy((char *)&evt.ip.addr, (char *)client_ip, sizeof(evt.ip.addr)); in esp_netif_dhcps_cb() 661 int ret = esp_event_send_internal(IP_EVENT, IP_EVENT_AP_STAIPASSIGNED, &evt, sizeof(evt), 0); in esp_netif_dhcps_cb() 904 ip_event_got_ip_t evt = { in esp_netif_dhcpc_cb() local 918 evt.ip_changed = true; in esp_netif_dhcpc_cb() 921 memcpy(&evt.ip_info, ip_info, sizeof(esp_netif_ip_info_t)); in esp_netif_dhcpc_cb() 923 ESP_LOGD(TAG, "if%p ip changed=%d", esp_netif, evt.ip_changed); in esp_netif_dhcpc_cb() 924 ret = esp_event_send_internal(IP_EVENT, evt_id, &evt, sizeof(evt), 0); in esp_netif_dhcpc_cb() 954 ip_event_got_ip_t evt = { in esp_netif_ip_lost_timer() local [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | bcmevent.h | 340 extern void wl_event_to_host_order(wl_event_msg_t *evt); 341 extern void wl_event_to_network_order(wl_event_msg_t *evt); 349 void wl_event_to_host_order(wl_event_msg_t *evt); 350 void wl_event_to_network_order(wl_event_msg_t *evt); 939 #define IS_NAN_EVT_ON(var, evt) ((var & (1 << (evt - 1))) != 0) argument 941 #define NAN_EV_MASK_SET(var, evt) \ argument 942 ((evt < WL_NAN_EVMASK_EXTN_LEN * 8) \ 943 ? ((*((uint8 *)var + ((evt - 1) / 8))) |= (1 << ((evt - 1) % 8))) \ 945 #define IS_NAN_EVENT_ON(var, evt) \ argument 946 ((evt < WL_NAN_EVMASK_EXTN_LEN * 8) && \ [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | bcmevent.h | 315 extern void wl_event_to_host_order(wl_event_msg_t * evt); 316 extern void wl_event_to_network_order(wl_event_msg_t * evt); 323 void wl_event_to_host_order(wl_event_msg_t * evt); 324 void wl_event_to_network_order(wl_event_msg_t * evt); 887 #define IS_NAN_EVT_ON(var, evt) ((var & (1 << (evt-1))) != 0) argument 889 #define NAN_EV_MASK_SET(var, evt) \ argument 890 ((evt < WL_NAN_EVMASK_EXTN_LEN * 8) ? \ 891 ((*((uint8 *)var + ((evt - 1)/8))) |= (1 << ((evt - 1) %8))) : 0) 892 #define IS_NAN_EVENT_ON(var, evt) \ argument 893 ((evt < WL_NAN_EVMASK_EXTN_LEN * 8) && \ [all …]
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/ias/ |
D | ias.c | 200 ias_evt_t evt; in ias_write_att_cb() local 202 evt.evt_type = IAS_EVT_ALERT_LEVEL_UPDATED; in ias_write_att_cb() 203 evt.alert_level = value; in ias_write_att_cb() 204 s_ias_env.ias_init.evt_handler(&evt); in ias_write_att_cb()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
D | mali_kbase_csf_kcpu.c | 733 u32 *evt = (u32 *)kbase_phy_alloc_mapping_get(queue->kctx, in kbase_kcpu_cqs_wait_process() local 744 if (!evt) { in kbase_kcpu_cqs_wait_process() 751 sig_set = evt[BASEP_EVENT_VAL_INDEX] > cqs_wait->objs[i].val; in kbase_kcpu_cqs_wait_process() 757 evt[BASEP_EVENT_ERR_INDEX] > 0) { in kbase_kcpu_cqs_wait_process() 768 evt[BASEP_EVENT_ERR_INDEX]); in kbase_kcpu_cqs_wait_process() 853 u32 *evt; in kbase_kcpu_cqs_set_process() local 855 evt = (u32 *)kbase_phy_alloc_mapping_get( in kbase_kcpu_cqs_set_process() 859 evt ? 0 : 1); in kbase_kcpu_cqs_set_process() 861 if (!evt) { in kbase_kcpu_cqs_set_process() 866 evt[BASEP_EVENT_ERR_INDEX] = queue->has_error; in kbase_kcpu_cqs_set_process() [all …]
|