/src/sys/external/bsd/dwc2/dist/ |
dwc2_hcdddma.c | 500 * completed, just move QH to inactive schedule until new QTD arrives. 501 * On new QTD, the QH moved back to 'ready' schedule, starting frame and 539 struct dwc2_qtd *qtd, 547 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; 554 dma_desc->buf = (u32)(DMAADDR(qtd->urb->usbdma, frame_desc->offset)); 562 qtd->isoc_frame_index_last++; 566 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) 579 struct dwc2_qtd *qtd; local in function:dwc2_init_isoc_dma_desc 738 struct dwc2_qtd *qtd; local in function:dwc2_init_non_isoc_dma_desc 957 struct dwc2_qtd *qtd, *qtd_tmp; local in function:dwc2_complete_isoc_xfer_ddma 1219 struct dwc2_qtd *qtd = NULL; local in function:dwc2_complete_non_isoc_xfer_ddma 1300 struct dwc2_qtd *qtd, *qtd_tmp; local in function:dwc2_hcd_complete_xfer_ddma [all...] |
dwc2_hcd.c | 139 * -ETIMEDOUT and frees the QTD. 147 struct dwc2_qtd *qtd, *qtd_tmp; local in function:dwc2_kill_urbs_in_qh_list 150 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, 152 dwc2_host_complete(hsotg, qtd, -ECONNRESET); 153 dwc2_hcd_qtd_unlink_and_free(hsotg, qtd, qh); 161 struct dwc2_qtd *qtd, *qtd_tmp; local in function:dwc2_qh_list_free 177 /* Free each QTD in the QH's QTD list */ 178 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, 180 dwc2_hcd_qtd_unlink_and_free(hsotg, qtd, qh) 782 struct dwc2_qtd *qtd; local in function:dwc2_assign_and_init_hc 1959 struct dwc2_qtd *qtd; local in function:dwc2_hcd_dump_state [all...] |
dwc2_hcdintr.c | 106 struct dwc2_qtd *qtd) 116 if (!qtd->urb) 120 if (qtd->urb->status != -EPIPE && qtd->urb->status != -EREMOTEIO) { 433 struct dwc2_qtd *qtd, 449 length = qtd->ssplit_out_xfer_count; 482 struct dwc2_qtd *qtd) 486 int xfer_length = dwc2_get_actual_xfer_length(hsotg, chan, chnum, qtd, 538 * saved in the QH for non-control transfers and it's saved in the QTD for 543 struct dwc2_qtd *qtd) 694 struct dwc2_qtd *qtd; local in function:dwc2_deactivate_qh 2049 struct dwc2_qtd *qtd; local in function:dwc2_hc_n_intr [all...] |
dwc2_hcd.h | 189 struct dwc2_qtd *qtd; member in struct:dwc2_hcd_urb 316 * struct dwc2_qtd - Software queue transfer descriptor (QTD) 320 * @in_process: Indicates if this QTD is currently processed by HW 340 * @n_desc: Number of DMA descriptors for this QTD 343 * @num_naks: Number of NAKs received on this QTD. 345 * @qh: Queue head for this QTD 348 * A Queue Transfer Descriptor (QTD) holds the state of a bulk, control, 349 * interrupt, or isochronous transfer. A single QTD is created for each URB 351 * a QTD may require one or multiple transactions. 353 * A QTD is linked to a Queue Head, which is entered in either th [all...] |
/src/sys/external/bsd/dwc2/ |
dwc2.c | 1069 struct dwc2_qtd *qtd; local in function:dwc2_device_start 1083 qtd = pool_cache_get(sc->sc_qtdpool, PR_NOWAIT); 1084 if (!qtd) { 1088 memset(qtd, 0, sizeof(*qtd)); 1092 retval = dwc2_hcd_urb_enqueue(hsotg, dwc2_urb, qh, qtd); 1110 pool_cache_put(sc->sc_qtdpool, qtd); 1388 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, 1399 if (!qtd) { 1400 dev_dbg(hsotg->dev, "## %s: qtd is NULL ##\n", __func__) [all...] |
/src/sys/dev/usb/ |
ehcivar.h | 38 ehci_qtd_t *qtd; member in struct:ehci_soft_qtd 40 ehci_physaddr_t physaddr; /* qTD's physical address */ 41 usb_dma_t dma; /* qTD's DMA infos */ 42 int offs; /* qTD's offset in usb_dma_t */
|