Lines Matching refs:v2_descriptor
256 struct desc_v2 v2_descriptor = {}; in open_functionfs() local
258 v2_descriptor.header.magic = cpu_to_le32(FUNCTIONFS_DESCRIPTORS_MAGIC_V2); in open_functionfs()
259 v2_descriptor.header.length = cpu_to_le32(sizeof(v2_descriptor)); in open_functionfs()
260 v2_descriptor.header.flags = FUNCTIONFS_HAS_FS_DESC | FUNCTIONFS_HAS_HS_DESC | in open_functionfs()
262 v2_descriptor.fs_count = 3; in open_functionfs()
263 v2_descriptor.hs_count = 3; in open_functionfs()
264 v2_descriptor.ss_count = 5; in open_functionfs()
265 v2_descriptor.os_count = 2; in open_functionfs()
266 v2_descriptor.fs_descs = fs_descriptors; in open_functionfs()
267 v2_descriptor.hs_descs = hs_descriptors; in open_functionfs()
268 v2_descriptor.ss_descs = ss_descriptors; in open_functionfs()
269 v2_descriptor.os_header = os_desc_header; in open_functionfs()
270 v2_descriptor.os_desc = os_desc_compat; in open_functionfs()
271 v2_descriptor.os_prop_header = os_prop_header; in open_functionfs()
272 v2_descriptor.os_prop_values = os_prop_values; in open_functionfs()
282 if (adb_write(control.get(), &v2_descriptor, sizeof(v2_descriptor)) < 0) { in open_functionfs()