Lines Matching refs:qh

193 static void dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh)  in dbg_qh()  argument
196 qh, qh->hw_next, qh->hw_info1, qh->hw_info2, in dbg_qh()
197 qh->hw_current); in dbg_qh()
198 dbg_qtd ("qh overlay", ehci, (struct ehci_qtd *) &qh->hw_qtd_next); in dbg_qh()
412 static inline void dbg_qh (char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh() argument
503 struct ehci_qh *qh, in qh_lines() argument
518 if (qh->hw_qtd_next == EHCI_LIST_END) in qh_lines()
521 mark = token_mark (qh->hw_token); in qh_lines()
523 if ((qh->hw_alt_next & QTD_MASK) == ehci->async->hw_alt_next) in qh_lines()
525 else if (qh->hw_alt_next == EHCI_LIST_END) in qh_lines()
538 scratch = cpu_to_le32p (&qh->hw_info1); in qh_lines()
539 hw_curr = (mark == '*') ? cpu_to_le32p (&qh->hw_current) : 0; in qh_lines()
542 qh, scratch & 0x007f, in qh_lines()
545 scratch, cpu_to_le32p (&qh->hw_info2), in qh_lines()
546 cpu_to_le32p (&qh->hw_token), mark, in qh_lines()
547 (__constant_cpu_to_le32 (QTD_TOGGLE) & qh->hw_token) in qh_lines()
549 (cpu_to_le32p (&qh->hw_alt_next) >> 1) & 0x0f); in qh_lines()
571 list_for_each (entry, &qh->qtd_list) { in qh_lines()
578 else if (qh->hw_qtd_next == td->qtd_dma) in qh_lines()
655 struct ehci_qh *qh; in show_async() local
663 for (qh = ehci->async->qh_next.qh; size > 0 && qh; qh = qh->qh_next.qh) in show_async()
664 qh_lines (ehci, qh, &next, &size); in show_async()
670 for (qh = ehci->reclaim; size > 0 && qh; qh = qh->reclaim) in show_async()
671 qh_lines (ehci, qh, &next, &size); in show_async()
755 p.qh->period, in show_periodic()
756 le32_to_cpup (&p.qh->hw_info2) in show_periodic()
759 p.qh); in show_periodic()
765 if (p.qh->qh_next.ptr) in show_periodic()
792 &p.qh->hw_info1); in show_periodic()
797 list_entry((&p.qh->qtd_list)->next,struct ehci_qtd, qtd_list, struct list_head, qtd); in show_periodic()
798 for( ;&qtd->qtd_list != (&p.qh->qtd_list); in show_periodic()
821 p.qh->usecs, p.qh->c_usecs, in show_periodic()
844 seen [seen_count++].qh = p.qh; in show_periodic()
847 if (p.qh) { in show_periodic()
848 tag = Q_NEXT_TYPE (p.qh->hw_next); in show_periodic()
849 p = p.qh->qh_next; in show_periodic()