Searched refs:epd (Results 1 – 3 of 3) sorted by relevance
456 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument458 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()468 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument470 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()479 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument481 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()491 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument493 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()503 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument505 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()[all …]
2152 struct epdisc epd; local2154 GETCHAR(epd.class, p);2155 epd.length = olen - CILEN_CHAR;2156 if (epd.length > MAX_ENDP_LEN)2157 epd.length = MAX_ENDP_LEN;2158 if (epd.length > 0) {2159 BCOPY(p, epd.value, epd.length);2160 p += epd.length;2162 printer(arg, "endpoint [%s]", epdisc_to_str(&epd));
71 `Enthought Python Distribution <https://www.enthought.com/products/epd/>`_