Home
last modified time | relevance | path

Searched refs:p_callback (Results 1 – 24 of 24) sorted by relevance

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/rfcomm/
Dport_rfc.c169 if ((p_port->p_callback != NULL) && events) { in port_start_close()
170 p_port->p_callback (events, p_port->inx); in port_start_close()
228 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECT_ERR)) { in PORT_StartCnf()
229 (p_port->p_callback)(PORT_EV_CONNECT_ERR, p_port->inx); in PORT_StartCnf()
458 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) { in PORT_DlcEstablishInd()
459 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->inx); in PORT_DlcEstablishInd()
504 if (p_port->p_callback && (p_port->ev_mask & PORT_EV_CONNECTED)) { in PORT_DlcEstablishCnf()
505 (p_port->p_callback)(PORT_EV_CONNECTED, p_port->inx); in PORT_DlcEstablishCnf()
641 if (event && p_port->p_callback) { in PORT_ControlInd()
642 (p_port->p_callback)(event, p_port->inx); in PORT_ControlInd()
[all …]
Dport_api.c327 p_port->p_callback = p_port_cb; in PORT_SetEventCallback()
823 if (p_port->p_callback && events) { in PORT_FlowControl()
824 p_port->p_callback (events, p_port->inx); in PORT_FlowControl()
894 if (p_port->p_callback && events) {
895 p_port->p_callback (events, p_port->inx);
965 if (p_port->p_callback && events) { in PORT_FlowControl_GiveCredit()
966 p_port->p_callback (events, p_port->inx); in PORT_FlowControl_GiveCredit()
1203 if ((p_port->p_callback != NULL) && events) { in PORT_Purge()
1204 (p_port->p_callback)(events, p_port->inx); in PORT_Purge()
1401 if ((p_port->p_callback != NULL) && (p_port->ev_mask & PORT_EV_ERR)) { in port_write()
[all …]
Dport_utils.c111 p_port->p_callback = NULL; in port_set_defaults()
250 p_port_cb = p_port->p_callback; in port_release_port()
256 p_port->p_callback = p_port_cb; in port_release_port()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/
Dbtm_sec.c81 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
106 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
267 BOOLEAN BTM_SecRegisterLinkKeyNotificationCallback (tBTM_LINK_KEY_CALLBACK *p_callback) in BTM_SecRegisterLinkKeyNotificationCallback() argument
269 btm_cb.api.p_link_key_callback = p_callback; in BTM_SecRegisterLinkKeyNotificationCallback()
284 BOOLEAN BTM_SecAddRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback) in BTM_SecAddRmtNameNotifyCallback() argument
290 btm_cb.p_rmt_name_callback[i] = p_callback; in BTM_SecAddRmtNameNotifyCallback()
309 BOOLEAN BTM_SecDeleteRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback) in BTM_SecDeleteRmtNameNotifyCallback() argument
314 if (btm_cb.p_rmt_name_callback[i] == p_callback) { in BTM_SecDeleteRmtNameNotifyCallback()
1348 tBTM_STATUS BTM_SetEncryption (BD_ADDR bd_addr, tBT_TRANSPORT transport, tBTM_SEC_CBACK *p_callback, in BTM_SetEncryption() argument
1363 if (p_callback) { in BTM_SetEncryption()
[all …]
Dbtm_ble.c1015 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data) in btm_ble_start_sec_check() argument
1024 (*p_callback) (bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_MODE_UNSUPPORTED); in btm_ble_start_sec_check()
1038 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_SUCCESS); in btm_ble_start_sec_check()
1068 BTM_SetEncryption(bd_addr, BT_TRANSPORT_LE, p_callback, p_ref_data); in btm_ble_start_sec_check()
1665 if (p_dev_rec->p_callback && enc_cback) { in btm_ble_link_encrypted()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gap/
Dgap_conn.c167 p_ccb->p_callback = p_cb; in GAP_ConnOpen()
778 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_OPENED); in gap_checks_con_flags()
848 if (p_ccb->p_callback) { in gap_connect_cfm()
849 (*p_ccb->p_callback) (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED); in gap_connect_cfm()
936 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED); in gap_config_cfm()
967 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_CLOSED); in gap_disconnect_ind()
1000 p_ccb->p_callback (p_ccb->gap_handle, GAP_EVT_CONN_DATA_AVAIL); in gap_data_ind()
1033 p_ccb->p_callback (p_ccb->gap_handle, event); in gap_congestion_ind()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/
Dl2c_ble.c1467 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1475 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1480 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, in l2cble_sec_comp()
1489 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1505 (*(p_buf->p_callback))(p_bda, BT_TRANSPORT_LE, p_buf->p_ref_data, status); in l2cble_sec_comp()
1508 p_buf->p_callback, p_buf->p_ref_data); in l2cble_sec_comp()
1526 …(BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_originator, tL2CAP_SEC_CBACK *p_callback, void *p_ref_dat… in l2ble_sec_access_req() argument
1532 if (!p_callback) in l2ble_sec_access_req()
1543 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_UNKNOWN_ADDR); in l2ble_sec_access_req()
1550 p_callback(bd_addr, BT_TRANSPORT_LE, p_ref_data, BTM_NO_RESOURCES); in l2ble_sec_access_req()
[all …]
Dl2c_api.c622 BOOLEAN L2CA_Ping (BD_ADDR p_bd_addr, tL2CA_ECHO_RSP_CB *p_callback) in L2CA_Ping() argument
645 p_lcb->p_echo_rsp_cb = p_callback; in L2CA_Ping()
663 p_lcb->p_echo_rsp_cb = p_callback; in L2CA_Ping()
684 BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback) in L2CA_Echo() argument
700 l2cb.p_echo_data_cb = p_callback; in L2CA_Echo()
716 l2cb.p_echo_data_cb = p_callback; in L2CA_Echo()
Dl2c_utils.c283 if (p_buf->p_callback) { in l2cu_release_lcb()
284 … p_buf->p_callback(p_lcb->remote_bd_addr, p_lcb->transport, p_buf->p_ref_data, BTM_DEV_RESET); in l2cu_release_lcb()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/rfcomm/include/
Dport_int.h60 tPORT_CALLBACK *p_callback; /* Address of the callback function */ member
190 tPORT_CALLBACK *p_callback; /* Pointer to users callback function */ member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c901 tSMP_CALLBACK *p_callback = p_cb->p_callback; in smp_cb_cleanup() local
908 p_cb->p_callback = p_callback; in smp_cb_cleanup()
976 tSMP_CALLBACK *p_callback = p_cb->p_callback; in smp_proc_pairing_cmpl() local
1035 if (p_callback) { in smp_proc_pairing_cmpl()
1036 (*p_callback) (SMP_COMPLT_EVT, pairing_bda, &evt_data); in smp_proc_pairing_cmpl()
Dsmp_api.c127 if (smp_cb.p_callback != NULL) { in SMP_Register()
130 smp_cb.p_callback = p_cback; in SMP_Register()
Dsmp_keys.c202 if (p_cb->p_callback) { in smp_use_static_passkey()
203 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, (tSMP_EVT_DATA *)&passkey); in smp_use_static_passkey()
271 if (p_cb->p_callback) { in smp_proc_passkey()
272 (*p_cb->p_callback)(SMP_PASSKEY_NOTIF_EVT, p_cb->pairing_bda, (tSMP_EVT_DATA *)&passkey); in smp_proc_passkey()
Dsmp_act.c119 if (p_cb->p_callback && p_cb->cb_evt != 0) { in smp_send_app_cback()
154 callback_rc = (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gap/include/
Dgap_int.h79 tGAP_CONN_CALLBACK *p_callback; /* Users callback function */ member
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h577 tBTM_SEC_CALLBACK *p_callback; member
787 tBTM_SEC_CALLBACK *p_callback; member
1152 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
1155 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
1190 tBTM_SEC_CALLBACK *p_callback, void *p_ref_data);
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h3250 tBTM_LINK_KEY_CALLBACK *p_callback);
3263 BOOLEAN BTM_SecAddRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback);
3277 BOOLEAN BTM_SecDeleteRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback);
3584 tBTM_SEC_CBACK *p_callback, void *p_ref_data);
Dl2c_api.h606 extern BOOLEAN L2CA_Echo (BD_ADDR p_bd_addr, BT_HDR *p_data, tL2CA_ECHO_DATA_CB *p_callback);
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h266 tL2CAP_SEC_CBACK *p_callback; member
805 …(BD_ADDR bd_addr, UINT16 psm, BOOLEAN is_originator, tL2CAP_SEC_CBACK *p_callback, void *p_ref_dat…
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/
Dbta_dm_api.c911 void bta_dmexecutecallback (tBTA_DM_EXEC_CBACK *p_callback, void *p_param) in bta_dmexecutecallback() argument
918 p_msg->p_exec_cback = p_callback; in bta_dmexecutecallback()
2435 …d BTA_DmSetEncryption(BD_ADDR bd_addr, tBTA_TRANSPORT transport, tBTA_DM_ENCRYPT_CBACK *p_callback, in BTA_DmSetEncryption() argument
2448 p_msg->p_callback = p_callback; in BTA_DmSetEncryption()
Dbta_dm_act.c4413 tBTA_DM_ENCRYPT_CBACK *p_callback = NULL; in bta_dm_encrypt_cback() local
4425 p_callback = bta_dm_cb.device_list.peer_device[i].p_encrypt_cback; in bta_dm_encrypt_cback()
4446 APPL_TRACE_DEBUG("bta_dm_encrypt_cback status =%d p_callback=%p", bta_status, p_callback); in bta_dm_encrypt_cback()
4448 if (p_callback) { in bta_dm_encrypt_cback()
4449 (*p_callback)(bd_addr, transport, bta_status); in bta_dm_encrypt_cback()
4468 if (!p_data->set_encryption.p_callback) { in bta_dm_set_encryption()
4481 (*p_data->set_encryption.p_callback)(p_data->set_encryption.bd_addr, in bta_dm_set_encryption()
4490 … bta_dm_cb.device_list.peer_device[i].p_encrypt_cback = p_data->set_encryption.p_callback; in bta_dm_set_encryption()
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/include/bta/
Dbta_api.h2027 extern void bta_dmexecutecallback (tBTA_DM_EXEC_CBACK *p_callback, void *p_param);
2381 tBTA_DM_ENCRYPT_CBACK *p_callback,
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h264 tSMP_CALLBACK *p_callback; member
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h539 tBTA_DM_ENCRYPT_CBACK *p_callback; member