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.h34 struct usb_host_context;
71 struct usb_host_context *usb_host_init(void);
74 void usb_host_cleanup(struct usb_host_context *context);
77 int usb_host_get_fd(struct usb_host_context *context);
80 int usb_host_load(struct usb_host_context *context,
87 int usb_host_read_event(struct usb_host_context *context);
98 void usb_host_run(struct usb_host_context *context,
/system/core/libusbhost/
Dusbhost.c65 struct usb_host_context { struct
138 static void watch_existing_subdirs(struct usb_host_context *context, in watch_existing_subdirs()
157 struct usb_host_context *usb_host_init() in usb_host_init()
159 struct usb_host_context *context = calloc(1, sizeof(struct usb_host_context)); in usb_host_init()
173 void usb_host_cleanup(struct usb_host_context *context) in usb_host_cleanup()
179 int usb_host_get_fd(struct usb_host_context *context) in usb_host_get_fd()
184 int usb_host_load(struct usb_host_context *context, in usb_host_load()
223 int usb_host_read_event(struct usb_host_context *context) in usb_host_read_event()
301 void usb_host_run(struct usb_host_context *context, in usb_host_run()