Lines Matching refs:libusb_context
43 struct libusb_context *usbi_default_context = NULL;
499 struct libusb_device *usbi_alloc_device(struct libusb_context *ctx,
554 struct libusb_device *usbi_get_device_by_session_id(struct libusb_context *ctx,
591 API_EXPORTED ssize_t libusb_get_device_list(libusb_context *ctx,
859 struct libusb_context *ctx = DEVICE_CTX(dev);
949 libusb_context *ctx, uint16_t vendor_id, uint16_t product_id)
983 static void do_close(struct libusb_context *ctx,
1008 struct libusb_context *ctx;
1441 API_EXPORTED void libusb_set_debug(libusb_context *ctx, int level)
1455 API_EXPORTED int libusb_init(libusb_context **context)
1458 struct libusb_context *ctx = malloc(sizeof(*ctx));
1512 API_EXPORTED void libusb_exit(struct libusb_context *ctx)
1536 void usbi_log(struct libusb_context *ctx, enum usbi_log_level level,