Lines Matching defs:helper
225 /* Misc helper functions ****************************************************/
2077 struct ffs_desc_helper *helper = priv;
2092 if (*valuep >= helper->interfaces_count)
2093 helper->interfaces_count = *valuep + 1;
2101 if (*valuep > helper->ffs->strings_count)
2102 helper->ffs->strings_count = *valuep;
2107 helper->eps_count++;
2108 if (helper->eps_count >= FFS_MAX_EPS_COUNT)
2111 if (!helper->ffs->eps_count && !helper->ffs->interfaces_count)
2112 helper->ffs->eps_addrmap[helper->eps_count] =
2114 else if (helper->ffs->eps_addrmap[helper->eps_count] !=
2325 struct ffs_desc_helper helper;
2396 helper.ffs = ffs;
2400 helper.interfaces_count = 0;
2401 helper.eps_count = 0;
2403 __ffs_data_do_entity, &helper);
2407 ffs->eps_count = helper.eps_count;
2408 ffs->interfaces_count = helper.interfaces_count;
2410 if (ffs->eps_count != helper.eps_count) {
2414 if (ffs->interfaces_count != helper.interfaces_count) {
3753 /* Misc helper functions ****************************************************/