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()140 if ((ep->edesc->bEndpointAddress & EA_MASK) == ea_val) { in usbd_get_ep_by_addr()149 ((udev->ctrl_ep.edesc->bEndpointAddress & EA_MASK) == ea_val)) { in usbd_get_ep_by_addr()177 uint8_t ea_val; in usbd_get_endpoint() local198 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint()202 ea_val = (udev->flags.usb_mode == USB_MODE_DEVICE) ? in usbd_get_endpoint()207 ea_val = 0; in usbd_get_endpoint()211 ea_val = (setup->direction & (UE_DIR_IN | UE_DIR_OUT)); in usbd_get_endpoint()221 ea_val |= (setup->endpoint & UE_ADDR); in usbd_get_endpoint()[all …]
362 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall() argument367 ep = usbd_get_ep_by_addr(udev, ea_val); in usb_handle_get_stall()
510 struct usb_endpoint *usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val);