Lines Matching refs:libusb_context
129 void usbi_log(struct libusb_context *ctx, enum usbi_log_level level,
132 void usbi_log_v(struct libusb_context *ctx, enum usbi_log_level level,
162 static inline void usbi_info(struct libusb_context *ctx, const char *fmt, ...) in usbi_info()
174 static inline void usbi_warn(struct libusb_context *ctx, const char *fmt, ...) in usbi_warn()
186 static inline void usbi_err(struct libusb_context *ctx, const char *fmt, ...) in usbi_err()
250 extern struct libusb_context *usbi_default_context;
252 struct libusb_context { struct
319 struct libusb_context *ctx; argument
415 int usbi_io_init(struct libusb_context *ctx);
416 void usbi_io_exit(struct libusb_context *ctx);
418 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx,
420 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx,
443 int usbi_add_pollfd(struct libusb_context *ctx, int fd, short events);
444 void usbi_remove_pollfd(struct libusb_context *ctx, int fd);
445 void usbi_fd_notification(struct libusb_context *ctx);
480 int (*init)(struct libusb_context *ctx);
538 int (*get_device_list)(struct libusb_context *ctx,
886 int (*handle_events)(struct libusb_context *ctx,