Home
last modified time | relevance | path

Searched refs:usb_ep_get (Results 1 – 19 of 19) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dcore.c736 struct USBEndpoint *usb_ep_get(USBDevice *dev, int pid, int ep) in usb_ep_get() function
752 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_get_type()
758 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_type()
764 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_ifnum()
771 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_max_packet_size()
791 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_max_streams()
804 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_set_halted()
811 struct USBEndpoint *uep = usb_ep_get(dev, pid, ep); in usb_ep_find_packet_by_id()
H A Du2f.c301 key->ep = usb_ep_get(dev, USB_TOKEN_IN, 1); in u2f_key_realize()
H A Dcanokey.c110 usb_wakeup(usb_ep_get(&key->dev, USB_TOKEN_IN, ep_in), 0); in canokey_emu_transmit()
H A Ddev-wacom.c414 s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1); in usb_wacom_realize()
H A Dhcd-dwc2.c510 ep = usb_ep_get(dev, p->pid, p->epnum); in dwc2_async_packet_complete()
590 ep = usb_ep_get(dev, p->pid, p->epnum); in dwc2_work_bh()
644 ep = usb_ep_get(dev, pid, epnum); in dwc2_enable_chan()
H A Ddev-network.c1376 s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1); in usb_net_realize()
1377 s->bulk_in = usb_ep_get(dev, USB_TOKEN_IN, 2); in usb_net_realize()
H A Ddev-serial.c614 s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1); in usb_serial_realize()
H A Ddev-hid.c721 us->intr = usb_ep_get(dev, USB_TOKEN_IN, 1); in usb_hid_initfn()
H A Ddev-smartcard-reader.c1324 s->intr = usb_ep_get(dev, USB_TOKEN_IN, CCID_INT_IN_EP); in ccid_realize()
1325 s->bulk = usb_ep_get(dev, USB_TOKEN_IN, CCID_BULK_IN_EP); in ccid_realize()
H A Ddev-hub.c612 s->intr = usb_ep_get(dev, USB_TOKEN_IN, 1); in usb_hub_realize()
H A Dhcd-ehci.c570 usb_device_ep_stopped(q->dev, usb_ep_get(q->dev, q->last_pid, endp)); in ehci_queue_stopped()
1368 ep = usb_ep_get(p->queue->dev, p->pid, endp); in ehci_execute()
1457 ep = usb_ep_get(dev, pid, endp); in ehci_process_itd()
H A Dhcd-ohci.c741 ep = usb_ep_get(dev, pid, OHCI_BM(ed->flags, ED_EN)); in ohci_service_iso_td()
985 ep = usb_ep_get(dev, pid, OHCI_BM(ed->flags, ED_EN)); in ohci_service_td()
H A Ddev-uas.c399 USBEndpoint *ep = usb_ep_get(&uas->dev, USB_TOKEN_IN, in usb_uas_queue_status()
H A Dxen-usb.c241 ep = usb_ep_get(dev, pid, ep_nr); in usbback_init_packet()
H A Dhcd-uhci.c819 ep = usb_ep_get(dev, pid, (td->token >> 15) & 0xf); in uhci_handle_td()
H A Dredirect.c60 #define I2USBEP(d, i) (usb_ep_get(&(d)->dev, \
2126 usb_wakeup(usb_ep_get(&dev->dev, USB_TOKEN_IN, ep & 0x0f), 0); in usbredir_interrupt_packet()
H A Dhcd-musb.c634 uep = usb_ep_get(dev, pid, ep->type[idx] & 0xf); in musb_packet()
H A Dhcd-xhci.c2167 usb_ep_get(dev, USB_TOKEN_OUT, 0), 0, in xhci_address_slot()
3292 return usb_ep_get(uport->dev, token, epctx->epid >> 1); in xhci_epid_to_usbep()
/openbmc/qemu/include/hw/
H A Dusb.h445 struct USBEndpoint *usb_ep_get(USBDevice *dev, int pid, int ep);