Home | History | Annotate | Download | only in dist

Lines Matching refs:qtd

253  * QH should already be removed from the list. QTD list should already be empty
844 * dwc2_hcd_qtd_init() - Initializes a QTD structure
846 * @qtd: The QTD to initialize
849 void dwc2_hcd_qtd_init(struct dwc2_qtd *qtd, struct dwc2_hcd_urb *urb)
851 qtd->urb = urb;
855 * The only time the QTD data toggle is used is on the data
859 qtd->data_toggle = DWC2_HC_PID_DATA1;
860 qtd->control_phase = DWC2_CONTROL_SETUP;
864 qtd->complete_split = 0;
865 qtd->isoc_split_pos = DWC2_HCSPLT_XACTPOS_ALL;
866 qtd->isoc_split_offset = 0;
867 qtd->in_process = 0;
869 /* Store the qtd ptr in the urb to reference the QTD */
870 urb->qtd = qtd;
874 * dwc2_hcd_qtd_add() - Adds a QTD to the QTD-list of a QH
878 * @qtd: The QTD to add
879 * @qh: Queue head to add qtd to
883 * If the QH to which the QTD is added is not currently scheduled, it is placed
886 int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd,
903 qtd->qh = qh;
904 list_add_tail(&qtd->qtd_list_entry, &qh->qtd_list);
912 struct dwc2_qtd *qtd,
917 list_del_init(&qtd->qtd_list_entry);
918 pool_cache_put(sc->sc_qtdpool, qtd);