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_register_notifn() local
107 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_register_notifn()
109 UINT16_TO_BE_STREAM(p_data, 5); in avrc_bld_register_notifn()
110 UINT8_TO_BE_STREAM(p_data,event_id); in avrc_bld_register_notifn()
111 UINT32_TO_BE_STREAM(p_data, event_param); in avrc_bld_register_notifn()
112 p_pkt->len = (p_data - p_start); in avrc_bld_register_notifn()
131 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_cmd() local
133 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_get_capability_cmd()
134 UINT8_TO_BE_STREAM(p_data,cap_id); in avrc_bld_get_capability_cmd()
135 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_cmd()
153 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_player_app_attr_cmd() local
155 UINT16_TO_BE_STREAM(p_data, 0); in avrc_bld_list_player_app_attr_cmd()
156 p_pkt->len = (p_data - p_start); in avrc_bld_list_player_app_attr_cmd()
174 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_player_app_values_cmd() local
176 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_list_player_app_values_cmd()
177 UINT8_TO_BE_STREAM(p_data,attrib_id); in avrc_bld_list_player_app_values_cmd()
178 p_pkt->len = (p_data - p_start); in avrc_bld_list_player_app_values_cmd()
197 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_current_player_app_values_cmd() local
200 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_current_player_app_values_cmd()
201 UINT8_TO_BE_STREAM(p_data,num_attrib_id); in avrc_bld_get_current_player_app_values_cmd()
204 UINT8_TO_BE_STREAM(p_data,attrib_ids[count]); in avrc_bld_get_current_player_app_values_cmd()
206 p_pkt->len = (p_data - p_start); in avrc_bld_get_current_player_app_values_cmd()
224 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_current_player_app_values_cmd() local
230 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_set_current_player_app_values_cmd()
231 UINT8_TO_BE_STREAM(p_data,num_attrib_id); in avrc_bld_set_current_player_app_values_cmd()
234 UINT8_TO_BE_STREAM(p_data,p_val[count].attr_id); in avrc_bld_set_current_player_app_values_cmd()
235 UINT8_TO_BE_STREAM(p_data,p_val[count].attr_val); in avrc_bld_set_current_player_app_values_cmd()
237 p_pkt->len = (p_data - p_start); in avrc_bld_set_current_player_app_values_cmd()
256 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_player_app_setting_attr_text_cmd() local
260 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_attr_text_cmd()
261 UINT8_TO_BE_STREAM(p_data, p_cmd->num_attr); in avrc_bld_get_player_app_setting_attr_text_cmd()
264 UINT8_TO_BE_STREAM(p_data, p_cmd->attrs[count]); in avrc_bld_get_player_app_setting_attr_text_cmd()
266 p_pkt->len = (p_data - p_start); in avrc_bld_get_player_app_setting_attr_text_cmd()
285 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_player_app_setting_value_text_cmd() local
289 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_player_app_setting_value_text_cmd()
290 UINT8_TO_BE_STREAM(p_data, p_cmd->num_val); in avrc_bld_get_player_app_setting_value_text_cmd()
293 UINT8_TO_BE_STREAM(p_data, p_cmd->vals[count]); in avrc_bld_get_player_app_setting_value_text_cmd()
295 p_pkt->len = (p_data - p_start); in avrc_bld_get_player_app_setting_value_text_cmd()
313 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_element_attr_cmd() local
319 UINT16_TO_BE_STREAM(p_data, param_len); in avrc_bld_get_element_attr_cmd()
321 UINT32_TO_BE_STREAM(p_data,0); in avrc_bld_get_element_attr_cmd()
322 UINT32_TO_BE_STREAM(p_data,0); in avrc_bld_get_element_attr_cmd()
323 UINT8_TO_BE_STREAM(p_data,num_attrib); in avrc_bld_get_element_attr_cmd()
326 UINT32_TO_BE_STREAM(p_data,attrib_ids[count]); in avrc_bld_get_element_attr_cmd()
328 p_pkt->len = (p_data - p_start); in avrc_bld_get_element_attr_cmd()
346 UINT8 *p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_play_status_cmd() local
348 UINT16_TO_BE_STREAM(p_data, 0); in avrc_bld_get_play_status_cmd()
349 p_pkt->len = (p_data - p_start); in avrc_bld_get_play_status_cmd()
383 UINT8 *p_data, *p_start; in avrc_bld_init_cmd_buffer() local
388 p_data = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_init_cmd_buffer()
389 p_start = p_data; in avrc_bld_init_cmd_buffer()
393 *p_data++ = p_cmd->pdu; in avrc_bld_init_cmd_buffer()
398 UINT8_TO_BE_STREAM(p_data, 0); in avrc_bld_init_cmd_buffer()
401 UINT16_TO_BE_STREAM(p_data, 0); in avrc_bld_init_cmd_buffer()
405 p_pkt->len = (p_data - p_start); in avrc_bld_init_cmd_buffer()