Searched refs:ea_val (Results 1 – 3 of 3) sorted by relevance
117 usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val) in usbd_get_ep_by_addr() argument129 ea_val &= EA_MASK; in usbd_get_ep_by_addr()141 if ((ep->edesc->bEndpointAddress & EA_MASK) == ea_val) { in usbd_get_ep_by_addr()150 ((udev->ctrl_ep.edesc->bEndpointAddress & EA_MASK) == ea_val)) { in usbd_get_ep_by_addr()178 uint8_t ea_val; in usbd_get_endpoint() local199 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint()203 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint()208 ea_val = 0; in usbd_get_endpoint()212 ea_val = (setup->direction & (UE_DIR_IN | UE_DIR_OUT)); in usbd_get_endpoint()222 ea_val |= (setup->endpoint & UE_ADDR); in usbd_get_endpoint()[all …]
363 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall() argument368 ep = usbd_get_ep_by_addr(udev, ea_val); in usb_handle_get_stall()
511 struct usb_endpoint *usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val);