Home | History | Annotate | Download | only in dist

Lines Matching defs:qtd

139  * -ETIMEDOUT and frees the QTD.
147 struct dwc2_qtd *qtd, *qtd_tmp;
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;
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);
192 * and periodic schedules. The QTD associated with each URB is removed from
405 * The disconnect will clear the QTD lists (via ..._hcd_urb_dequeue)
420 struct dwc2_qtd *qtd)
448 if (!qtd)
451 memset(qtd, 0, sizeof(*qtd));
453 dwc2_hcd_qtd_init(qtd, urb);
454 retval = dwc2_hcd_qtd_add(hsotg, qtd, qh);
457 "DWC OTG HCD URB Enqueue failed adding QTD. Error status %d\n",
466 if (qtd->qh->ep_type == USB_ENDPOINT_XFER_BULK &&
467 !(qtd->urb->flags & URB_GIVEBACK_ASAP))
469 * Do not schedule SG transactions until qtd has
490 urb_qtd = urb->qtd;
492 dev_dbg(hsotg->dev, "## Urb QTD is NULL ##\n");
498 dev_dbg(hsotg->dev, "## Urb QTD QH is NULL ##\n");
508 /* The QTD is in process (it has been assigned to a channel) */
522 * Free the QTD and clean up the associated QH. Leave the QH in the
587 struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb)
592 chan->xact_pos = qtd->isoc_split_pos;
593 chan->complete_split = qtd->complete_split;
601 struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb)
619 struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb)
628 switch (qtd->control_phase) {
643 chan->data_pid_start = qtd->data_toggle;
644 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb);
672 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb);
677 bufptr = dwc2_hc_init_xfer_data(hsotg, chan, qtd, urb);
685 frame_desc = &urb->iso_descs[qtd->isoc_frame_index];
691 qtd->isoc_split_offset;
695 qtd->isoc_split_offset;
698 chan->xfer_len = frame_desc->length - qtd->isoc_split_offset;
704 qtd->isoc_split_offset;
770 * dwc2_assign_and_init_hc() - Assigns transactions from a QTD to a free host
775 * @qh: Transactions from the first QTD for this QH are selected and assigned
782 struct dwc2_qtd *qtd;
804 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry);
805 urb = qtd->urb;
807 qtd->in_process = 1;
820 chan->error_state = (qtd->error_count > 0);
850 dwc2_hc_init_split(hsotg, chan, qtd, urb);
855 bufptr = dwc2_hc_init_xfer(hsotg, chan, qtd, urb);
869 qtd->in_process = 0;
1959 struct dwc2_qtd *qtd;
2021 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) {
2022 if (!qtd->in_process)
2024 urb = qtd->urb;
2026 dev_dbg(hsotg->dev, " qtd: %p, urb: %p\n",
2027 qtd, urb);
2227 /* Free memory for QH/QTD lists */