usb_urb_dir_in(9)
usb_urb_dir_in - check if an URB describes an IN transfer
Synopsis
int usb_urb_dir_in(struct urb *urb);Arguments
urb
- URB to be checked
Return
1 if urb describes an IN transfer (device-to-host), otherwise 0.
Linux Manual Pages › Section 9
usb_urb_dir_in - check if an URB describes an IN transfer
int usb_urb_dir_in(struct urb *urb);urb
1 if urb describes an IN transfer (device-to-host), otherwise 0.