Home
last modified time | relevance | path

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

/external/kernel-headers/original/linux/usb/
Dch9.h413 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument
415 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
425 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument
427 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
436 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument
438 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
448 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
450 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
460 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
462 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
[all …]
/external/ppp/pppd/
Dlcp.c2130 struct epdisc epd; local
2132 GETCHAR(epd.class, p);
2133 epd.length = olen - CILEN_CHAR;
2134 if (epd.length > MAX_ENDP_LEN)
2135 epd.length = MAX_ENDP_LEN;
2136 if (epd.length > 0) {
2137 BCOPY(p, epd.value, epd.length);
2138 p += epd.length;
2140 printer(arg, "endpoint [%s]", epdisc_to_str(&epd));