Home
last modified time | relevance | path

Searched refs:client_data (Results 1 – 3 of 3) sorted by relevance

/system/core/include/usbhost/
Dusbhost.h51 void *client_data; /* free for use by client */ member
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);
83 void *client_data);
101 void *client_data);
/system/core/libusbhost/
Dusbhost.c93 void *client_data) in find_existing_devices_bus() argument
107 done = added_cb(devname, client_data); in find_existing_devices_bus()
116 void *client_data) in find_existing_devices() argument
131 client_data); in find_existing_devices()
188 void *client_data) in usb_host_load() argument
195 context->data = client_data; in usb_host_load()
209 discovery_done_cb(client_data); in usb_host_load()
216 done = find_existing_devices(added_cb, client_data); in usb_host_load()
218 done |= discovery_done_cb(client_data); in usb_host_load()
304 void *client_data) in usb_host_run() argument
[all …]
/system/core/toolbox/
Dlsusb.c148 static int lsusb_device_added(const char *dev_name, void *client_data) in lsusb_device_added() argument
191 static int lsusb_device_removed(const char *dev_name, void *client_data) in lsusb_device_removed() argument
197 static int lsusb_discovery_done(void *client_data) in lsusb_discovery_done() argument