Lines Matching +full:a +full:- +full:hlm
9 * specifically for windows. Presence is indicated using a special
18 * HLM\SYSTEM\CurrentControlSet\Enum\USB\<devid>\<serial>\Device Parameters
23 * HLM\SYSTEM\CurrentControlSet\Control\usbflags
24 * HLM\SYSTEM\CurrentControlSet\Enum\USB
29 * http://msdn.microsoft.com/en-us/library/windows/hardware/ff537430.aspx
33 /* ------------------------------------------------------------------ */
61 func->bFirstInterfaceNumber = 0; in usb_desc_msos_compat()
62 func->reserved_1 = 0x01; in usb_desc_msos_compat()
63 if (desc->msos->CompatibleID) { in usb_desc_msos_compat()
64 snprintf(func->compatibleId, sizeof(func->compatibleId), in usb_desc_msos_compat()
65 "%s", desc->msos->CompatibleID); in usb_desc_msos_compat()
70 hdr->dwLength = cpu_to_le32(length); in usb_desc_msos_compat()
71 hdr->bcdVersion_lo = 0x00; in usb_desc_msos_compat()
72 hdr->bcdVersion_hi = 0x01; in usb_desc_msos_compat()
73 hdr->wIndex_lo = 0x04; in usb_desc_msos_compat()
74 hdr->wIndex_hi = 0x00; in usb_desc_msos_compat()
75 hdr->bCount = count; in usb_desc_msos_compat()
79 /* ------------------------------------------------------------------ */
120 prop->dwPropertyNameLength_lo = usb_lo(length*2); in usb_desc_msos_prop_name()
121 prop->dwPropertyNameLength_hi = usb_hi(length*2); in usb_desc_msos_prop_name()
123 prop->bPropertyName[i*2] = usb_lo(name[i]); in usb_desc_msos_prop_name()
124 prop->bPropertyName[i*2+1] = usb_hi(name[i]); in usb_desc_msos_prop_name()
137 prop->dwPropertyDataType = cpu_to_le32(type); in usb_desc_msos_prop_str()
141 data->dwPropertyDataLength = cpu_to_le32(vlen*2); in usb_desc_msos_prop_str()
145 data->bPropertyData[i*2] = usb_lo(value[i]); in usb_desc_msos_prop_str()
146 data->bPropertyData[i*2+1] = usb_hi(value[i]); in usb_desc_msos_prop_str()
150 prop->dwLength = cpu_to_le32(length); in usb_desc_msos_prop_str()
161 prop->dwPropertyDataType = cpu_to_le32(MSOS_REG_DWORD_LE); in usb_desc_msos_prop_dword()
165 data->dwPropertyDataLength = cpu_to_le32(4); in usb_desc_msos_prop_dword()
166 data->bPropertyData[0] = (value) & 0xff; in usb_desc_msos_prop_dword()
167 data->bPropertyData[1] = (value >> 8) & 0xff; in usb_desc_msos_prop_dword()
168 data->bPropertyData[2] = (value >> 16) & 0xff; in usb_desc_msos_prop_dword()
169 data->bPropertyData[3] = (value >> 24) & 0xff; in usb_desc_msos_prop_dword()
172 prop->dwLength = cpu_to_le32(length); in usb_desc_msos_prop_dword()
182 if (desc->msos->Label) { in usb_desc_msos_prop()
188 L"Label", desc->msos->Label); in usb_desc_msos_prop()
192 if (desc->msos->SelectiveSuspendEnabled) { in usb_desc_msos_prop()
204 hdr->dwLength = cpu_to_le32(length); in usb_desc_msos_prop()
205 hdr->bcdVersion_lo = 0x00; in usb_desc_msos_prop()
206 hdr->bcdVersion_hi = 0x01; in usb_desc_msos_prop()
207 hdr->wIndex_lo = 0x05; in usb_desc_msos_prop()
208 hdr->wIndex_hi = 0x00; in usb_desc_msos_prop()
209 hdr->wCount_lo = usb_lo(count); in usb_desc_msos_prop()
210 hdr->wCount_hi = usb_hi(count); in usb_desc_msos_prop()
214 /* ------------------------------------------------------------------ */
237 p->actual_length = length; in usb_desc_msos()