Searched defs:p_reg (Results 1 - 15 of 15) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gatts_utils.c93 tBTA_GATTS_RCB *p_reg; local
95 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++)
97 if (p_reg->in_use && p_reg->gatt_if == server_if)
98 return p_reg;
H A Dbta_gatts_act.c922 tBTA_GATTS_RCB *p_reg; local
929 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if);
931 if (p_reg && p_reg->p_cback)
947 (*p_reg->p_cback)(evt, &cb_data);
/external/bluetooth/bluedroid/bta/ar/
H A Dbta_ar.c101 void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id) argument
126 AVDT_Register(p_reg, bta_ar_avdt_cback);
/external/libnfc-nci/src/nfa/sys/
H A Dnfa_sys_main.c127 void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg) argument
129 nfa_sys_cb.reg[id] = (tNFA_SYS_REG *) p_reg;
137 if (p_reg->proc_nfcc_pwr_mode)
/external/bluetooth/bluedroid/stack/mcap/
H A Dmca_api.c116 ** If the given p_reg->ctrl_psm is 0, this handle is INT only.
121 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) argument
128 WC_ASSERT(p_reg != NULL );
131 MCA_TRACE_API ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm);
133 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL)
135 if (p_reg->ctrl_psm)
137 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm))
148 if (L2CA_Register(p_reg
[all...]
H A Dmca_main.c513 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) argument
523 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG));
/external/bluetooth/bluedroid/bta/sys/
H A Dbta_sys_main.c547 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument
549 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg;
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_api.c113 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) argument
122 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
124 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
152 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_cl.c438 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
439 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
499 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
500 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
662 tGATT_REG *p_reg; local
706 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++)
708 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION))
722 for (i = 0, p_reg
[all...]
H A Dgatt_main.c322 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) argument
361 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if);
367 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE);
469 tGATT_REG *p_reg=NULL; local
478 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++)
480 if (p_reg->in_use)
482 if (p_reg->app_cb.p_congestion_cb)
484 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if);
485 (*p_reg
898 tGATT_REG *p_reg; local
[all...]
H A Dgatt_api.c150 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
156 if (p_reg == NULL)
162 p_app_uuid128 = &p_reg->app_uuid128;
401 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
406 if (p_reg == NULL)
411 p_app_uuid128 = &p_reg->app_uuid128;
471 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
477 if (p_reg == NULL)
605 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
610 if ( (p_reg
676 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
725 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
779 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
834 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
903 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
991 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1065 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1197 tGATT_REG *p_reg; local
1246 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1331 tGATT_REG *p_reg; local
1373 tGATT_REG *p_reg; local
1416 tGATT_REG *p_reg; local
1536 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1572 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1604 tGATT_REG *p_reg; local
[all...]
H A Dgatt_int.h398 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon1292
555 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport);
H A Dgatt_utils.c1409 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1411 if (!p_reg )
1413 GATT_TRACE_ERROR ("p_reg not found discard request");
1417 if ( p_reg->in_use &&
1418 p_reg->app_cb.p_req_cb)
1420 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data);
1563 tGATT_REG *p_reg = NULL; local
1568 p_reg = &gatt_cb.cl_rcb[ii];
1569 if ( (ii < GATT_MAX_APPS) && (p_reg->in_use) )
1570 return(p_reg);
1620 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2198 tGATT_REG *p_reg=NULL; local
2396 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument
2551 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument
2621 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2693 tGATT_REG *p_reg; local
2757 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local
[all...]
/external/bluetooth/bluedroid/bta/hh/
H A Dbta_hh_le.c237 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument
241 if (p_reg->status == BTA_GATT_OK)
243 bta_hh_cb.gatt_if = p_reg->client_if;
/external/bluetooth/bluedroid/bta/include/
H A Dbta_av_api.h507 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon748

Completed in 220 milliseconds