Lines Matching refs:ifp
53 static uint8_t *whd_management_alloc_event_msgs_buffer(whd_interface_t ifp, whd_buffer_t *buffer);
99 whd_result_t whd_management_set_event_handler_locally(whd_interface_t ifp, const whd_event_num_t *e… in whd_management_set_event_handler_locally() argument
105 whd_driver_t whd_driver = ifp->whd_driver; in whd_management_set_event_handler_locally()
126 (cdc_bdc_info->whd_event_list[i].ifidx == ifp->ifidx) ) in whd_management_set_event_handler_locally()
153 cdc_bdc_info->whd_event_list[entry].ifidx = ifp->ifidx; in whd_management_set_event_handler_locally()
254 static uint8_t *whd_management_alloc_event_msgs_buffer(whd_interface_t ifp, whd_buffer_t *buffer) in whd_management_alloc_event_msgs_buffer() argument
262 whd_driver_t whd_driver = ifp->whd_driver; in whd_management_alloc_event_msgs_buffer()
297 data[0] = ifp->bsscfgidx; in whd_management_alloc_event_msgs_buffer()
314 data[0] = ifp->bsscfgidx; in whd_management_alloc_event_msgs_buffer()
347 whd_result_t whd_management_set_event_handler(whd_interface_t ifp, const whd_event_num_t *event_num… in whd_management_set_event_handler() argument
360 if (ifp == NULL) in whd_management_set_event_handler()
371 whd_driver = ifp->whd_driver; in whd_management_set_event_handler()
388 …res = whd_management_set_event_handler_locally(ifp, event_nums, handler_func, handler_user_data, e… in whd_management_set_event_handler()
396 event_mask = whd_management_alloc_event_msgs_buffer(ifp, &buffer); in whd_management_set_event_handler()
442 whd_result_t whd_wifi_set_event_handler(whd_interface_t ifp, const uint32_t *event_type, in whd_wifi_set_event_handler() argument
455 if (ifp == NULL) in whd_wifi_set_event_handler()
466 whd_driver = ifp->whd_driver; in whd_wifi_set_event_handler()
483 …res = whd_management_set_event_handler_locally(ifp, (whd_event_num_t *)event_type, handler_func, h… in whd_wifi_set_event_handler()
492 event_mask = whd_management_alloc_event_msgs_buffer(ifp, &buffer); in whd_wifi_set_event_handler()
558 whd_result_t whd_wifi_set_error_handler(whd_interface_t ifp, const uint8_t *error_nums, in whd_wifi_set_error_handler() argument
565 if (ifp == NULL) in whd_wifi_set_error_handler()
576 whd_driver = ifp->whd_driver; in whd_wifi_set_error_handler()
597 uint32_t whd_wifi_deregister_event_handler(whd_interface_t ifp, uint16_t event_index) in whd_wifi_deregister_event_handler() argument
602 if (ifp == NULL) in whd_wifi_deregister_event_handler()
607 whd_driver = ifp->whd_driver; in whd_wifi_deregister_event_handler()
628 uint32_t whd_wifi_deregister_error_handler(whd_interface_t ifp, uint16_t error_index) in whd_wifi_deregister_error_handler() argument
633 if (ifp == NULL) in whd_wifi_deregister_error_handler()
638 whd_driver = ifp->whd_driver; in whd_wifi_deregister_error_handler()