Lines Matching defs:device
288 void usb_device_close(struct usb_device *device) in usb_device_close()
296 struct usb_device *device = calloc(1, sizeof(struct usb_device)); in usb_device_new() local
321 static int usb_device_reopen_writeable(struct usb_device *device) in usb_device_reopen_writeable()
337 int usb_device_get_fd(struct usb_device *device) in usb_device_get_fd()
344 const char* usb_device_get_name(struct usb_device *device) in usb_device_get_name()
349 int usb_device_get_unique_id(struct usb_device *device) in usb_device_get_unique_id()
372 uint16_t usb_device_get_vendor_id(struct usb_device *device) in usb_device_get_vendor_id()
378 uint16_t usb_device_get_product_id(struct usb_device *device) in usb_device_get_product_id()
384 const struct usb_device_descriptor* usb_device_get_device_descriptor(struct usb_device *device) in usb_device_get_device_descriptor()
389 char* usb_device_get_string(struct usb_device *device, int id) in usb_device_get_string()
427 char* usb_device_get_manufacturer_name(struct usb_device *device) in usb_device_get_manufacturer_name()
437 char* usb_device_get_product_name(struct usb_device *device) in usb_device_get_product_name()
447 char* usb_device_get_serial(struct usb_device *device) in usb_device_get_serial()
457 int usb_device_is_writeable(struct usb_device *device) in usb_device_is_writeable()
462 void usb_descriptor_iter_init(struct usb_device *device, struct usb_descriptor_iter *iter) in usb_descriptor_iter_init()
479 int usb_device_claim_interface(struct usb_device *device, unsigned int interface) in usb_device_claim_interface()
484 int usb_device_release_interface(struct usb_device *device, unsigned int interface) in usb_device_release_interface()
489 int usb_device_connect_kernel_driver(struct usb_device *device, in usb_device_connect_kernel_driver()
500 int usb_device_control_transfer(struct usb_device *device, in usb_device_control_transfer()
526 int usb_device_bulk_transfer(struct usb_device *device, in usb_device_bulk_transfer()