Home
last modified time | relevance | path

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

/system/core/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.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()
300 void usb_host_run(struct usb_host_context *context, in usb_host_run()
/system/core/toolbox/
Dlsusb.c206 struct usb_host_context *ctx; in lsusb_main()