• Home
  • Raw
  • Download

Lines Matching refs:done

96     int done = 0;  in find_existing_devices_bus()  local
101 while ((de = readdir(devdir)) && !done) { in find_existing_devices_bus()
105 done = added_cb(devname, client_data); in find_existing_devices_bus()
109 return done; in find_existing_devices_bus()
119 int done = 0; in find_existing_devices() local
124 while ((de = readdir(busdir)) != 0 && !done) { in find_existing_devices()
128 done = find_existing_devices_bus(busname, added_cb, in find_existing_devices()
133 return done; in find_existing_devices()
188 int done = 0; in usb_host_load() local
207 return done; in usb_host_load()
213 done = find_existing_devices(added_cb, client_data); in usb_host_load()
215 done |= discovery_done_cb(client_data); in usb_host_load()
217 return done; in usb_host_load()
225 int i, ret, done = 0; in usb_host_read_event() local
233 done = 0; in usb_host_read_event()
238 done = find_existing_devices(context->cb_added, context->data); in usb_host_read_event()
258 done = find_existing_devices_bus(path, context->cb_added, in usb_host_read_event()
266 for (i = 1; (i < MAX_USBFS_WD_COUNT) && !done; i++) { in usb_host_read_event()
271 done = context->cb_added(path, context->data); in usb_host_read_event()
274 done = context->cb_removed(path, context->data); in usb_host_read_event()
284 return done; in usb_host_read_event()
293 int done; in usb_host_run() local
295 done = usb_host_load(context, added_cb, removed_cb, discovery_done_cb, client_data); in usb_host_run()
297 while (!done) { in usb_host_run()
299 done = usb_host_read_event(context); in usb_host_run()