Lines Matching refs:itr
260 unsigned itr; in uwb_est_register() local
272 for (itr = 0; itr < uwb_est_used; itr++) in uwb_est_register()
273 if (uwb_est[itr].type_event_high < type in uwb_est_register()
274 && uwb_est[itr].vendor < vendor in uwb_est_register()
275 && uwb_est[itr].product < product) in uwb_est_register()
279 if (itr < uwb_est_used) in uwb_est_register()
280 memmove(&uwb_est[itr+1], &uwb_est[itr], uwb_est_used - itr); in uwb_est_register()
281 uwb_est[itr].type_event_high = type << 8 | event_high; in uwb_est_register()
282 uwb_est[itr].vendor = vendor; in uwb_est_register()
283 uwb_est[itr].product = product; in uwb_est_register()
284 uwb_est[itr].entry = entry; in uwb_est_register()
285 uwb_est[itr].entries = entries; in uwb_est_register()
311 unsigned itr; in uwb_est_unregister() local
320 for (itr = 0; itr < uwb_est_used; itr++) in uwb_est_unregister()
321 if (!memcmp(&uwb_est[itr], &est_cmp, sizeof(est_cmp))) in uwb_est_unregister()
327 if (itr < uwb_est_used - 1) /* Not last one? move ones above */ in uwb_est_unregister()
328 memmove(&uwb_est[itr], &uwb_est[itr+1], uwb_est_used - itr - 1); in uwb_est_unregister()
437 unsigned itr; in uwb_est_find_size() local
447 for (itr = 0; itr < uwb_est_used; itr++) { in uwb_est_find_size()
448 if (uwb_est[itr].type_event_high != type_event_high) in uwb_est_find_size()
450 size = uwb_est_get_size(rc, &uwb_est[itr], in uwb_est_find_size()