Home | History | Annotate | Download | only in avdt

Lines Matching refs:p_pkt

237   p = p_start = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset;
262 pad_len = *(p_start + p_data->p_pkt->len);
266 if ((offset > p_data->p_pkt->len) ||
267 ((pad_len + offset) > p_data->p_pkt->len)) {
269 osi_free_and_reset((void**)&p_data->p_pkt);
273 p_data->p_pkt->len -= (offset + pad_len);
274 p_data->p_pkt->offset += offset;
278 p_data->p_pkt->layer_specific = seq;
279 (*p_scb->cs.p_sink_data_cback)(avdt_scb_to_hdl(p_scb), p_data->p_pkt,
283 osi_free_and_reset((void**)&p_data->p_pkt);
368 if (p_data->p_pkt->layer_specific == AVDT_CHAN_REPORT) {
369 uint8_t* p = (uint8_t*)(p_data->p_pkt + 1) + p_data->p_pkt->offset;
370 avdt_scb_hdl_report(p_scb, p, p_data->p_pkt->len);
371 osi_free_and_reset((void**)&p_data->p_pkt);
389 osi_free_and_reset((void**)&p_data->p_pkt);
682 osi_free_and_reset((void**)&p_scb->p_pkt);
873 if (p_scb->p_pkt != NULL) {
877 osi_free_and_reset((void**)&p_scb->p_pkt);
903 p_scb->p_pkt = p_data->apiwrite.p_buf;
973 osi_free_and_reset((void**)&p_scb->p_pkt);
1382 if (p_scb->p_pkt != NULL) {
1383 osi_free_and_reset((void**)&p_scb->p_pkt);
1407 BT_HDR* p_pkt;
1412 if (p_scb->p_pkt != NULL) {
1413 p_pkt = p_scb->p_pkt;
1414 p_scb->p_pkt = NULL;
1415 avdt_ad_write_req(AVDT_CHAN_MEDIA, p_scb->p_ccb, p_scb, p_pkt);