/u-boot/drivers/usb/musb-new/ |
H A D | musb_host.c | 173 static void musb_ep_set_qh(struct musb_hw_ep *ep, int is_in, struct musb_qh *qh) argument 176 ep->in_qh = qh; 178 ep->out_qh = qh; 193 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) argument 198 struct urb *urb = next_urb(qh); 201 struct musb_hw_ep *hw_ep = qh->hw_ep; 206 /* initialize software qh state */ 207 qh->offset = 0; 208 qh->segsize = 0; 211 switch (qh 318 musb_save_toggle(struct musb_qh *qh, int is_in, struct urb *urb) argument 347 struct musb_qh *qh = musb_ep_get_qh(hw_ep, is_in); local 464 struct musb_qh *qh = hw_ep->in_qh; local 559 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) argument 621 musb_tx_dma_program(struct dma_controller *dma, struct musb_hw_ep *hw_ep, struct musb_qh *qh, struct urb *urb, u32 offset, u32 length) argument 697 struct musb_qh *qh = musb_ep_get_qh(hw_ep, !is_out); local 899 struct musb_qh *qh = hw_ep->in_qh; local 977 struct musb_qh *qh = hw_ep->in_qh; local 1116 struct musb_qh *qh = hw_ep->out_qh; local 1441 struct musb_qh *qh = hw_ep->in_qh; local 1787 musb_schedule( struct musb *musb, struct musb_qh *qh, int is_in) argument 1926 struct musb_qh *qh; local 2126 musb_cleanup_urb(struct urb *urb, struct musb_qh *qh) argument 2194 struct musb_qh *qh; local 2257 struct musb_qh *qh; local [all...] |
H A D | musb_host.h | 34 u8 mux; /* qh multiplexed to hw_ep */ 54 /* map from control or bulk queue head to the first qh on that ring */ 74 static inline struct urb *next_urb(struct musb_qh *qh) argument 78 if (!qh) 80 queue = &qh->hep->urb_list;
|
/u-boot/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 38 typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh, 719 struct isp1760_qh *qh; local 721 qh = kmem_cache_alloc(qh_cachep, flags); 722 if (!qh) 725 memset(qh, '\0', qh_cachep->sz); 726 INIT_LIST_HEAD(&qh->qh_list); 727 INIT_LIST_HEAD(&qh->qtd_list); 728 qh->slot = -1; 730 return qh; 733 static void qh_free(struct isp1760_qh *qh) argument 852 last_qtd_of_urb(struct isp1760_qtd *qtd, struct isp1760_qh *qh) argument 873 create_ptd_atl(struct isp1760_qh *qh, struct isp1760_qtd *qtd, struct ptd *ptd) argument 958 transform_add_int(struct isp1760_qh *qh, struct isp1760_qtd *qtd, struct ptd *ptd) argument 1013 create_ptd_int(struct isp1760_qh *qh, struct isp1760_qtd *qtd, struct ptd *ptd) argument 1062 start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, struct isp1760_slotinfo *slots, struct isp1760_qtd *qtd, struct isp1760_qh *qh, struct ptd *ptd) argument 1115 collect_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh, struct list_head *urb_list) argument 1179 enqueue_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh) argument 1255 struct isp1760_qh *qh, *qh_next; local 1404 struct isp1760_qh *qh; local 1846 struct isp1760_qh *qh = NULL; local 1915 kill_transfer(struct usb_hcd *hcd, struct urb *urb, struct isp1760_qh *qh) argument 1953 dequeue_urb_from_qtd(struct usb_hcd *hcd, struct isp1760_qh *qh, struct isp1760_qtd *qtd) argument 1980 struct isp1760_qh *qh; local 2464 struct isp1760_qh *qh, *qh_next; local [all...] |
H A D | isp1760-hcd.h | 15 struct isp1760_qh *qh; member in struct:isp1760_slotinfo
|
/u-boot/drivers/usb/host/ |
H A D | ehci-hcd.c | 286 struct QH *qh) 296 qh->qh_endpt2 |= cpu_to_hc32(QH_ENDPT2_PORTNUM(portnr) | 371 ALLOC_ALIGN_BUFFER(struct QH, qh, 1, USB_DMA_MINALIGN); 458 memset(qh, 0, sizeof(struct QH)); 473 qh->qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); 488 qh->qh_endpt1 = cpu_to_hc32(endpt); 490 qh->qh_endpt2 = cpu_to_hc32(endpt); 491 ehci_update_endpt2_dev_n_port(dev, qh); 492 qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); 493 qh 285 ehci_update_endpt2_dev_n_port(struct usb_device *udev, struct QH *qh) argument 1351 struct QH *qh = result->first + i; local [all...] |