Home
last modified time | relevance | path

Searched refs:ccb (Results 1 – 15 of 15) sorted by relevance

/system/bt/stack/avct/
Davct_ccb.c44 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_ccb_alloc()
115 return (UINT8) (p_ccb - avct_cb.ccb); in avct_ccb_to_idx()
135 p_ccb = &avct_cb.ccb[idx]; in avct_ccb_by_idx()
Davct_lcb_act.c229 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_ind()
280 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_open_fail()
306 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_ind()
342 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_close_cfm()
470 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_cong_ind()
Davct_lcb.c359 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_dealloc()
422 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_has_pid()
447 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_lcb_last_ccb()
Davct_int.h135 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member
Davct_l2c.c76 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]; in avct_l2c_is_passive()
/system/bt/stack/mcap/
Dmca_csm.c228 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_by_bd()
263 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS]; in mca_ccb_alloc()
333 return (UINT8) (p_ccb - mca_cb.ccb + 1); in mca_ccb_to_hdl()
350 if (mcl && mcl <= MCA_NUM_CCBS && mca_cb.ccb[mcl-1].state) in mca_ccb_by_hdl()
351 p_ccb = &mca_cb.ccb[mcl-1]; in mca_ccb_by_hdl()
Dmca_int.h258 tMCA_CCB ccb[MCA_NUM_CCBS]; /* control channel control blocks */ member
Dmca_main.c557 p_ccb = &mca_cb.ccb[handle*MCA_NUM_LINKS]; in mca_rcb_dealloc()
/system/bt/stack/avdt/
Davdt_ccb.c284 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS); in avdt_ccb_init()
343 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_by_bd()
378 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0]; in avdt_ccb_alloc()
442 return (UINT8) (p_ccb - avdt_cb.ccb); in avdt_ccb_to_idx()
462 p_ccb = &avdt_cb.ccb[idx]; in avdt_ccb_by_idx()
Davdt_int.h547 tAVDT_CCB ccb[AVDT_NUM_LINKS]; /* channel control blocks */ member
/system/bt/stack/avrc/
Davrc_api.c80 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].p_ctrl_cback) in avrc_ctrl_cback()
88 (*avrc_cb.ccb[handle].p_ctrl_cback)(handle, avrc_event, result, peer_addr); in avrc_ctrl_cback()
575 if ( ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) || in avrc_msg_cback()
576 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP)) ) in avrc_msg_cback()
595 AVRC_CO_ID_TO_BE_STREAM(p_rsp_data, avrc_cb.ccb[handle].company_id); in avrc_msg_cback()
738 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) in avrc_msg_cback()
775 (*avrc_cb.ccb[handle].p_msg_cback)(handle, label, opcode, &msg); in avrc_msg_cback()
782 handle, avrc_cb.ccb[handle].control, cr, opcode); in avrc_msg_cback()
902 memcpy(&avrc_cb.ccb[*p_handle], p_ccb, sizeof(tAVRC_CONN_CB)); in AVRC_Open()
Davrc_int.h119 tAVRC_CONN_CB ccb[AVCT_NUM_CONN]; member
/system/bt/stack/sdp/
Dsdp_utils.c62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_cid()
92 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_find_ccb_by_db()
119 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) in sdpu_allocate_ccb()
Dsdpint.h222 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member
/system/bt/bta/av/
Dbta_av_act.c305 tAVRC_CONN_CB ccb; in bta_av_rc_create() local
327 ccb.p_ctrl_cback = bta_av_rc_ctrl_cback; in bta_av_rc_create()
328 ccb.p_msg_cback = bta_av_rc_msg_cback; in bta_av_rc_create()
329 ccb.company_id = p_bta_av_cfg->company_id; in bta_av_rc_create()
330 ccb.conn = role; in bta_av_rc_create()
332 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | AVRC_CT_PASSIVE); in bta_av_rc_create()
334 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS) in bta_av_rc_create()