Lines Matching refs:ccb
284 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS);
292 ** Description State machine event handling function for ccb
305 AVDT_TRACE_EVENT("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]);
338 ** Description This lookup function finds the ccb for a BD address.
341 ** Returns pointer to the ccb, or NULL if none found.
346 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0];
351 /* if allocated ccb has matching ccb */
360 /* if no ccb found */
363 AVDT_TRACE_DEBUG("No ccb for addr %02x-%02x-%02x-%02x-%02x-%02x",
376 ** Returns pointer to the ccb, or NULL if none could be allocated.
381 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0];
430 ** Description Given a pointer to an ccb, return its index.
433 ** Returns Index of ccb.
439 return (UINT8) (p_ccb - avdt_cb.ccb);
446 ** Description Return ccb pointer based on ccb index.
449 ** Returns pointer to the ccb, or NULL if none found.
459 p_ccb = &avdt_cb.ccb[idx];
464 AVDT_TRACE_WARNING("No ccb for idx %d", idx);