Home | History | Annotate | Download | only in avdt

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]);
335 ** Description This lookup function finds the ccb for a BD address.
338 ** Returns pointer to the ccb, or NULL if none found.
343 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0];
348 /* if allocated ccb has matching ccb */
357 /* if no ccb found */
360 AVDT_TRACE_DEBUG("No ccb for addr %02x-%02x-%02x-%02x-%02x-%02x",
373 ** Returns pointer to the ccb, or NULL if none could be allocated.
378 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0];
433 ** Description Given a pointer to an ccb, return its index.
436 ** Returns Index of ccb.
442 return (UINT8) (p_ccb - avdt_cb.ccb);
449 ** Description Return ccb pointer based on ccb index.
452 ** Returns pointer to the ccb, or NULL if none found.
462 p_ccb = &avdt_cb.ccb[idx];
467 AVDT_TRACE_WARNING("No ccb for idx %d", idx);