Lines Matching refs:p_data
43 UINT8 *p_data, *p_start; in avrc_bld_next_cmd() local
49 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd()
52 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_next_cmd()
53 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); in avrc_bld_next_cmd()
54 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd()
76 UINT8 *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local
81 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd()
83 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_set_abs_volume_cmd()
84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd()
85 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd()
101 UINT8 *p_data, *p_start; in avrc_bld_vol_change_notfn() local
107 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_vol_change_notfn()
109 UINT16_TO_BE_STREAM(p_data, 5); in avrc_bld_vol_change_notfn()
110 UINT8_TO_BE_STREAM(p_data,AVRC_EVT_VOLUME_CHANGE); in avrc_bld_vol_change_notfn()
111 UINT32_TO_BE_STREAM(p_data, 0); in avrc_bld_vol_change_notfn()
112 p_pkt->len = (p_data - p_start); in avrc_bld_vol_change_notfn()
151 UINT8 *p_data, *p_start; in avrc_bld_init_cmd_buffer() local
156 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_init_cmd_buffer()
157 p_start = p_data; in avrc_bld_init_cmd_buffer()
161 *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer()
167 UINT8_TO_BE_STREAM(p_data, 0); in avrc_bld_init_cmd_buffer()
170 UINT16_TO_BE_STREAM(p_data, 0); in avrc_bld_init_cmd_buffer()
174 p_pkt->len = (p_data - p_start); in avrc_bld_init_cmd_buffer()