Home
last modified time | relevance | path

Searched refs:usb_host_context (Results 1 – 2 of 2) sorted by relevance

/system/core/libusbhost/include/usbhost/
Dusbhost.h33 struct usb_host_context;
70 struct usb_host_context *usb_host_init(void);
73 void usb_host_cleanup(struct usb_host_context *context);
76 int usb_host_get_fd(struct usb_host_context *context);
79 int usb_host_load(struct usb_host_context *context,
86 int usb_host_read_event(struct usb_host_context *context);
97 void usb_host_run(struct usb_host_context *context,
/system/core/libusbhost/
Dusbhost.c69 struct usb_host_context { struct
144 static void watch_existing_subdirs(struct usb_host_context *context, in watch_existing_subdirs()
163 struct usb_host_context *usb_host_init() in usb_host_init()
165 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); in usb_host_init()
179 void usb_host_cleanup(struct usb_host_context *context) in usb_host_cleanup()
185 int usb_host_get_fd(struct usb_host_context *context) in usb_host_get_fd()
190 int usb_host_load(struct usb_host_context *context, in usb_host_load()
229 int usb_host_read_event(struct usb_host_context *context) in usb_host_read_event()
307 void usb_host_run(struct usb_host_context *context, in usb_host_run()