Searched refs:v2_descriptor (Results 1 – 2 of 2) sorted by relevance
256 struct desc_v2 v2_descriptor = {}; in open_functionfs() local258 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()[all …]
172 static struct DescV2 v2_descriptor = { variable176 .length = htole32(sizeof(v2_descriptor)),206 auto ret = write(h->control.get(), &v2_descriptor, sizeof(v2_descriptor)); in InitFunctionFs()