/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd_intr.c | 80 if (!qtd->urb) in dwc2_hc_handle_tt_clear() 697 if (qtd && qtd->error_count >= 3) { in dwc2_release_channel() 912 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index]; in dwc2_xfercomp_isoc_split_in() 926 memcpy(qtd->urb->buf + (chan->xfer_dma - qtd->urb->dma), in dwc2_xfercomp_isoc_split_in() 942 if (qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_xfercomp_isoc_split_in() 991 qtd)) in dwc2_hc_xfercomp_intr() 1020 qtd); in dwc2_hc_xfercomp_intr() 1182 if (!qtd) { in dwc2_hc_nak_intr() 1381 qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_hc_nyet_intr() 1768 if (qtd) in dwc2_halt_status_ok() [all …]
|
H A D | hcd_ddma.c | 520 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_fill_host_isoc_dma_desc() 539 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc() 553 struct dwc2_qtd *qtd; in dwc2_init_isoc_dma_desc() local 607 qtd->in_process = 1; in dwc2_init_isoc_dma_desc() 741 qtd->n_desc = 0; in dwc2_init_non_isoc_dma_desc() 762 qtd->n_desc++; in dwc2_init_non_isoc_dma_desc() 874 if (!qtd->urb) in dwc2_cmpl_host_isoc_dma_desc() 973 if (qtd->urb) { in dwc2_complete_isoc_xfer_ddma() 1187 qtd); in dwc2_process_non_isoc_desc() 1227 qtd = NULL; in dwc2_complete_non_isoc_xfer_ddma() [all …]
|
H A D | hcd.h | 160 struct dwc2_qtd *qtd; member 545 void dwc2_hcd_qtd_init(struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb); 546 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, 551 struct dwc2_qtd *qtd, in dwc2_hcd_qtd_unlink_and_free() argument 554 list_del(&qtd->qtd_list_entry); in dwc2_hcd_qtd_unlink_and_free() 555 kfree(qtd); in dwc2_hcd_qtd_unlink_and_free() 731 struct dwc2_qtd *qtd); 784 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
|
H A D | hcd.c | 1871 if (!qtd) in dwc2_hcd_urb_enqueue() 2570 urb = qtd->urb; in dwc2_assign_and_init_hc() 3931 urb = qtd->urb; in dwc2_hcd_dump_state() 3934 qtd, urb); in dwc2_hcd_dump_state() 4125 if (!qtd) { in dwc2_host_complete() 4130 if (!qtd->urb) { in dwc2_host_complete() 4189 kfree(qtd->urb); in dwc2_host_complete() 4190 qtd->urb = NULL; in dwc2_host_complete() 4749 qtd = kzalloc(sizeof(*qtd), mem_flags); in _dwc2_hcd_urb_enqueue() 4750 if (!qtd) { in _dwc2_hcd_urb_enqueue() [all …]
|
H A D | hcd_queue.c | 2013 qtd->urb = urb; in dwc2_hcd_qtd_init() 2021 qtd->data_toggle = DWC2_HC_PID_DATA1; in dwc2_hcd_qtd_init() 2022 qtd->control_phase = DWC2_CONTROL_SETUP; in dwc2_hcd_qtd_init() 2026 qtd->complete_split = 0; in dwc2_hcd_qtd_init() 2027 qtd->isoc_split_pos = DWC2_HCSPLT_XACTPOS_ALL; in dwc2_hcd_qtd_init() 2028 qtd->isoc_split_offset = 0; in dwc2_hcd_qtd_init() 2029 qtd->in_process = 0; in dwc2_hcd_qtd_init() 2032 urb->qtd = qtd; in dwc2_hcd_qtd_init() 2048 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_hcd_qtd_add() argument 2063 qtd->qh = qh; in dwc2_hcd_qtd_add() [all …]
|
/openbmc/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 805 qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); in last_qtd_of_urb() 880 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl() 982 if (!qtd) in qtd_alloc() 1010 WARN_ON(qtd->length && !qtd->payload_addr); in start_bus_transfer() 1037 slots[slot].qtd = qtd; in start_bus_transfer() 1050 (qtd->actual_length < qtd->length)); in is_short_bulk() 1159 if ((qtd->length) && (!qtd->payload_addr)) in enqueue_qtds() 1165 qtd->data_buffer, qtd->length); in enqueue_qtds() 1405 qtd = slots[slot].qtd; in handle_done_ptds() 1428 qtd = list_entry(qtd->qtd_list.next, in handle_done_ptds() [all …]
|
H A D | isp1760-hcd.h | 17 struct isp1760_qtd *qtd; member
|
/openbmc/linux/drivers/usb/host/ |
H A D | ehci-q.c | 329 urb = qtd->urb; in qh_completions() 342 if (qtd == end) in qh_completions() 361 qtd, in qh_completions() 378 qtd->length - QTD_LENGTH(token), qtd->length, qh->xacterrs); in qh_completions() 504 last = qtd; in qh_completions() 597 qtd->urb = urb; in qh_urb_transaction() 1042 qtd = NULL; in qh_append_tds() 1081 ehci_qtd_init(ehci, qtd, qtd->qtd_dma); in qh_append_tds() 1191 qtd->urb = urb; in ehci_submit_single_step_set_feature() 1235 qtd_prev = qtd; in ehci_submit_single_step_set_feature() [all …]
|
H A D | ehci-mem.c | 28 memset (qtd, 0, sizeof *qtd); in ehci_qtd_init() 29 qtd->qtd_dma = dma; in ehci_qtd_init() 30 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); in ehci_qtd_init() 31 qtd->hw_next = EHCI_LIST_END(ehci); in ehci_qtd_init() 32 qtd->hw_alt_next = EHCI_LIST_END(ehci); in ehci_qtd_init() 33 INIT_LIST_HEAD (&qtd->qtd_list); in ehci_qtd_init() 38 struct ehci_qtd *qtd; in ehci_qtd_alloc() local 42 if (qtd != NULL) { in ehci_qtd_alloc() 43 ehci_qtd_init(ehci, qtd, dma); in ehci_qtd_alloc() 45 return qtd; in ehci_qtd_alloc() [all …]
|
H A D | oxu210hp-hcd.c | 942 qtd->buffer_dma = virt_to_phys(qtd->buffer); in oxu_buf_alloc() 977 memset(qtd, 0, sizeof *qtd); in ehci_qtd_init() 1013 memset(qtd, 0, sizeof *qtd); in ehci_qtd_alloc() 1020 qtd->qtd_dma = virt_to_phys(qtd); in ehci_qtd_alloc() 1027 return qtd; in ehci_qtd_alloc() 1292 if (qtd) in qh_refresh() 1532 memcpy(qtd->transfer_buffer, qtd->buffer, qtd->length); in qh_completions() 1542 last = qtd; in qh_completions() 1652 memcpy(qtd->buffer, qtd->urb->setup_packet, in qh_urb_transaction() 1682 memcpy(qtd->buffer, qtd->urb->transfer_buffer, len); in qh_urb_transaction() [all …]
|
H A D | ehci-dbg.c | 83 hc32_to_cpup(ehci, &qtd->hw_next), in dbg_qtd() 84 hc32_to_cpup(ehci, &qtd->hw_alt_next), in dbg_qtd() 85 hc32_to_cpup(ehci, &qtd->hw_token), in dbg_qtd() 86 hc32_to_cpup(ehci, &qtd->hw_buf[0])); in dbg_qtd() 87 if (qtd->hw_buf[1]) in dbg_qtd() 89 hc32_to_cpup(ehci, &qtd->hw_buf[1]), in dbg_qtd() 90 hc32_to_cpup(ehci, &qtd->hw_buf[2]), in dbg_qtd() 91 hc32_to_cpup(ehci, &qtd->hw_buf[3]), in dbg_qtd() 92 hc32_to_cpup(ehci, &qtd->hw_buf[4])); in dbg_qtd() 597 struct ehci_qtd *qtd; in output_buf_tds_dir() local [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ehci.c | 322 trace_usb_ehci_qtd_ptrs(q, addr, qtd->next, qtd->altnext); in ehci_trace_qtd() 452 (p->qtd.next != qtd->next)) || in ehci_verify_qtd() 453 (!NLPTR_TBIT(p->qtd.altnext) && (p->qtd.altnext != qtd->altnext)) || in ehci_verify_qtd() 454 p->qtd.token != qtd->token || in ehci_verify_qtd() 455 p->qtd.bufptr[0] != qtd->bufptr[0]) { in ehci_verify_qtd() 480 EHCIqtd qtd; in ehci_writeback_async_complete_packet() local 1798 EHCIqtd qtd; in ehci_state_fetchqtd() local 1825 p->qtd = qtd; in ehci_state_fetchqtd() 1856 p->qtd = qtd; in ehci_state_fetchqtd() 1883 EHCIqtd qtd = p->qtd; in ehci_fill_queue() local [all …]
|
H A D | hcd-ehci.h | 223 EHCIqtd qtd; /* copy of current QTD (being worked on) */ member
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 122 if (qtd->hw_buf[1]) in dbg_qtd() 1807 memset(qtd, 0, sizeof(*qtd)); in fotg210_qtd_init() 1822 if (qtd != NULL) in fotg210_qtd_alloc() 1825 return qtd; in fotg210_qtd_alloc() 1831 dma_pool_free(fotg210->qtd_pool, qtd, qtd->qtd_dma); in fotg210_qtd_free() 2082 qtd = NULL; in qh_refresh() 2086 if (qtd) in qh_refresh() 2447 last = qtd; in qh_completions() 2544 qtd->urb = urb; in qh_urb_transaction() 2957 qtd = NULL; in qh_append_tds() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-hcd.c | 304 struct qTD *qtd; in ehci_submit_async() local 386 if (qtd == NULL) { in ehci_submit_async() 392 memset(qtd, 0, qtd_count * sizeof(*qtd)); in ehci_submit_async() 452 tdp = &qtd[qtd_counter++].qt_next; in ehci_submit_async() 492 qtd[qtd_counter].qt_next = in ehci_submit_async() 494 qtd[qtd_counter].qt_altnext = in ehci_submit_async() 511 tdp = &qtd[qtd_counter++].qt_next; in ehci_submit_async() 542 tdp = &qtd[qtd_counter++].qt_next; in ehci_submit_async() 574 vtd = &qtd[qtd_counter - 1]; in ehci_submit_async() 659 free(qtd); in ehci_submit_async() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | ci_udc.c | 433 struct ept_queue_item *dtd, *qtd; in ci_ep_submit_next_request() local 467 qtd = (struct ept_queue_item *) in ci_ep_submit_next_request() 469 dtd->next = (unsigned long)qtd; in ci_ep_submit_next_request() 470 dtd = qtd; in ci_ep_submit_next_request()
|
/openbmc/linux/Documentation/usb/ |
H A D | ehci.rst | 126 pending, usually one qtd per urb. (Look at it with
|