Home
last modified time | relevance | path

Searched refs:v2_descriptor (Results 1 – 2 of 2) sorted by relevance

/system/core/adb/daemon/
Dusb_ffs.cpp215 struct desc_v2 v2_descriptor = {}; in open_functionfs() local
217 v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in open_functionfs()
218 v2_descriptor.header.length = cpu_to_le32(sizeof(v2_descriptor)); in open_functionfs()
219 v2_descriptor.header.flags = FUNCTIONFS_HAS_FS_DESC | FUNCTIONFS_HAS_HS_DESC | in open_functionfs()
221 v2_descriptor.fs_count = 3; in open_functionfs()
222 v2_descriptor.hs_count = 3; in open_functionfs()
223 v2_descriptor.ss_count = 5; in open_functionfs()
224 v2_descriptor.os_count = 1; in open_functionfs()
225 v2_descriptor.fs_descs = fs_descriptors; in open_functionfs()
226 v2_descriptor.hs_descs = hs_descriptors; in open_functionfs()
[all …]
/system/core/fastboot/device/
Dusb_client.cpp172 static struct DescV2 v2_descriptor = { variable
176 .length = htole32(sizeof(v2_descriptor)),
206 auto ret = write(h->control.get(), &v2_descriptor, sizeof(v2_descriptor)); in InitFunctionFs()