Home
last modified time | relevance | path

Searched refs:direction_in (Results 1 – 2 of 2) sorted by relevance

/external/libusb/libusb/os/
Dwince_usb.c570 BOOL direction_in, ret; in wince_submit_control_or_bulk_transfer() local
580 direction_in = setup->bmRequestType & LIBUSB_ENDPOINT_IN; in wince_submit_control_or_bulk_transfer()
582 direction_in = transfer->endpoint & LIBUSB_ENDPOINT_IN; in wince_submit_control_or_bulk_transfer()
584 flags = direction_in ? UKW_TF_IN_TRANSFER : UKW_TF_OUT_TRANSFER; in wince_submit_control_or_bulk_transfer()
593 …wfd = usbi_create_fd(eventHandle, direction_in ? RW_READ : RW_WRITE, itransfer, &wince_cancel_tran… in wince_submit_control_or_bulk_transfer()
618 usbi_add_pollfd(ctx, transfer_priv->pollable_fd.fd, direction_in ? POLLIN : POLLOUT); in wince_submit_control_or_bulk_transfer()
Dwindows_winusb.c3818 bool direction_in, ret; in hid_submit_bulk_transfer() local
3838 direction_in = transfer->endpoint & LIBUSB_ENDPOINT_IN; in hid_submit_bulk_transfer()
3840 wfd = usbi_create_fd(hid_handle, direction_in?RW_READ:RW_WRITE, NULL, NULL); in hid_submit_bulk_transfer()
3846 if (((direction_in) && (!priv->hid->uses_report_ids[0])) in hid_submit_bulk_transfer()
3847 || ((!direction_in) && (!priv->hid->uses_report_ids[1]))) in hid_submit_bulk_transfer()
3859 if (direction_in) { in hid_submit_bulk_transfer()
3884 if (!direction_in) in hid_submit_bulk_transfer()