Lines Matching refs:helper
1883 struct ffs_desc_helper *helper = priv; in __ffs_data_do_entity() local
1898 if (*valuep >= helper->interfaces_count) in __ffs_data_do_entity()
1899 helper->interfaces_count = *valuep + 1; in __ffs_data_do_entity()
1907 if (*valuep > helper->ffs->strings_count) in __ffs_data_do_entity()
1908 helper->ffs->strings_count = *valuep; in __ffs_data_do_entity()
1913 helper->eps_count++; in __ffs_data_do_entity()
1914 if (helper->eps_count >= 15) in __ffs_data_do_entity()
1917 if (!helper->ffs->eps_count && !helper->ffs->interfaces_count) in __ffs_data_do_entity()
1918 helper->ffs->eps_addrmap[helper->eps_count] = in __ffs_data_do_entity()
1920 else if (helper->ffs->eps_addrmap[helper->eps_count] != in __ffs_data_do_entity()
2115 struct ffs_desc_helper helper; in __ffs_data_got_descs() local
2181 helper.ffs = ffs; in __ffs_data_got_descs()
2185 helper.interfaces_count = 0; in __ffs_data_got_descs()
2186 helper.eps_count = 0; in __ffs_data_got_descs()
2188 __ffs_data_do_entity, &helper); in __ffs_data_got_descs()
2192 ffs->eps_count = helper.eps_count; in __ffs_data_got_descs()
2193 ffs->interfaces_count = helper.interfaces_count; in __ffs_data_got_descs()
2195 if (ffs->eps_count != helper.eps_count) { in __ffs_data_got_descs()
2199 if (ffs->interfaces_count != helper.interfaces_count) { in __ffs_data_got_descs()