OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dev_handle
(Results
1 - 7
of
7
) sorted by null
/external/libusb/libusb/
sync.c
53
* \param
dev_handle
a handle for the device to communicate with
72
API_EXPORTED int libusb_control_transfer(libusb_device_handle *
dev_handle
,
95
libusb_fill_control_transfer(transfer,
dev_handle
, buffer,
105
r = libusb_handle_events(HANDLE_CTX(
dev_handle
));
111
if (libusb_handle_events(HANDLE_CTX(
dev_handle
)) < 0)
136
usbi_warn(HANDLE_CTX(
dev_handle
),
153
static int do_sync_bulk_transfer(struct libusb_device_handle *
dev_handle
,
164
libusb_fill_bulk_transfer(transfer,
dev_handle
, endpoint, buffer, length,
175
r = libusb_handle_events(HANDLE_CTX(
dev_handle
));
181
if (libusb_handle_events(HANDLE_CTX(
dev_handle
)) < 0
[
all
...]
libusb.h
718
libusb_device_handle *
dev_handle
;
member in struct:libusb_transfer
800
void libusb_close(libusb_device_handle *
dev_handle
);
801
libusb_device *libusb_get_device(libusb_device_handle *
dev_handle
);
916
* \param
dev_handle
handle of the device that will handle the transfer
924
struct libusb_transfer *transfer, libusb_device_handle *
dev_handle
,
929
transfer->
dev_handle
=
dev_handle
;
946
* \param
dev_handle
handle of the device that will handle the transfer
955
libusb_device_handle *
dev_handle
, unsigned char endpoint,
959
transfer->
dev_handle
= dev_handle
[
all
...]
core.c
[
all
...]
libusbi.h
137
#define TRANSFER_CTX(transfer) (HANDLE_CTX((transfer)->
dev_handle
))
io.c
[
all
...]
/external/libusb/libusb/os/
darwin_usb.c
53
static int darwin_claim_interface(struct libusb_device_handle *
dev_handle
, int iface);
54
static int darwin_release_interface(struct libusb_device_handle *
dev_handle
, int iface);
55
static int darwin_reset_device(struct libusb_device_handle *
dev_handle
);
116
static int ep_to_pipeRef(struct libusb_device_handle *
dev_handle
, uint8_t ep, uint8_t *pipep, uint8_t *ifcp) {
117
struct darwin_device_handle_priv *priv = (struct darwin_device_handle_priv *)
dev_handle
->os_priv;
124
usbi_info (HANDLE_CTX(
dev_handle
), "converting ep address 0x%02x to pipeRef and interface", ep);
129
if (
dev_handle
->claimed_interfaces & (1 << iface)) {
134
usbi_info (HANDLE_CTX(
dev_handle
), "pipe %d on interface %d matches", *pipep, *ifcp);
142
usbi_warn (HANDLE_CTX(
dev_handle
), "no pipeRef found with endpoint address 0x%02x.", ep);
577
static int darwin_open (struct libusb_device_handle *
dev_handle
) {
[
all
...]
linux_usbfs.c
1075
static void op_close(struct libusb_device_handle *
dev_handle
)
1077
int fd = __device_handle_priv(
dev_handle
)->fd;
1078
usbi_remove_pollfd(HANDLE_CTX(
dev_handle
), fd);
[
all
...]
Completed in 727 milliseconds