Home
last modified time | relevance | path

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

/hardware/synaptics/wlan/synadhd/wifi_hal/
Dcommon.cpp82 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
84 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
85 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
86 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
115 if ((info->event_cb[i].nl_cmd == NL80211_CMD_VENDOR) && in wifi_register_vendor_handler()
116 (info->event_cb[i].vendor_id == id) && in wifi_register_vendor_handler()
117 (info->event_cb[i].vendor_subcmd == subcmd)) { in wifi_register_vendor_handler()
124 info->event_cb[i].cb_func = func; in wifi_register_vendor_handler()
125 info->event_cb[i].cb_arg = arg; in wifi_register_vendor_handler()
[all …]
Dcommon.h323 cb_info *event_cb; // event callbacks member
Dwifi_hal.cpp451 halInfo->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_pre_initialize()
657 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
689 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
824 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
826 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
827 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
833 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dcommon.cpp66 if(info->event_cb[i].nl_cmd == cmd && in wifi_register_handler()
67 info->event_cb[i].cb_arg == arg) { in wifi_register_handler()
68 info->event_cb[i].cb_func = func; in wifi_register_handler()
77 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
78 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
79 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
80 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
103 if(info->event_cb[i].vendor_id == id && in wifi_register_vendor_handler()
104 info->event_cb[i].vendor_subcmd == subcmd) in wifi_register_vendor_handler()
[all …]
Dcommon.h133 cb_info *event_cb; // event callbacks member
Dwifi_hal.cpp1165 info->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_initialize()
1166 if (info->event_cb == NULL) { in wifi_initialize()
1404 free(info->event_cb); in wifi_initialize()
1546 free(info->event_cb); in internal_cleaned_up_handler()
2170 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
2172 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
2173 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
2179 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.cpp82 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
83 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
84 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
85 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
86 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
115 if ((info->event_cb[i].nl_cmd == NL80211_CMD_VENDOR) && in wifi_register_vendor_handler()
116 (info->event_cb[i].vendor_id == id) && in wifi_register_vendor_handler()
117 (info->event_cb[i].vendor_subcmd == subcmd)) { in wifi_register_vendor_handler()
124 info->event_cb[i].cb_func = func; in wifi_register_vendor_handler()
125 info->event_cb[i].cb_arg = arg; in wifi_register_vendor_handler()
[all …]
Dwifi_hal.cpp480 halInfo->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_pre_initialize()
697 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
730 cb_info *cbi = &(info->event_cb[i]); in wifi_cleanup()
864 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
866 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
867 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
873 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
Dcommon.h378 cb_info *event_cb; // event callbacks member
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dcommon.cpp66 if(info->event_cb[i].nl_cmd == cmd && in wifi_register_handler()
67 info->event_cb[i].cb_arg == arg) { in wifi_register_handler()
68 info->event_cb[i].cb_func = func; in wifi_register_handler()
77 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler()
78 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler()
79 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler()
80 info->event_cb[info->num_event_cb].cb_func = func; in wifi_register_handler()
81 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
103 if(info->event_cb[i].vendor_id == id && in wifi_register_vendor_handler()
104 info->event_cb[i].vendor_subcmd == subcmd) in wifi_register_vendor_handler()
[all …]
Dcommon.h168 cb_info *event_cb; // event callbacks member
Dwifi_hal.cpp1228 info->event_cb = (cb_info *)malloc(sizeof(cb_info) * DEFAULT_EVENT_CB_SIZE); in wifi_initialize()
1229 if (info->event_cb == NULL) { in wifi_initialize()
1490 free(info->event_cb); in wifi_initialize()
1630 free(info->event_cb); in internal_cleaned_up_handler()
2267 if (cmd == info->event_cb[i].nl_cmd) { in internal_valid_message_handler()
2269 && ((vendor_id != info->event_cb[i].vendor_id) in internal_valid_message_handler()
2270 || (subcmd != info->event_cb[i].vendor_subcmd))) in internal_valid_message_handler()
2276 cb_info *cbi = &(info->event_cb[i]); in internal_valid_message_handler()
/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,
Dmct_protocol.h33 MctProtocol(int* fds, PacketReadCallback event_cb, PacketReadCallback acl_cb);
Dvendor_interface.cc168 PacketReadCallback event_cb, PacketReadCallback acl_cb, in Initialize() argument
175 return g_vendor_interface->Open(initialize_complete_cb, event_cb, acl_cb, in Initialize()
190 PacketReadCallback event_cb, in Open() argument
249 event_cb_ = event_cb; in Open()
/hardware/interfaces/bluetooth/hci/
Dh4_protocol.cc33 PacketReadCallback event_cb, PacketReadCallback iso_cb, in H4Protocol() argument
39 event_cb_(std::move(event_cb)), in H4Protocol()
Dh4_protocol.h33 PacketReadCallback sco_cb, PacketReadCallback event_cb,
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h897 int (*event_cb)(uint32_t sessionid, cam_event_t *event));