Home | History | Annotate | Download | only in hid

Lines Matching refs:p_attr

79     tSDP_DISC_ATTR          *p_attr;
82 if ((p_attr = SDP_FindAttributeInRec(p_rec, attr_id)) != NULL)
84 if((name_len = SDP_DISC_ATTR_LEN(p_attr->attr_len_type)) < max_len )
86 memcpy( str, (char *) p_attr->attr_value.v.array, name_len );
91 memcpy( str, (char *) p_attr->attr_value.v.array, max_len-1 );
104 tSDP_DISC_ATTR *p_attr, *p_subattr1, *p_subattr2, *p_repdesc;
129 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_DESCRIPTOR_LIST)) == NULL)
130 || (SDP_DISC_ATTR_TYPE(p_attr->attr_len_type) != DATA_ELE_SEQ_DESC_TYPE)
131 || ((p_subattr1 = p_attr->attr_value.v.p_sub_attr) == NULL)
144 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_VIRTUAL_CABLE)) != NULL) &&
145 (p_attr->attr_value.v.u8) )
150 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_RECONNECT_INITIATE)) != NULL) &&
151 (p_attr->attr_value.v.u8) )
156 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_NORMALLY_CONNECTABLE)) != NULL) &&
157 (p_attr->attr_value.v.u8) )
162 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_SDP_DISABLE)) != NULL)&&
163 (p_attr->attr_value.v.u8) )
168 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_BATTERY_POWER)) != NULL)&&
169 (p_attr->attr_value.v.u8) )
174 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_REMOTE_WAKE)) != NULL)&&
175 (p_attr->attr_value.v.u8) )
184 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_DEVICE_RELNUM)) != NULL))
186 p_nvi->rel_num = p_attr->attr_value.v.u16;
189 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_COUNTRY_CODE)) != NULL))
191 p_nvi->ctry_code = p_attr->attr_value.v.u8;
194 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_DEVICE_SUBCLASS)) != NULL))
196 p_nvi->sub_class = p_attr->attr_value.v.u8;
199 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_PARSER_VERSION)) != NULL))
201 p_nvi->hpars_ver = p_attr->attr_value.v.u16;
204 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_LINK_SUPERVISION_TO)) != NULL))
207 p_nvi->sup_timeout = p_attr->attr_value.v.u16;
210 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_SSR_HOST_MAX_LAT)) != NULL))
213 p_nvi->ssr_max_latency = p_attr->attr_value.v.u16;
218 if (((p_attr = SDP_FindAttributeInRec (p_rec, ATTR_ID_HID_SSR_HOST_MIN_TOUT)) != NULL))
221 p_nvi->ssr_min_tout = p_attr->attr_value.v.u16;