Searched defs:client_data (Results 1 - 3 of 3) sorted by relevance

/system/core/include/usbhost/
H A Dusbhost.h51 void *client_data; /* free for use by client */ member in struct:usb_request
57 typedef int (* usb_device_added_cb)(const char *dev_name, void *client_data);
62 typedef int (* usb_device_removed_cb)(const char *dev_name, void *client_data);
67 typedef int (* usb_discovery_done_cb)(void *client_data);
88 void *client_data);
/system/core/toolbox/
H A Dlsusb.c148 static int lsusb_device_added(const char *dev_name, void *client_data) argument
191 static int lsusb_device_removed(const char *dev_name, void *client_data) argument
197 static int lsusb_discovery_done(void *client_data) argument
/system/core/libusbhost/
H A Dusbhost.c83 void *client_data)
104 done = added_cb(devname, client_data);
139 void *client_data)
157 discovery_done_cb(client_data);
170 done = find_existing_devices(added_cb, removed_cb, client_data);
172 done |= discovery_done_cb(client_data);
194 done = added_cb(path, client_data);
197 done = removed_cb(path, client_data);
81 find_existing_devices(usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, void *client_data) argument
135 usb_host_run(struct usb_host_context *context, usb_device_added_cb added_cb, usb_device_removed_cb removed_cb, usb_discovery_done_cb discovery_done_cb, void *client_data) argument

Completed in 85 milliseconds