Lines Matching refs:p_start
53 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local
68 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp()
69 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp()
80 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp()
102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp()
121 uint8_t *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local
127 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_attr_rsp()
128 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_attr_rsp()
137 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_attr_rsp()
149 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_attr_rsp()
167 uint8_t *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_values_rsp() local
173 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_values_rsp()
174 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_values_rsp()
184 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_values_rsp()
194 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_values_rsp()
211 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_cur_app_setting_value_rsp() local
222 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_cur_app_setting_value_rsp()
223 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_cur_app_setting_value_rsp()
232 p_data = p_start + p_pkt->len; in avrc_bld_get_cur_app_setting_value_rsp()
245 p_pkt->len = (p_data - p_start); in avrc_bld_get_cur_app_setting_value_rsp()
281 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_app_setting_text_rsp() local
292 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_app_setting_text_rsp()
293 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_app_setting_text_rsp()
308 p_data = p_start + p_pkt->len; in avrc_bld_app_setting_text_rsp()
333 p_pkt->len = (p_data - p_start); in avrc_bld_app_setting_text_rsp()
527 uint8_t *p_data, *p_start; in avrc_bld_get_play_status_rsp() local
530 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_play_status_rsp()
531 p_data = p_start + 2; in avrc_bld_get_play_status_rsp()
538 p_pkt->len = (p_data - p_start); in avrc_bld_get_play_status_rsp()
555 uint8_t *p_data, *p_start; in avrc_bld_notify_rsp() local
563 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_notify_rsp()
564 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_notify_rsp()
666 p_pkt->len = (p_data - p_start); in avrc_bld_notify_rsp()
683 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_rsp() local
684 uint8_t* p_data = (p_start + 2); /* Skip the pdu and reserved bits */ in avrc_bld_next_rsp()
705 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_absolute_volume_rsp() local
707 uint8_t* p_data = p_start + 2; in avrc_bld_set_absolute_volume_rsp()
711 p_pkt->len = (p_data - p_start); in avrc_bld_set_absolute_volume_rsp()
748 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_rejected_rsp() local
756 p_data = p_start + 1; in avrc_bld_rejected_rsp()
757 if ((AVRC_PDU_INVALID == *p_start) || in avrc_bld_rejected_rsp()
758 (avrc_opcode_from_pdu(*p_start) != AVRC_OP_BROWSE)) { in avrc_bld_rejected_rsp()
762 *p_start = AVRC_PDU_GENERAL_REJECT; in avrc_bld_rejected_rsp()
765 p_data = p_start + 2; in avrc_bld_rejected_rsp()
767 AVRC_TRACE_DEBUG("%s pdu:x%x, Opcode:%x", __func__, *p_start, opcode); in avrc_bld_rejected_rsp()
770 p_pkt->len = p_data - p_start; in avrc_bld_rejected_rsp()
789 uint8_t* p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_ctrl_status_rsp() local
790 AVRC_TRACE_DEBUG("pdu:x%x", *p_start); in avrc_bld_ctrl_status_rsp()
793 uint8_t* p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_ctrl_status_rsp()
798 p_pkt->len = (p_data - p_start); in avrc_bld_ctrl_status_rsp()
831 uint8_t *p_data, *p_start; in avrc_bld_set_browsed_player_rsp() local
850 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_browsed_player_rsp()
851 p_data = p_len = p_start + 1; /* pdu */ in avrc_bld_set_browsed_player_rsp()
871 p_data = p_start + p_pkt->len; in avrc_bld_set_browsed_player_rsp()
883 p_pkt->len = (p_data - p_start); in avrc_bld_set_browsed_player_rsp()
906 uint8_t *p_data, *p_start; in avrc_bld_get_folder_items_rsp() local
933 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_folder_items_rsp()
934 p_data = p_len = p_start + 1; /* pdu */ in avrc_bld_get_folder_items_rsp()
948 p_data = p_start + p_pkt->len; in avrc_bld_get_folder_items_rsp()
1077 p_pkt->len = (p_data - p_start); in avrc_bld_get_folder_items_rsp()
1096 uint8_t *p_data, *p_start; in avrc_bld_change_path_rsp() local
1099 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_change_path_rsp()
1100 p_data = p_start + 1; /* pdu */ in avrc_bld_change_path_rsp()
1105 p_pkt->len = (p_data - p_start); in avrc_bld_change_path_rsp()
1202 uint8_t *p_data, *p_start, *p_len; in avrc_bld_get_num_of_item_rsp() local
1206 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_num_of_item_rsp()
1207 p_data = p_len = p_start + 1; /* pdu */ in avrc_bld_get_num_of_item_rsp()
1215 p_pkt->len = (p_data - p_start); in avrc_bld_get_num_of_item_rsp()
1221 p_pkt->len = (p_data - p_start); in avrc_bld_get_num_of_item_rsp()
1239 uint8_t *p_data, *p_start, *p_len; in avrc_bld_search_rsp() local
1243 p_start = (uint8_t*)(p_pkt + 1) + p_pkt->offset; in avrc_bld_search_rsp()
1244 p_data = p_len = p_start + 1; /* pdu */ in avrc_bld_search_rsp()
1251 p_pkt->len = (p_data - p_start); in avrc_bld_search_rsp()
1326 uint8_t *p_data, *p_start; in avrc_bld_init_rsp_buffer() local
1332 p_start = p_data; in avrc_bld_init_rsp_buffer()
1349 p_pkt->len = (p_data - p_start); in avrc_bld_init_rsp_buffer()