Searched refs:descriptors (Results 1 - 2 of 2) sorted by relevance

/system/core/fastbootd/
H A Dusb_linux_client.c79 } __attribute__((packed)) descriptors = { variable in typeref:struct:__anon24
82 .length = cpu_to_le32(sizeof(descriptors)),
88 .bLength = sizeof(descriptors.fs_descs.intf),
98 .bLength = sizeof(descriptors.fs_descs.source),
105 .bLength = sizeof(descriptors.fs_descs.sink),
114 .bLength = sizeof(descriptors.hs_descs.intf),
124 .bLength = sizeof(descriptors.hs_descs.source),
131 .bLength = sizeof(descriptors.hs_descs.sink),
172 ret = write(usb_transport->control, &descriptors, sizeof(descriptors));
[all...]
/system/core/adb/
H A Dusb_linux_client.c65 } __attribute__((packed)) descriptors = { variable in typeref:struct:__anon16
68 .length = cpu_to_le32(sizeof(descriptors)),
74 .bLength = sizeof(descriptors.fs_descs.intf),
84 .bLength = sizeof(descriptors.fs_descs.source),
91 .bLength = sizeof(descriptors.fs_descs.sink),
100 .bLength = sizeof(descriptors.hs_descs.intf),
110 .bLength = sizeof(descriptors.hs_descs.source),
117 .bLength = sizeof(descriptors.hs_descs.sink),
275 ret = adb_write(h->control, &descriptors, sizeof(descriptors));
[all...]

Completed in 46 milliseconds