Home
last modified time | relevance | path

Searched refs:qtd (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/usb/dwc2/
A Dhcd_intr.c110 if (!qtd->urb) in dwc2_hc_handle_tt_clear()
727 if (qtd && qtd->error_count >= 3) { in dwc2_release_channel()
942 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index]; in dwc2_xfercomp_isoc_split_in()
956 memcpy(qtd->urb->buf + (chan->xfer_dma - qtd->urb->dma), in dwc2_xfercomp_isoc_split_in()
972 if (qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_xfercomp_isoc_split_in()
1021 qtd)) in dwc2_hc_xfercomp_intr()
1050 qtd); in dwc2_hc_xfercomp_intr()
1212 if (!qtd) { in dwc2_hc_nak_intr()
1411 qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_hc_nyet_intr()
1798 if (qtd) in dwc2_halt_status_ok()
[all …]
A Dhcd_ddma.c550 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_fill_host_isoc_dma_desc()
569 if (qtd->isoc_frame_index_last == qtd->urb->packet_count) in dwc2_fill_host_isoc_dma_desc()
583 struct dwc2_qtd *qtd; in dwc2_init_isoc_dma_desc() local
771 qtd->n_desc = 0; in dwc2_init_non_isoc_dma_desc()
792 qtd->n_desc++; in dwc2_init_non_isoc_dma_desc()
902 if (!qtd->urb) in dwc2_cmpl_host_isoc_dma_desc()
912 frame_desc = &qtd->urb->iso_descs[qtd->isoc_frame_index_last]; in dwc2_cmpl_host_isoc_dma_desc()
933 if (++qtd->isoc_frame_index == qtd->urb->packet_count) { in dwc2_cmpl_host_isoc_dma_desc()
996 if (qtd->urb) { in dwc2_complete_isoc_xfer_ddma()
1210 qtd); in dwc2_process_non_isoc_desc()
[all …]
A Dhcd.h189 struct dwc2_qtd *qtd; member
574 void dwc2_hcd_qtd_init(struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb);
575 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
580 struct dwc2_qtd *qtd, in dwc2_hcd_qtd_unlink_and_free() argument
583 list_del(&qtd->qtd_list_entry); in dwc2_hcd_qtd_unlink_and_free()
584 kfree(qtd); in dwc2_hcd_qtd_unlink_and_free()
760 struct dwc2_qtd *qtd);
813 void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
A Dhcd.c1900 if (!qtd) in dwc2_hcd_urb_enqueue()
2599 urb = qtd->urb; in dwc2_assign_and_init_hc()
3954 urb = qtd->urb; in dwc2_hcd_dump_state()
3957 qtd, urb); in dwc2_hcd_dump_state()
4148 if (!qtd) { in dwc2_host_complete()
4153 if (!qtd->urb) { in dwc2_host_complete()
4210 kfree(qtd->urb); in dwc2_host_complete()
4211 qtd->urb = NULL; in dwc2_host_complete()
4769 qtd = kzalloc(sizeof(*qtd), mem_flags); in _dwc2_hcd_urb_enqueue()
4770 if (!qtd) { in _dwc2_hcd_urb_enqueue()
[all …]
A Dhcd_queue.c2043 qtd->urb = urb; in dwc2_hcd_qtd_init()
2051 qtd->data_toggle = DWC2_HC_PID_DATA1; in dwc2_hcd_qtd_init()
2052 qtd->control_phase = DWC2_CONTROL_SETUP; in dwc2_hcd_qtd_init()
2056 qtd->complete_split = 0; in dwc2_hcd_qtd_init()
2057 qtd->isoc_split_pos = DWC2_HCSPLT_XACTPOS_ALL; in dwc2_hcd_qtd_init()
2058 qtd->isoc_split_offset = 0; in dwc2_hcd_qtd_init()
2059 qtd->in_process = 0; in dwc2_hcd_qtd_init()
2062 urb->qtd = qtd; in dwc2_hcd_qtd_init()
2078 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, in dwc2_hcd_qtd_add() argument
2093 qtd->qh = qh; in dwc2_hcd_qtd_add()
[all …]
/linux/drivers/usb/isp1760/
A Disp1760-hcd.c805 qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); in last_qtd_of_urb()
881 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
983 if (!qtd) in qtd_alloc()
1011 WARN_ON(qtd->length && !qtd->payload_addr); in start_bus_transfer()
1038 slots[slot].qtd = qtd; in start_bus_transfer()
1051 (qtd->actual_length < qtd->length)); in is_short_bulk()
1160 if ((qtd->length) && (!qtd->payload_addr)) in enqueue_qtds()
1166 qtd->data_buffer, qtd->length); in enqueue_qtds()
1406 qtd = slots[slot].qtd; in handle_done_ptds()
1429 qtd = list_entry(qtd->qtd_list.next, in handle_done_ptds()
[all …]
A Disp1760-hcd.h17 struct isp1760_qtd *qtd; member
/linux/drivers/usb/host/
A Dehci-q.c328 urb = qtd->urb; in qh_completions()
341 if (qtd == end) in qh_completions()
360 qtd, in qh_completions()
377 qtd->length - QTD_LENGTH(token), qtd->length, qh->xacterrs); in qh_completions()
503 last = qtd; in qh_completions()
596 qtd->urb = urb; in qh_urb_transaction()
1041 qtd = NULL; in qh_append_tds()
1080 ehci_qtd_init(ehci, qtd, qtd->qtd_dma); in qh_append_tds()
1190 qtd->urb = urb; in ehci_submit_single_step_set_feature()
1234 qtd_prev = qtd; in ehci_submit_single_step_set_feature()
[all …]
A Dehci-mem.c28 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 Doxu210hp-hcd.c942 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 …]
A Dfotg210-hcd.c123 if (qtd->hw_buf[1]) in dbg_qtd()
1811 memset(qtd, 0, sizeof(*qtd)); in fotg210_qtd_init()
1826 if (qtd != NULL) in fotg210_qtd_alloc()
1829 return qtd; in fotg210_qtd_alloc()
1835 dma_pool_free(fotg210->qtd_pool, qtd, qtd->qtd_dma); in fotg210_qtd_free()
2086 qtd = NULL; in qh_refresh()
2090 if (qtd) in qh_refresh()
2451 last = qtd; in qh_completions()
2548 qtd->urb = urb; in qh_urb_transaction()
2961 qtd = NULL; in qh_append_tds()
[all …]
A Dehci-dbg.c83 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/Documentation/usb/
A Dehci.rst126 pending, usually one qtd per urb. (Look at it with

Completed in 69 milliseconds