Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/
Dusb_device.c117 usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val) in usbd_get_ep_by_addr() argument
129 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() local
199 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 …]
Dusb_handle_request.c363 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall() argument
368 ep = usbd_get_ep_by_addr(udev, ea_val); in usb_handle_get_stall()
Dusbdi.h511 struct usb_endpoint *usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val);