Searched refs:p_app_cb (Results 1 – 7 of 7) sorted by relevance
/external/libnfc-nci/src/nfc/llcp/ |
D | llcp_api.c | 358 tLLCP_APP_CB *p_app_cb; in LLCP_RegisterServer() local 382 p_app_cb = &llcp_cb.server_cb[sap]; in LLCP_RegisterServer() 413 p_app_cb = &llcp_cb.wks_cb[reg_sap]; in LLCP_RegisterServer() 430 p_app_cb = &llcp_cb.server_cb[reg_sap - LLCP_LOWER_BOUND_SDP_SAP]; in LLCP_RegisterServer() 440 memset (p_app_cb, 0x00, sizeof (tLLCP_APP_CB)); in LLCP_RegisterServer() 451 p_app_cb->p_service_name = (UINT8 *) GKI_getbuf ((UINT16) (length + 1)); in LLCP_RegisterServer() 452 if (p_app_cb->p_service_name == NULL) in LLCP_RegisterServer() 458 …BCM_STRNCPY_S ((char *) p_app_cb->p_service_name, length + 1, (char *) p_service_name, length + 1); in LLCP_RegisterServer() 459 p_app_cb->p_service_name[length] = 0; in LLCP_RegisterServer() 462 p_app_cb->p_service_name = NULL; in LLCP_RegisterServer() [all …]
|
D | llcp_link.c | 373 tLLCP_APP_CB *p_app_cb; in llcp_link_deactivate() local 384 p_app_cb = llcp_util_get_app_cb (local_sap); in llcp_link_deactivate() 386 if ( (p_app_cb) in llcp_link_deactivate() 387 &&(p_app_cb->p_app_cback) ) in llcp_link_deactivate() 389 while (p_app_cb->ui_xmit_q.p_first) in llcp_link_deactivate() 390 GKI_freebuf (GKI_dequeue (&p_app_cb->ui_xmit_q)); in llcp_link_deactivate() 392 p_app_cb->is_ui_tx_congested = FALSE; in llcp_link_deactivate() 394 while (p_app_cb->ui_rx_q.p_first) in llcp_link_deactivate() 395 GKI_freebuf (GKI_dequeue (&p_app_cb->ui_rx_q)); in llcp_link_deactivate() 564 tLLCP_APP_CB *p_app_cb; in llcp_link_update_status() local [all …]
|
D | llcp_dlc.c | 164 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_idle() 222 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_remote_resp() 238 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_remote_resp() 253 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_remote_resp() 314 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_local_resp() 343 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_local_resp() 414 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_connected() 462 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_connected() 472 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_connected() 511 (*p_dlcb->p_app_cb->p_app_cback) (&data); in llcp_dlsm_w4_remote_dm() [all …]
|
D | llcp_main.c | 115 tLLCP_APP_CB *p_app_cb; in llcp_cleanup() local 121 p_app_cb = llcp_util_get_app_cb (sap); in llcp_cleanup() 123 if ( (p_app_cb) in llcp_cleanup() 124 &&(p_app_cb->p_app_cback) ) in llcp_cleanup()
|
D | llcp_util.c | 270 tLLCP_STATUS llcp_util_send_ui (UINT8 ssap, UINT8 dsap, tLLCP_APP_CB *p_app_cb, BT_HDR *p_msg) in llcp_util_send_ui() argument 281 GKI_enqueue (&p_app_cb->ui_xmit_q, p_msg); in llcp_util_send_ui() 286 if ( (p_app_cb->is_ui_tx_congested) in llcp_util_send_ui() 287 ||(p_app_cb->ui_xmit_q.count >= llcp_cb.ll_tx_congest_start) in llcp_util_send_ui() 293 p_app_cb->is_ui_tx_congested = TRUE; in llcp_util_send_ui() 296 ssap, p_app_cb->ui_xmit_q.count); in llcp_util_send_ui() 367 p_dlcb->p_app_cb = llcp_util_get_app_cb (reg_sap); in llcp_util_allocate_data_link() 894 tLLCP_APP_CB *p_app_cb = NULL; in llcp_util_get_app_cb() local 900 p_app_cb = &llcp_cb.wks_cb[local_sap]; in llcp_util_get_app_cb() 907 p_app_cb = &llcp_cb.server_cb[local_sap - LLCP_LOWER_BOUND_SDP_SAP]; in llcp_util_get_app_cb() [all …]
|
D | llcp_sdp.c | 304 tLLCP_APP_CB *p_app_cb; in llcp_sdp_get_sap_by_name() local 308 p_app_cb = llcp_util_get_app_cb (sap); in llcp_sdp_get_sap_by_name() 310 if ( (p_app_cb) in llcp_sdp_get_sap_by_name() 311 &&(p_app_cb->p_app_cback) in llcp_sdp_get_sap_by_name() 312 &&(strlen((char*)p_app_cb->p_service_name) == length) in llcp_sdp_get_sap_by_name() 313 &&(!strncmp((char*)p_app_cb->p_service_name, p_name, length)) ) in llcp_sdp_get_sap_by_name()
|
/external/libnfc-nci/src/nfc/int/ |
D | llcp_int.h | 172 tLLCP_APP_CB *p_app_cb; /* pointer of application registration */ member 320 tLLCP_STATUS llcp_util_send_ui (UINT8 ssap, UINT8 dsap, tLLCP_APP_CB *p_app_cb, BT_HDR *p_msg);
|