Searched defs:p_reg (Results 1 - 14 of 14) 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.c776 tBTA_GATTS_RCB *p_reg; local
783 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if);
785 if (p_reg && p_reg->p_cback)
791 (*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.c126 void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg) argument
128 nfa_sys_cb.reg[id] = (tNFA_SYS_REG *) p_reg;
136 if (p_reg->proc_nfcc_pwr_mode)
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_cl.c469 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
470 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
521 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
522 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
671 tGATT_REG *p_reg; local
709 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++)
711 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION))
724 for (i = 0, p_reg
[all...]
H A Dgatt_main.c314 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr) argument
345 GATT_TRACE_ERROR1("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if);
351 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE);
807 tGATT_REG *p_reg; local
815 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++)
817 if (p_reg->in_use)
819 if (p_bg_dev && gatt_is_bg_dev_for_app(p_bg_dev, p_reg->gatt_if))
820 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, TRUE);
822 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
892 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
980 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1054 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1186 tGATT_REG *p_reg; local
1235 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1314 tGATT_REG *p_reg; local
1354 tGATT_REG *p_reg; local
1389 tGATT_REG *p_reg; local
1506 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1539 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
[all...]
H A Dgatt_int.h379 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon1055
513 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr);
H A Dgatt_utils.c1307 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1309 if (!p_reg )
1311 GATT_TRACE_ERROR0 ("p_reg not found discard request");
1315 if ( p_reg->in_use &&
1316 p_reg->app_cb.p_req_cb)
1318 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data);
1453 tGATT_REG *p_reg = NULL; local
1458 p_reg = &gatt_cb.cl_rcb[ii];
1459 if ( (ii < GATT_MAX_APPS) && (p_reg->in_use) )
1460 return(p_reg);
1510 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2086 tGATT_REG *p_reg=NULL; local
2506 tGATT_REG *p_reg; local
2561 tGATT_REG *p_reg; local
[all...]
/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/bta/include/
H A Dbta_av_api.h494 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon626

Completed in 199 milliseconds