• Home
  • Raw
  • Download

Lines Matching refs:p_attr

74   tSDP_DISC_ATTR* p_attr;  in hidh_get_str_attr()  local
77 p_attr = SDP_FindAttributeInRec(p_rec, attr_id); in hidh_get_str_attr()
78 if (p_attr != NULL) { in hidh_get_str_attr()
79 name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in hidh_get_str_attr()
81 memcpy(str, (char*)p_attr->attr_value.v.array, name_len); in hidh_get_str_attr()
84 memcpy(str, (char*)p_attr->attr_value.v.array, max_len - 1); in hidh_get_str_attr()
94 tSDP_DISC_ATTR *p_attr, *p_subattr1, *p_subattr2, *p_repdesc; in hidh_search_callback() local
116 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DESCRIPTOR_LIST)) == in hidh_search_callback()
118 (SDP_DISC_ATTR_TYPE(p_attr->attr_len_type) != DATA_ELE_SEQ_DESC_TYPE) || in hidh_search_callback()
119 ((p_subattr1 = p_attr->attr_value.v.p_sub_attr) == NULL) || in hidh_search_callback()
133 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_VIRTUAL_CABLE)) != in hidh_search_callback()
135 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
139 if (((p_attr = SDP_FindAttributeInRec( in hidh_search_callback()
141 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
145 if (((p_attr = SDP_FindAttributeInRec( in hidh_search_callback()
147 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
151 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_SDP_DISABLE)) != in hidh_search_callback()
153 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
157 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_BATTERY_POWER)) != in hidh_search_callback()
159 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
163 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_REMOTE_WAKE)) != in hidh_search_callback()
165 (p_attr->attr_value.v.u8)) { in hidh_search_callback()
176 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DEVICE_RELNUM)) != in hidh_search_callback()
178 p_nvi->rel_num = p_attr->attr_value.v.u16; in hidh_search_callback()
181 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_COUNTRY_CODE)) != in hidh_search_callback()
183 p_nvi->ctry_code = p_attr->attr_value.v.u8; in hidh_search_callback()
186 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_DEVICE_SUBCLASS)) != in hidh_search_callback()
188 p_nvi->sub_class = p_attr->attr_value.v.u8; in hidh_search_callback()
191 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_PARSER_VERSION)) != in hidh_search_callback()
193 p_nvi->hpars_ver = p_attr->attr_value.v.u16; in hidh_search_callback()
196 if (((p_attr = SDP_FindAttributeInRec( in hidh_search_callback()
199 p_nvi->sup_timeout = p_attr->attr_value.v.u16; in hidh_search_callback()
202 if (((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_HID_SSR_HOST_MAX_LAT)) != in hidh_search_callback()
205 p_nvi->ssr_max_latency = p_attr->attr_value.v.u16; in hidh_search_callback()
209 if (((p_attr = SDP_FindAttributeInRec( in hidh_search_callback()
212 p_nvi->ssr_min_tout = p_attr->attr_value.v.u16; in hidh_search_callback()