Lines Matching refs:dev_handle

48 haiku_open(struct libusb_device_handle *dev_handle)  in haiku_open()  argument
50 USBDevice *dev = *((USBDevice **)dev_handle->dev->os_priv); in haiku_open()
58 *((USBDeviceHandle **)dev_handle->os_priv) = handle; in haiku_open()
63 haiku_close(struct libusb_device_handle *dev_handle) in haiku_close() argument
65 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv); in haiku_close()
69 *((USBDeviceHandle **)dev_handle->os_priv) = NULL; in haiku_close()
110 haiku_set_configuration(struct libusb_device_handle *dev_handle, int config) in haiku_set_configuration() argument
112 USBDeviceHandle *handle= *((USBDeviceHandle **)dev_handle->os_priv); in haiku_set_configuration()
117 haiku_claim_interface(struct libusb_device_handle *dev_handle, int interface_number) in haiku_claim_interface() argument
119 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv); in haiku_claim_interface()
124 haiku_set_altsetting(struct libusb_device_handle *dev_handle, int interface_number, int altsetting) in haiku_set_altsetting() argument
126 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv); in haiku_set_altsetting()
131 haiku_release_interface(struct libusb_device_handle *dev_handle, int interface_number) in haiku_release_interface() argument
133 USBDeviceHandle *handle = *((USBDeviceHandle **)dev_handle->os_priv); in haiku_release_interface()
134 haiku_set_altsetting(dev_handle,interface_number, 0); in haiku_release_interface()
142 USBDeviceHandle *fDeviceHandle = *((USBDeviceHandle **)fLibusbTransfer->dev_handle->os_priv); in haiku_submit_transfer()
150 USBDeviceHandle *fDeviceHandle = *((USBDeviceHandle **)fLibusbTransfer->dev_handle->os_priv); in haiku_cancel_transfer()