Home
last modified time | relevance | path

Searched refs:event_cb (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcommon.cpp68 if(info->event_cb[i].nl_cmd == cmd && in wifi_register_handler()
69 info->event_cb[i].cb_arg == arg) { in wifi_register_handler()
70 info->event_cb[i].cb_func = func; in wifi_register_handler()
79 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
80 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
82 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
105 if(info->event_cb[i].vendor_id == id && in wifi_register_vendor_handler()
106 info->event_cb[i].vendor_subcmd == subcmd) in wifi_register_vendor_handler()
[all …]
Dcommon.h131 cb_info *event_cb; // event callbacks member
Dwifi_hal.cpp676 info->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_initialize()
677 if (info->event_cb == NULL) { in wifi_initialize()
907 free(info->event_cb); in wifi_initialize()
1006 free(info->event_cb); in internal_cleaned_up_handler()
1627 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
1629 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
1630 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
1636 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.cpp80 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
82 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
84 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
106 info->event_cb[info->num_event_cb].nl_cmd = NL80211_CMD_VENDOR; in wifi_register_vendor_handler()
107 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler()
108 info->event_cb[info->num_event_cb].vendor_subcmd = subcmd; in wifi_register_vendor_handler()
109 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_vendor_handler()
110 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
[all …]
Dwifi_hal.cpp272 info->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_initialize()
410 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
434 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
555 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
557 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
558 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
564 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
Dcommon.h192 cb_info *event_cb; // event callbacks member
/hardware/interfaces/bluetooth/1.0/default/
Dh4_protocol.h33 H4Protocol(int fd, PacketReadCallback event_cb, PacketReadCallback acl_cb, in H4Protocol() argument
36 event_cb_(event_cb), in H4Protocol()
Dmct_protocol.cc31 MctProtocol::MctProtocol(int* fds, PacketReadCallback event_cb, in MctProtocol() argument
33 : event_cb_(event_cb), in MctProtocol()
Dvendor_interface.h40 PacketReadCallback event_cb, PacketReadCallback acl_cb,
53 PacketReadCallback event_cb, PacketReadCallback acl_cb,
Dvendor_interface.cc164 PacketReadCallback event_cb, PacketReadCallback acl_cb, in Initialize() argument
171 return g_vendor_interface->Open(initialize_complete_cb, event_cb, acl_cb, in Initialize()
186 PacketReadCallback event_cb, in Open() argument
245 event_cb_ = event_cb; in Open()
Dmct_protocol.h33 MctProtocol(int* fds, PacketReadCallback event_cb, PacketReadCallback acl_cb);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h897 int (*event_cb)(uint32_t sessionid, cam_event_t *event));