Searched refs:qtd (Results 1 – 8 of 8) sorted by relevance
/openbsd/sys/dev/usb/dwc2/ |
H A D | dwc2_hcdintr.c | 115 if (!qtd->urb) in dwc2_hc_handle_tt_clear() 749 if (qtd && qtd->error_count >= 3) { in dwc2_release_channel() 961 if (!qtd->urb) in dwc2_xfercomp_isoc_split_in() 964 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index]; in dwc2_xfercomp_isoc_split_in() 996 if (qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_xfercomp_isoc_split_in() 1045 qtd)) in dwc2_hc_xfercomp_intr() 1074 qtd); in dwc2_hc_xfercomp_intr() 1236 if (!qtd) { in dwc2_hc_nak_intr() 1435 qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_hc_nyet_intr() 1822 if (qtd) in dwc2_halt_status_ok() [all …]
|
H A D | dwc2_hcdddma.c | 560 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_fill_host_isoc_dma_desc() 579 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc() 592 struct dwc2_qtd *qtd; in dwc2_init_isoc_dma_desc() local 777 qtd->n_desc = 0; in dwc2_init_non_isoc_dma_desc() 797 qtd->n_desc++; in dwc2_init_non_isoc_dma_desc() 905 if (!qtd->urb) in dwc2_cmpl_host_isoc_dma_desc() 915 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_cmpl_host_isoc_dma_desc() 936 if (++qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_cmpl_host_isoc_dma_desc() 999 if (qtd->urb) { in dwc2_complete_isoc_xfer_ddma() 1212 qtd); in dwc2_process_non_isoc_desc() [all …]
|
H A D | dwc2_hcd.h | 193 struct dwc2_qtd *qtd; member 586 extern void dwc2_hcd_qtd_init(struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb); 587 extern int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, 592 struct dwc2_qtd *qtd, in dwc2_hcd_qtd_unlink_and_free() argument 597 list_del(&qtd->qtd_list_entry); in dwc2_hcd_qtd_unlink_and_free() 598 pool_put(&sc->sc_qtdpool, qtd); in dwc2_hcd_qtd_unlink_and_free() 777 struct dwc2_qtd *qtd); 830 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, 843 struct dwc2_qtd *qtd);
|
H A D | dwc2_hcd.c | 1945 if (!qtd) in dwc2_hcd_urb_enqueue() 1984 urb_qtd = urb->qtd; in dwc2_hcd_urb_dequeue() 2650 urb = qtd->urb; in dwc2_assign_and_init_hc() 4027 urb = qtd->urb; in dwc2_hcd_dump_state() 4030 qtd, urb); in dwc2_hcd_dump_state() 4215 if (!qtd) { in dwc2_host_complete() 4220 if (!qtd->urb) { in dwc2_host_complete() 4316 qtd->urb = NULL; in dwc2_host_complete() 4906 qtd = kzalloc(sizeof(*qtd), mem_flags); 4907 if (!qtd) { [all …]
|
H A D | dwc2_hcdqueue.c | 2053 qtd->urb = urb; in dwc2_hcd_qtd_init() 2061 qtd->data_toggle = DWC2_HC_PID_DATA1; in dwc2_hcd_qtd_init() 2062 qtd->control_phase = DWC2_CONTROL_SETUP; in dwc2_hcd_qtd_init() 2066 qtd->complete_split = 0; in dwc2_hcd_qtd_init() 2067 qtd->isoc_split_pos = DWC2_HCSPLT_XACTPOS_ALL; in dwc2_hcd_qtd_init() 2068 qtd->isoc_split_offset = 0; in dwc2_hcd_qtd_init() 2069 qtd->in_process = 0; in dwc2_hcd_qtd_init() 2072 urb->qtd = qtd; in dwc2_hcd_qtd_init() 2088 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_hcd_qtd_add() argument 2103 qtd->qh = qh; in dwc2_hcd_qtd_add() [all …]
|
H A D | dwc2.c | 1194 struct dwc2_qtd *qtd; in dwc2_device_start() local 1208 qtd = pool_get(&sc->sc_qtdpool, PR_NOWAIT | PR_ZERO); in dwc2_device_start() 1209 if (!qtd) { in dwc2_device_start() 1216 retval = dwc2_hcd_urb_enqueue(hsotg, dwc2_urb, qh, qtd); in dwc2_device_start() 1237 pool_put(&sc->sc_qtdpool, qtd); in dwc2_device_start()
|
/openbsd/sys/dev/usb/ |
H A D | ehci.c | 1236 sizeof(sqtd->qtd), in ehci_dump_sqtds() 1253 ehci_dump_qtd(&sqtd->qtd); in ehci_dump_sqtd() 1267 s = letoh32(qtd->qtd_status); in ehci_dump_qtd() 2445 cur->qtd.qtd_buffer_hi[i] = 0; in ehci_alloc_sqtd_chain() 2448 cur->qtd.qtd_next = cur->qtd.qtd_altnext = nextphys; in ehci_alloc_sqtd_chain() 2901 end->qtd.qtd_next = in ehci_device_ctrl_start() 2913 setup->qtd.qtd_status = htole32( in ehci_device_ctrl_start() 2920 setup->qtd.qtd_buffer_hi[0] = 0; in ehci_device_ctrl_start() 2922 setup->qtd.qtd_next = setup->qtd.qtd_altnext = htole32(next->physaddr); in ehci_device_ctrl_start() 2927 stat->qtd.qtd_status = htole32( in ehci_device_ctrl_start() [all …]
|
H A D | ehcivar.h | 34 struct ehci_qtd qtd; member
|