Home | History | Annotate | Download | only in avrc

Lines Matching refs:p_start

54   uint8_t *p_data, *p_start, *p_len, *p_count;
69 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
70 p_data = p_len = p_start + 2; /* pdu + rsvd */
81 p_data = p_start + p_pkt->len;
103 p_pkt->len = (p_data - p_start);
122 uint8_t *p_data, *p_start, *p_len, *p_num;
128 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
129 p_data = p_len = p_start + 2; /* pdu + rsvd */
138 p_data = p_start + p_pkt->len;
150 p_pkt->len = (p_data - p_start);
168 uint8_t *p_data, *p_start, *p_len, *p_num;
174 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
175 p_data = p_len = p_start + 2; /* pdu + rsvd */
185 p_data = p_start + p_pkt->len;
195 p_pkt->len = (p_data - p_start);
212 uint8_t *p_data, *p_start, *p_len, *p_count;
223 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
224 p_data = p_len = p_start + 2; /* pdu + rsvd */
233 p_data = p_start + p_pkt->len;
246 p_pkt->len = (p_data - p_start);
282 uint8_t *p_data, *p_start, *p_len, *p_count;
293 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
294 p_data = p_len = p_start + 2; /* pdu + rsvd */
309 p_data = p_start + p_pkt->len;
334 p_pkt->len = (p_data - p_start);
528 uint8_t *p_data, *p_start;
531 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
532 p_data = p_start + 2;
539 p_pkt->len = (p_data - p_start);
556 uint8_t *p_data, *p_start;
564 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
565 p_data = p_len = p_start + 2; /* pdu + rsvd */
667 p_pkt->len = (p_data - p_start);
684 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
685 uint8_t* p_data = (p_start + 2); /* Skip the pdu and reserved bits */
706 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
708 uint8_t* p_data = p_start + 2;
712 p_pkt->len = (p_data - p_start);
749 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
757 p_data = p_start + 1;
758 if ((AVRC_PDU_INVALID == *p_start) ||
759 (avrc_opcode_from_pdu(*p_start) != AVRC_OP_BROWSE)) {
763 *p_start = AVRC_PDU_GENERAL_REJECT;
766 p_data = p_start + 2;
768 AVRC_TRACE_DEBUG("%s pdu:x%x, Opcode:%x", __func__, *p_start, opcode);
771 p_pkt->len = p_data - p_start;
790 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
791 AVRC_TRACE_DEBUG("pdu:x%x", *p_start);
794 uint8_t* p_data = p_start + 2; /* pdu + rsvd */
799 p_pkt->len = (p_data - p_start);
832 uint8_t *p_data, *p_start;
851 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
852 p_data = p_len = p_start + 1; /* pdu */
872 p_data = p_start + p_pkt->len;
884 p_pkt->len = (p_data - p_start);
907 uint8_t *p_data, *p_start;
934 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
935 p_data = p_len = p_start + 1; /* pdu */
949 p_data = p_start + p_pkt->len;
1079 p_pkt->len = (p_data - p_start);
1098 uint8_t *p_data, *p_start;
1101 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
1102 p_data = p_start + 1; /* pdu */
1107 p_pkt->len = (p_data - p_start);
1204 uint8_t *p_data, *p_start, *p_len;
1208 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
1209 p_data = p_len = p_start + 1; /* pdu */
1217 p_pkt->len = (p_data - p_start);
1223 p_pkt->len = (p_data - p_start);
1241 uint8_t *p_data, *p_start, *p_len;
1245 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset;
1246 p_data = p_len = p_start + 1; /* pdu */
1253 p_pkt->len = (p_data - p_start);
1328 uint8_t *p_data, *p_start;
1334 p_start = p_data;
1351 p_pkt->len = (p_data - p_start);