• Home
  • Raw
  • Download

Lines Matching refs:offset

104     return (UINT8 *)(p_pkt + 1) + p_pkt->offset;  in avrc_get_data_ptr()
119 const int offset = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_copy_packet() local
122 (BT_HDR *)GKI_getbuf((UINT16)(BT_HDR_SIZE + offset + pkt_len)); in avrc_copy_packet()
127 p_pkt_copy->offset = offset; in avrc_copy_packet()
159 p_orig_data = ((UINT8 *)(p_fcb->p_fmsg + 1) + p_fcb->p_fmsg->offset); in avrc_prep_end_frag()
164 p_pkt_new->offset += (AVRC_MAX_CTRL_DATA_LEN - AVRC_VENDOR_HDR_SIZE - AVRC_MIN_META_HDR_SIZE); in avrc_prep_end_frag()
165 p_data = (UINT8 *)(p_pkt_new+1) + p_pkt_new->offset; in avrc_prep_end_frag()
201 int offset_len = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in avrc_send_continue_frag()
207 p_pkt->offset = AVCT_MSG_OFFSET; in avrc_send_continue_frag()
210 p_old = (UINT8 *)(p_pkt_old+1) + p_pkt_old->offset; in avrc_send_continue_frag()
211 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_send_continue_frag()
230 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_send_continue_frag()
270 p_begin = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_proc_vendor_command()
292 p_begin = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_proc_vendor_command()
349 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_proc_vendor_command()
387 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_proc_far_msg()
423 (UINT8 *)(p_pkt+1) + p_pkt->offset, p_pkt->len); in avrc_proc_far_msg()
426 p_rcb->p_rmsg->offset = p_rcb->rasm_offset = 0; in avrc_proc_far_msg()
438 p_rcb->rasm_offset = p_pkt->offset; in avrc_proc_far_msg()
443 p_rcb->p_rmsg->offset += p_rcb->p_rmsg->len; in avrc_proc_far_msg()
461 p_pkt->offset += (AVRC_VENDOR_HDR_SIZE + AVRC_MIN_META_HDR_SIZE); in avrc_proc_far_msg()
464 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) in avrc_proc_far_msg()
467 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; in avrc_proc_far_msg()
472 memcpy((UINT8 *)(p_rcb->p_rmsg + 1) + p_rcb->p_rmsg->offset, in avrc_proc_far_msg()
473 (UINT8 *)(p_pkt + 1) + p_pkt->offset, p_pkt->len); in avrc_proc_far_msg()
477 p_rcb->p_rmsg->offset = p_rcb->rasm_offset; in avrc_proc_far_msg()
482 p_msg->p_vendor_data = (UINT8 *)(p_pkt_new+1) + p_pkt_new->offset; in avrc_proc_far_msg()
491 p_pkt_new->len, p_pkt_new->offset); in avrc_proc_far_msg()
495 p_rcb->p_rmsg->offset += p_pkt->len; in avrc_proc_far_msg()
586 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_msg_cback()
591 handle, msg.hdr.ctype, p_pkt->offset, p_pkt->len); in avrc_msg_cback()
618 p_rsp->len = (UINT16) (p_rsp_data - (UINT8 *)(p_rsp + 1) - p_rsp->offset); in avrc_msg_cback()
649 p_rsp->len = (UINT16) (p_rsp_data - (UINT8 *)(p_rsp + 1) - p_rsp->offset); in avrc_msg_cback()
672 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in avrc_msg_cback()
842 p_cmd->offset = AVCT_MSG_OFFSET; in avrc_pass_msg()
844 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; in avrc_pass_msg()
867 p_cmd->len = (UINT16) (p_data - (UINT8 *)(p_cmd + 1) - p_cmd->offset); in avrc_pass_msg()
1007 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1008 p_pkt->offset -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq()
1010 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in AVRC_MsgReq()
1019 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq()
1020 p_pkt->offset -= AVRC_PASS_THRU_SIZE; in AVRC_MsgReq()
1022 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in AVRC_MsgReq()
1048 int offset_len = MAX(AVCT_MSG_OFFSET, p_pkt->offset); in AVRC_MsgReq()
1059 p_pkt->offset = p_pkt_new->offset; in AVRC_MsgReq()
1062 p_data = (UINT8 *)(p_pkt+1) + p_pkt->offset; in AVRC_MsgReq()