Lines Matching refs:num_attr
694 p_seq->num_attr = 0; in sdpu_extract_attr_seq()
767 BE_STREAM_TO_UINT16(p_seq->attr_entry[p_seq->num_attr].start, p); in sdpu_extract_attr_seq()
768 p_seq->attr_entry[p_seq->num_attr].end = in sdpu_extract_attr_seq()
769 p_seq->attr_entry[p_seq->num_attr].start; in sdpu_extract_attr_seq()
771 BE_STREAM_TO_UINT16(p_seq->attr_entry[p_seq->num_attr].start, p); in sdpu_extract_attr_seq()
772 BE_STREAM_TO_UINT16(p_seq->attr_entry[p_seq->num_attr].end, p); in sdpu_extract_attr_seq()
777 if (++p_seq->num_attr >= MAX_ATTR_PER_SEQ) return (NULL); in sdpu_extract_attr_seq()
970 void sdpu_sort_attr_list(uint16_t num_attr, tSDP_DISCOVERY_DB* p_db) { in sdpu_sort_attr_list() argument
975 if (num_attr <= 1) { in sdpu_sort_attr_list()
977 } else if (num_attr > SDP_MAX_ATTR_FILTERS) { in sdpu_sort_attr_list()
978 num_attr = SDP_MAX_ATTR_FILTERS; in sdpu_sort_attr_list()
981 num_attr--; /* for the for-loop */ in sdpu_sort_attr_list()
982 for (i = 0; i < num_attr;) { in sdpu_sort_attr_list()
1041 for (xx = 0; xx < attr_seq->num_attr; xx++) { in sdpu_get_attrib_seq_len()