Searched refs:p_reg (Results 1 - 20 of 20) sorted by relevance

/system/bt/stack/gatt/
H A Dgatt_api.c149 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
155 if (p_reg == NULL)
161 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
675 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
724 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
778 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
833 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
901 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
990 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1054 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1190 tGATT_REG *p_reg; local
1241 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1321 tGATT_REG *p_reg; local
1362 tGATT_REG *p_reg; local
1405 tGATT_REG *p_reg; local
1521 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1557 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1589 tGATT_REG *p_reg; local
[all...]
H A Dgatt_utils.c1464 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
1466 if (!p_reg )
1468 GATT_TRACE_ERROR ("p_reg not found discard request");
1472 if ( p_reg->in_use &&
1473 p_reg->app_cb.p_req_cb)
1475 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data);
1618 tGATT_REG *p_reg = NULL; local
1626 p_reg = &gatt_cb.cl_rcb[ii - 1];
1628 if (!p_reg->in_use) {
1633 return p_reg;
1680 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2257 tGATT_REG *p_reg=NULL; local
2458 gatt_add_bg_dev_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initator) argument
2613 gatt_remove_bg_dev_from_list(tGATT_REG *p_reg, BD_ADDR bd_addr, BOOLEAN is_initiator) argument
2683 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); local
2755 tGATT_REG *p_reg; local
2819 tGATT_REG *p_reg = &gatt_cb.cl_rcb[0]; local
[all...]
H A Dgatt_cl.c439 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
440 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
500 if (p_clcb->p_reg->app_cb.p_disc_res_cb)
501 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result);
667 tGATT_REG *p_reg; local
712 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++)
714 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION))
728 for (i = 0, p_reg
[all...]
H A Dgatt_main.c373 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) argument
415 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if);
421 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE);
523 tGATT_REG *p_reg=NULL; local
532 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++)
534 if (p_reg->in_use)
536 if (p_reg->app_cb.p_congestion_cb)
538 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if);
539 (*p_reg
952 tGATT_REG *p_reg; local
[all...]
H A Dgatt_int.h396 tGATT_REG *p_reg; /* owner of this CLCB */ member in struct:__anon918
535 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport);
/system/bt/bta/gatt/
H A Dbta_gatts_utils.c92 tBTA_GATTS_RCB *p_reg; local
94 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++)
96 if (p_reg->in_use && p_reg->gatt_if == server_if)
97 return p_reg;
H A Dbta_gatts_act.c897 tBTA_GATTS_RCB *p_reg; local
911 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if);
913 if (p_reg && p_reg->p_cback)
929 (*p_reg->p_cback)(evt, &cb_data);
/system/bt/bta/include/
H A Dbta_ar_api.h63 extern void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id);
H A Dbta_av_api.h518 tBTA_AV_REG *p_reg; /* action function to register VDP */ member in struct:__anon341
/system/bt/stack/mcap/
H A Dmca_api.c114 ** If the given p_reg->ctrl_psm is 0, this handle is INT only.
119 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) argument
126 assert(p_reg != NULL );
129 MCA_TRACE_API ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm);
131 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL)
133 if (p_reg->ctrl_psm)
135 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm))
146 if (L2CA_Register(p_reg
[all...]
H A Dmca_main.c518 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) argument
528 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG));
H A Dmca_int.h316 extern tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg);
/system/bt/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);
/system/bt/bta/sys/
H A Dbta_sys_main.c521 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) argument
523 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg;
H A Dbta_sys.h226 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg);
/system/bt/stack/avdt/
H A Davdt_api.c91 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) argument
97 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
99 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask,
122 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));
/system/bt/stack/include/
H A Dmca_api.h259 ** If the given p_reg->ctrl_psm is 0, this handle is INT only.
264 extern tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback);
H A Davdt_api.h435 extern void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback);
/system/bt/bta/av/
H A Dbta_av_main.c325 if(p_bta_av_cfg->p_act_tbl == NULL || p_bta_av_cfg->p_reg == NULL)
731 (*p_bta_av_cfg->p_reg)(&cs, p_service_name, p_scb);
/system/bt/bta/hh/
H A Dbta_hh_le.c368 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) argument
372 if (p_reg->status == BTA_GATT_OK)
374 bta_hh_cb.gatt_if = p_reg->client_if;

Completed in 364 milliseconds