Lines Matching defs:helper
225 /* Misc helper functions ****************************************************/
2075 struct ffs_desc_helper *helper = priv;
2090 if (*valuep >= helper->interfaces_count)
2091 helper->interfaces_count = *valuep + 1;
2099 if (*valuep > helper->ffs->strings_count)
2100 helper->ffs->strings_count = *valuep;
2105 helper->eps_count++;
2106 if (helper->eps_count >= FFS_MAX_EPS_COUNT)
2109 if (!helper->ffs->eps_count && !helper->ffs->interfaces_count)
2110 helper->ffs->eps_addrmap[helper->eps_count] =
2112 else if (helper->ffs->eps_addrmap[helper->eps_count] !=
2323 struct ffs_desc_helper helper;
2394 helper.ffs = ffs;
2398 helper.interfaces_count = 0;
2399 helper.eps_count = 0;
2401 __ffs_data_do_entity, &helper);
2405 ffs->eps_count = helper.eps_count;
2406 ffs->interfaces_count = helper.interfaces_count;
2408 if (ffs->eps_count != helper.eps_count) {
2412 if (ffs->interfaces_count != helper.interfaces_count) {
3751 /* Misc helper functions ****************************************************/