Lines Matching refs:dest
53 static int usb_desc_msos_compat(const USBDesc *desc, uint8_t *dest) in usb_desc_msos_compat() argument
55 msos_compat_hdr *hdr = (void *)dest; in usb_desc_msos_compat()
60 func = (void *)(dest + length); in usb_desc_msos_compat()
129 static int usb_desc_msos_prop_str(uint8_t *dest, msos_prop_type type, in usb_desc_msos_prop_str() argument
132 struct msos_prop *prop = (void *)dest; in usb_desc_msos_prop_str()
139 data = (void *)(dest + length); in usb_desc_msos_prop_str()
154 static int usb_desc_msos_prop_dword(uint8_t *dest, const wchar_t *name, in usb_desc_msos_prop_dword() argument
157 struct msos_prop *prop = (void *)dest; in usb_desc_msos_prop_dword()
163 data = (void *)(dest + length); in usb_desc_msos_prop_dword()
176 static int usb_desc_msos_prop(const USBDesc *desc, uint8_t *dest) in usb_desc_msos_prop() argument
178 msos_prop_hdr *hdr = (void *)dest; in usb_desc_msos_prop()
187 length += usb_desc_msos_prop_str(dest+length, MSOS_REG_SZ, in usb_desc_msos_prop()
199 length += usb_desc_msos_prop_dword(dest+length, in usb_desc_msos_prop()
217 int index, uint8_t *dest, size_t len) in usb_desc_msos() argument
234 memcpy(dest, buf, length); in usb_desc_msos()