Lines Matching refs:BT_HDR
95 static UINT8 * avrc_get_data_ptr(BT_HDR *p_pkt)
127 BT_HDR *p_pkt_new;
167 BT_HDR *p_pkt_old, *p_pkt;
179 p_pkt = (BT_HDR *)GKI_getbuf((UINT16)(AVRC_PACKET_LEN + AVCT_MSG_OFFSET + BT_HDR_SIZE));
235 static BT_HDR * avrc_proc_vendor_command(UINT8 handle, UINT8 label,
236 BT_HDR *p_pkt, tAVRC_MSG_VENDOR *p_msg)
238 BT_HDR *p_rsp = NULL;
348 static UINT8 avrc_proc_far_msg(UINT8 handle, UINT8 label, UINT8 cr, BT_HDR **pp_pkt,
351 BT_HDR *p_pkt = *pp_pkt;
354 BT_HDR *p_rsp = NULL;
355 BT_HDR *p_cmd = NULL;
357 BT_HDR *p_pkt_new = NULL;
392 if ((p_rcb->p_rmsg = (BT_HDR *)GKI_getbuf(GKI_MAX_BUF_SIZE)) != NULL)
395 memcpy(p_rcb->p_rmsg, p_pkt, sizeof(BT_HDR)); /* Copy bt hdr */
435 BT_HDR);
525 BT_HDR *p_pkt)
533 BT_HDR *p_rsp = NULL;
803 static BT_HDR * avrc_pass_msg(tAVRC_MSG_PASS *p_msg)
805 BT_HDR *p_cmd = NULL;
811 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL)
949 ** The above BT_HDR settings are set by the AVRC_Bld* functions.
955 UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt)
964 BT_HDR *p_pkt_new;
1017 p_pkt_new = (BT_HDR *)GKI_getbuf((UINT16)(AVRC_PACKET_LEN + AVCT_MSG_OFFSET
1086 BT_HDR *p_buf;
1125 BT_HDR *p_buf;