| /linux/drivers/usb/dwc2/ |
| 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 …]
|
| 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 …]
|
| 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,
|
| 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 …]
|
| A D | hcd_queue.c | 1977 qtd->urb = urb; in dwc2_hcd_qtd_init() 1985 qtd->data_toggle = DWC2_HC_PID_DATA1; in dwc2_hcd_qtd_init() 1986 qtd->control_phase = DWC2_CONTROL_SETUP; in dwc2_hcd_qtd_init() 1990 qtd->complete_split = 0; in dwc2_hcd_qtd_init() 1991 qtd->isoc_split_pos = DWC2_HCSPLT_XACTPOS_ALL; in dwc2_hcd_qtd_init() 1992 qtd->isoc_split_offset = 0; in dwc2_hcd_qtd_init() 1993 qtd->in_process = 0; in dwc2_hcd_qtd_init() 1996 urb->qtd = qtd; in dwc2_hcd_qtd_init() 2012 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_hcd_qtd_add() argument 2027 qtd->qh = qh; in dwc2_hcd_qtd_add() [all …]
|
| /linux/drivers/usb/isp1760/ |
| 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 …]
|
| A D | isp1760-hcd.h | 17 struct isp1760_qtd *qtd; member
|
| /linux/drivers/usb/host/ |
| A D | ehci-q.c | 325 urb = qtd->urb; in qh_completions() 338 if (qtd == end) in qh_completions() 357 qtd, in qh_completions() 374 qtd->length - QTD_LENGTH(token), qtd->length, qh->xacterrs); in qh_completions() 500 last = qtd; in qh_completions() 593 qtd->urb = urb; in qh_urb_transaction() 1038 qtd = NULL; in qh_append_tds() 1077 ehci_qtd_init(ehci, qtd, qtd->qtd_dma); in qh_append_tds() 1187 qtd->urb = urb; in ehci_submit_single_step_set_feature() 1231 qtd_prev = qtd; in ehci_submit_single_step_set_feature() [all …]
|
| 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 …]
|
| A D | oxu210hp-hcd.c | 917 qtd->buffer_dma = virt_to_phys(qtd->buffer); in oxu_buf_alloc() 952 memset(qtd, 0, sizeof *qtd); in ehci_qtd_init() 988 memset(qtd, 0, sizeof *qtd); in ehci_qtd_alloc() 995 qtd->qtd_dma = virt_to_phys(qtd); in ehci_qtd_alloc() 1002 return qtd; in ehci_qtd_alloc() 1267 if (qtd) in qh_refresh() 1507 memcpy(qtd->transfer_buffer, qtd->buffer, qtd->length); in qh_completions() 1517 last = qtd; in qh_completions() 1627 memcpy(qtd->buffer, qtd->urb->setup_packet, in qh_urb_transaction() 1657 memcpy(qtd->buffer, qtd->urb->transfer_buffer, len); in qh_urb_transaction() [all …]
|
| 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 …]
|
| /linux/drivers/usb/fotg210/ |
| A D | fotg210-hcd.c | 122 if (qtd->hw_buf[1]) in dbg_qtd() 1803 memset(qtd, 0, sizeof(*qtd)); in fotg210_qtd_init() 1818 if (qtd != NULL) in fotg210_qtd_alloc() 1821 return qtd; in fotg210_qtd_alloc() 1827 dma_pool_free(fotg210->qtd_pool, qtd, qtd->qtd_dma); in fotg210_qtd_free() 2078 qtd = NULL; in qh_refresh() 2082 if (qtd) in qh_refresh() 2443 last = qtd; in qh_completions() 2540 qtd->urb = urb; in qh_urb_transaction() 2953 qtd = NULL; in qh_append_tds() [all …]
|
| /linux/Documentation/usb/ |
| A D | ehci.rst | 126 pending, usually one qtd per urb. (Look at it with
|