Lines Matching defs:helper
258 /* Misc helper functions ****************************************************/
2236 struct ffs_desc_helper *helper = priv;
2251 if (*valuep >= helper->interfaces_count)
2252 helper->interfaces_count = *valuep + 1;
2260 if (*valuep > helper->ffs->strings_count)
2261 helper->ffs->strings_count = *valuep;
2266 helper->eps_count++;
2267 if (helper->eps_count >= FFS_MAX_EPS_COUNT)
2270 if (!helper->ffs->eps_count && !helper->ffs->interfaces_count)
2271 helper->ffs->eps_addrmap[helper->eps_count] =
2273 else if (helper->ffs->eps_addrmap[helper->eps_count] !=
2484 struct ffs_desc_helper helper;
2555 helper.ffs = ffs;
2559 helper.interfaces_count = 0;
2560 helper.eps_count = 0;
2562 __ffs_data_do_entity, &helper);
2566 ffs->eps_count = helper.eps_count;
2567 ffs->interfaces_count = helper.interfaces_count;
2569 if (ffs->eps_count != helper.eps_count) {
2573 if (ffs->interfaces_count != helper.interfaces_count) {
3859 /* Misc helper functions ****************************************************/