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.c884 tBTA_GATTS_RCB *p_reg; local
891 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if);
893 if (p_reg && p_reg->p_cback)
908 (*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_API2 ("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.c545 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument
547 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.c428 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
429 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
486 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
487 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
643 tGATT_REG *p_reg; local
687 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++)
689 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION))
703 for (i = 0, p_reg
[all...]
H A Dgatt_main.c318 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr) argument
360 GATT_TRACE_ERROR1("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if);
366 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE);
828 tGATT_REG *p_reg; local
835 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++)
837 if (p_reg->in_use)
839 if (p_bg_dev && gatt_is_bg_dev_for_app(p_bg_dev, p_reg->gatt_if))
840 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, TRUE);
842 if (p_reg
[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;
400 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
405 if (p_reg == NULL)
410 p_app_uuid128 = &p_reg->app_uuid128;
470 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
476 if (p_reg == NULL)
604 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
609 if ( (p_reg
674 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
718 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
772 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
824 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
893 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
981 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1055 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1187 tGATT_REG *p_reg; local
1236 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1320 tGATT_REG *p_reg; local
1360 tGATT_REG *p_reg; local
1396 tGATT_REG *p_reg; local
1514 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1547 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1579 tGATT_REG *p_reg; local
[all...]
H A Dgatt_int.h383 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon1167
525 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr);
H A Dgatt_utils.c1325 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1327 if (!p_reg )
1329 GATT_TRACE_ERROR0 ("p_reg not found discard request");
1333 if ( p_reg->in_use &&
1334 p_reg->app_cb.p_req_cb)
1336 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data);
1471 tGATT_REG *p_reg = NULL; local
1476 p_reg = &gatt_cb.cl_rcb[ii];
1477 if ( (ii < GATT_MAX_APPS) && (p_reg->in_use) )
1478 return(p_reg);
1528 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2104 tGATT_REG *p_reg=NULL; local
2297 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument
2452 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument
2522 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2594 tGATT_REG *p_reg; local
2639 tGATT_REG *p_reg; local
2706 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local
[all...]
/external/bluetooth/bluedroid/bta/hh/
H A Dbta_hh_le.c230 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument
234 if (p_reg->status == BTA_GATT_OK)
236 bta_hh_cb.gatt_if = p_reg->client_if;
/external/bluetooth/bluedroid/bta/include/
H A Dbta_av_api.h495 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon698

Completed in 160 milliseconds