Home
last modified time | relevance | path

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

/openbmc/u-boot/include/linux/usb/
H A Dch9.h451 static inline int usb_endpoint_num(const struct usb_endpoint_descriptor *epd) in usb_endpoint_num() argument
453 return epd->bEndpointAddress & USB_ENDPOINT_NUMBER_MASK; in usb_endpoint_num()
463 static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd) in usb_endpoint_type() argument
465 return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK; in usb_endpoint_type()
474 static inline int usb_endpoint_dir_in(const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_in() argument
476 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN); in usb_endpoint_dir_in()
486 const struct usb_endpoint_descriptor *epd) in usb_endpoint_dir_out() argument
488 return ((epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK) == USB_DIR_OUT); in usb_endpoint_dir_out()
498 const struct usb_endpoint_descriptor *epd) in usb_endpoint_xfer_bulk() argument
500 return ((epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) == in usb_endpoint_xfer_bulk()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rsyslog/librelp/
H A D0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch13 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
27 epolld_t *epd = NULL;
30 - CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
31 + CHKmalloc(epd = calloc(1, sizeof(epolld_t)));
32 epd->typ = typ;
33 epd->ptr = ptr;
34 epd->sock = sock;
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_host.c1922 struct usb_endpoint_descriptor *epd = &hep->desc; local
1968 qh->maxpacket = usb_endpoint_maxp(epd);
1969 qh->type = usb_endpoint_type(epd);
1989 qh->epnum = usb_endpoint_num(epd);
2016 interval = max_t(u8, epd->bInterval, 1);
2022 interval = min_t(u8, epd->bInterval, 16);
2096 epd->bEndpointAddress & USB_ENDPOINT_DIR_MASK);