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()
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() local
198 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 …]
Dusb_handle_request.c362 usb_handle_get_stall(struct usb_device *udev, uint8_t ea_val) in usb_handle_get_stall() argument
367 ep = usbd_get_ep_by_addr(udev, ea_val); in usb_handle_get_stall()
Dusbdi.h510 struct usb_endpoint *usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val);