Home
last modified time | relevance | path

Searched refs:p_reg (Results 1 – 23 of 23) sorted by relevance

/external/bluetooth/bluedroid/stack/gatt/
Dgatt_api.c150 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_CreateService() local
156 if (p_reg == NULL) in GATTS_CreateService()
162 p_app_uuid128 = &p_reg->app_uuid128; in GATTS_CreateService()
401 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_DeleteService() local
406 if (p_reg == NULL) in GATTS_DeleteService()
411 p_app_uuid128 = &p_reg->app_uuid128; in GATTS_DeleteService()
471 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_StartService() local
477 if (p_reg == NULL) in GATTS_StartService()
605 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in GATTS_HandleValueIndication() local
610 if ( (p_reg == NULL) || (p_tcb == NULL)) in GATTS_HandleValueIndication()
[all …]
Dgatt_main.c322 BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport) in gatt_act_connect() argument
361 GATT_TRACE_ERROR("Max TCB for gatt_if [%d] reached.", p_reg->gatt_if); in gatt_act_connect()
367 gatt_update_app_use_link_flag(p_reg->gatt_if, p_tcb, TRUE, FALSE); in gatt_act_connect()
469 tGATT_REG *p_reg=NULL; in gatt_channel_congestion() local
478 for (i = 0, p_reg = gatt_cb.cl_rcb ; i < GATT_MAX_APPS; i++, p_reg++) in gatt_channel_congestion()
480 if (p_reg->in_use) in gatt_channel_congestion()
482 if (p_reg->app_cb.p_congestion_cb) in gatt_channel_congestion()
484 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_channel_congestion()
485 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion()
898 tGATT_REG *p_reg; in gatt_send_conn_cback() local
[all …]
Dgatt_utils.c1409 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in gatt_sr_send_req_callback() local
1411 if (!p_reg ) in gatt_sr_send_req_callback()
1417 if ( p_reg->in_use && in gatt_sr_send_req_callback()
1418 p_reg->app_cb.p_req_cb) in gatt_sr_send_req_callback()
1420 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
1563 tGATT_REG *p_reg = NULL; in gatt_get_regcb() local
1568 p_reg = &gatt_cb.cl_rcb[ii]; in gatt_get_regcb()
1569 if ( (ii < GATT_MAX_APPS) && (p_reg->in_use) ) in gatt_get_regcb()
1570 return(p_reg); in gatt_get_regcb()
1620 tGATT_REG *p_reg = gatt_get_regcb(gatt_if); in gatt_clcb_alloc() local
[all …]
Dgatt_cl.c438 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_find_type_value_rsp()
439 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_find_type_value_rsp()
499 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_info_rsp()
500 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_info_rsp()
662 tGATT_REG *p_reg; in gatt_process_notification() local
706 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) in gatt_process_notification()
708 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) in gatt_process_notification()
722 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) in gatt_process_notification()
724 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) in gatt_process_notification()
726 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_process_notification()
[all …]
Dgatt_int.h398 tGATT_REG *p_reg; /* owner of this CLCB */ member
555 extern BOOLEAN gatt_act_connect (tGATT_REG *p_reg, BD_ADDR bd_addr, tBT_TRANSPORT transport);
/external/bluetooth/bluedroid/bta/gatt/
Dbta_gatts_utils.c93 tBTA_GATTS_RCB *p_reg; in bta_gatts_find_app_rcb_by_app_if() local
95 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++) in bta_gatts_find_app_rcb_by_app_if()
97 if (p_reg->in_use && p_reg->gatt_if == server_if) in bta_gatts_find_app_rcb_by_app_if()
98 return p_reg; in bta_gatts_find_app_rcb_by_app_if()
Dbta_gatts_act.c922 tBTA_GATTS_RCB *p_reg; in bta_gatts_conn_cback() local
929 p_reg = bta_gatts_find_app_rcb_by_app_if(gatt_if); in bta_gatts_conn_cback()
931 if (p_reg && p_reg->p_cback) in bta_gatts_conn_cback()
947 (*p_reg->p_cback)(evt, &cb_data); in bta_gatts_conn_cback()
/external/bluetooth/bluedroid/stack/mcap/
Dmca_api.c121 tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback) in MCA_Register() argument
128 WC_ASSERT(p_reg != NULL ); in MCA_Register()
131 MCA_TRACE_API ("MCA_Register: ctrl_psm:0x%x, data_psm:0x%x", p_reg->ctrl_psm, p_reg->data_psm); in MCA_Register()
133 if ( (p_rcb = mca_rcb_alloc (p_reg)) != NULL) in MCA_Register()
135 if (p_reg->ctrl_psm) in MCA_Register()
137 if (L2C_INVALID_PSM(p_reg->ctrl_psm) || L2C_INVALID_PSM(p_reg->data_psm)) in MCA_Register()
148 if (L2CA_Register(p_reg->ctrl_psm, (tL2CAP_APPL_INFO *) &l2c_cacp_appl) && in MCA_Register()
149 L2CA_Register(p_reg->data_psm, (tL2CAP_APPL_INFO *) &l2c_dacp_appl)) in MCA_Register()
152 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_MCAP_CTRL, p_reg->sec_mask, in MCA_Register()
153 p_reg->ctrl_psm, BTM_SEC_PROTO_MCA, MCA_CTRL_TCID); in MCA_Register()
[all …]
Dmca_main.c513 tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg) in mca_rcb_alloc() argument
523 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG)); in mca_rcb_alloc()
Dmca_int.h315 extern tMCA_RCB * mca_rcb_alloc(tMCA_REG *p_reg);
/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_main.c127 void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg) in nfa_sys_register() argument
129 nfa_sys_cb.reg[id] = (tNFA_SYS_REG *) p_reg; in nfa_sys_register()
137 if (p_reg->proc_nfcc_pwr_mode) in nfa_sys_register()
/external/bluetooth/bluedroid/bta/include/
Dbta_ar_api.h63 extern void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id);
Dbta_av_api.h507 tBTA_AV_REG *p_reg; /* action function to register VDP */ member
/external/bluetooth/bluedroid/bta/ar/
Dbta_ar.c101 void bta_ar_reg_avdt(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback, tBTA_SYS_ID sys_id) in bta_ar_reg_avdt() argument
126 AVDT_Register(p_reg, bta_ar_avdt_cback); in bta_ar_reg_avdt()
/external/libnfc-nci/src/nfa/int/
Dnfa_sys.h115 extern void nfa_sys_register (UINT8 id, const tNFA_SYS_REG *p_reg);
/external/bluetooth/bluedroid/bta/sys/
Dbta_sys_main.c547 void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg) in bta_sys_register() argument
549 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg; in bta_sys_register()
Dbta_sys.h251 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg);
/external/bluetooth/bluedroid/stack/avdt/
Davdt_api.c113 void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback) in AVDT_Register() argument
122 BTM_SetSecurityLevel(TRUE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
124 BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_AVDTP, p_reg->sec_mask, in AVDT_Register()
152 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG)); in AVDT_Register()
/external/bluetooth/bluedroid/stack/include/
Dmca_api.h264 MCA_API extern tMCA_HANDLE MCA_Register(tMCA_REG *p_reg, tMCA_CTRL_CBACK *p_cback);
Davdt_api.h440 AVDT_API extern void AVDT_Register(tAVDT_REG *p_reg, tAVDT_CTRL_CBACK *p_cback);
/external/bluetooth/bluedroid/bta/av/
Dbta_av_main.c351 if(p_bta_av_cfg->p_act_tbl == NULL || p_bta_av_cfg->p_reg == NULL) in bta_av_alloc_scb()
733 (*p_bta_av_cfg->p_reg)(&cs, p_service_name, p_scb); in bta_av_api_register()
/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_le.c237 void bta_hh_le_register_cmpl(tBTA_GATTC_REG *p_reg) in bta_hh_le_register_cmpl() argument
241 if (p_reg->status == BTA_GATT_OK) in bta_hh_le_register_cmpl()
243 bta_hh_cb.gatt_if = p_reg->client_if; in bta_hh_le_register_cmpl()
/external/llvm/docs/
DCodeGenerator.rst1237 unsigned p_reg) {
1238 assert(TargetRegisterInfo::isPhysicalRegister(p_reg) &&
1241 return trc->contains(p_reg);
1317 register present in a given operand, use ``MachineOperand::setReg(p_reg)``. To