Home
last modified time | relevance | path

Searched refs:p_rmsg (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/
Davrc_api.c381 if (p_rcb->p_rmsg) { in avrc_proc_far_msg()
382 osi_free(p_rcb->p_rmsg); in avrc_proc_far_msg()
383 p_rcb->p_rmsg = NULL; in avrc_proc_far_msg()
392 if ((p_rcb->p_rmsg = (BT_HDR *)osi_malloc(BT_DEFAULT_BUFFER_SIZE)) != NULL) { in avrc_proc_far_msg()
394 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */ in avrc_proc_far_msg()
397 memcpy((UINT8 *)(p_rcb->p_rmsg + 1), in avrc_proc_far_msg()
401 p_rcb->p_rmsg->offset = p_rcb->rasm_offset = 0; in avrc_proc_far_msg()
405 *pp_pkt = p_rcb->p_rmsg; in avrc_proc_far_msg()
412 p_rcb->p_rmsg = p_pkt; in avrc_proc_far_msg()
416 p_rcb->p_rmsg->offset += p_rcb->p_rmsg->len; in avrc_proc_far_msg()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/include/
Davrc_int.h110 BT_HDR *p_rmsg; /* the received message */ member