• Home
  • Raw
  • Download

Lines Matching refs:p_pkt

234   uint16_t len = p_data->p_pkt->len;  in avdt_scb_hdl_pkt_no_frag()
236 p = p_start = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag()
265 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag()
269 if ((offset > p_data->p_pkt->len) || in avdt_scb_hdl_pkt_no_frag()
270 ((pad_len + offset) > p_data->p_pkt->len)) { in avdt_scb_hdl_pkt_no_frag()
272 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
276 p_data->p_pkt->len -= (offset + pad_len); in avdt_scb_hdl_pkt_no_frag()
277 p_data->p_pkt->offset += offset; in avdt_scb_hdl_pkt_no_frag()
281 p_data->p_pkt->layer_specific = seq; in avdt_scb_hdl_pkt_no_frag()
283 avdt_scb_to_hdl(p_scb), p_data->p_pkt, time_stamp, in avdt_scb_hdl_pkt_no_frag()
286 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
294 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt_no_frag()
431 if (p_data->p_pkt->layer_specific == AVDT_CHAN_REPORT) { in avdt_scb_hdl_pkt()
432 uint8_t* p = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt()
433 avdt_scb_hdl_report(p_scb, p, p_data->p_pkt->len); in avdt_scb_hdl_pkt()
434 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_hdl_pkt()
452 osi_free_and_reset((void**)&p_data->p_pkt); in avdt_scb_drop_pkt()
775 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_tc_close()
965 if (p_scb->p_pkt != NULL) { in avdt_scb_hdl_write_req()
969 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_hdl_write_req()
995 p_scb->p_pkt = p_data->apiwrite.p_buf; in avdt_scb_hdl_write_req()
1071 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_snd_stream_close()
1503 if (p_scb->p_pkt != NULL) { in avdt_scb_clr_pkt()
1504 osi_free_and_reset((void**)&p_scb->p_pkt); in avdt_scb_clr_pkt()
1529 BT_HDR* p_pkt; in avdt_scb_chk_snd_pkt() local
1534 if (p_scb->p_pkt != NULL) { in avdt_scb_chk_snd_pkt()
1535 p_pkt = p_scb->p_pkt; in avdt_scb_chk_snd_pkt()
1536 p_scb->p_pkt = NULL; in avdt_scb_chk_snd_pkt()
1537 avdt_ad_write_req(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb, p_pkt); in avdt_scb_chk_snd_pkt()