Lines Matching refs:qh
290 struct QH *qh) in ehci_update_endpt2_dev_n_port() argument
300 qh->qh_endpt2 |= cpu_to_hc32(QH_ENDPT2_PORTNUM(portnr) | in ehci_update_endpt2_dev_n_port()
353 ALLOC_ALIGN_BUFFER(struct QH, qh, 1, USB_DMA_MINALIGN); in ehci_submit_async()
440 memset(qh, 0, sizeof(struct QH)); in ehci_submit_async()
455 qh->qh_link = cpu_to_hc32(virt_to_phys(&ctrl->qh_list) | QH_LINK_TYPE_QH); in ehci_submit_async()
470 qh->qh_endpt1 = cpu_to_hc32(endpt); in ehci_submit_async()
472 qh->qh_endpt2 = cpu_to_hc32(endpt); in ehci_submit_async()
473 ehci_update_endpt2_dev_n_port(dev, qh); in ehci_submit_async()
474 qh->qh_overlay.qt_next = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
475 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in ehci_submit_async()
477 tdp = &qh->qh_overlay.qt_next; in ehci_submit_async()
594 ctrl->qh_list.qh_link = cpu_to_hc32(virt_to_phys(qh) | QH_LINK_TYPE_QH); in ehci_submit_async()
599 flush_dcache_range((unsigned long)qh, ALIGN_END_ADDR(struct QH, qh, 1)); in ehci_submit_async()
618 invalidate_dcache_range((unsigned long)qh, in ehci_submit_async()
619 ALIGN_END_ADDR(struct QH, qh, 1)); in ehci_submit_async()
628 qhtoken = hc32_to_cpu(qh->qh_overlay.qt_token); in ehci_submit_async()
1223 #define NEXT_QH(qh) (struct QH *)((unsigned long)hc32_to_cpu((qh)->qh_link) & ~0x1f) argument
1333 struct QH *qh = result->first + i; in _ehci_create_int_queue() local
1335 void **buf = &qh->buffer; in _ehci_create_int_queue()
1337 qh->qh_link = cpu_to_hc32((unsigned long)(qh+1) | QH_LINK_TYPE_QH); in _ehci_create_int_queue()
1339 qh->qh_link = cpu_to_hc32(QH_LINK_TERMINATE); in _ehci_create_int_queue()
1341 qh->qh_overlay.qt_next = cpu_to_hc32((unsigned long)td); in _ehci_create_int_queue()
1342 qh->qh_overlay.qt_altnext = cpu_to_hc32(QT_NEXT_TERMINATE); in _ehci_create_int_queue()
1343 qh->qh_endpt1 = in _ehci_create_int_queue()
1350 qh->qh_endpt2 = cpu_to_hc32((1 << 30) | /* 1 Tx per mframe */ in _ehci_create_int_queue()
1355 qh->qh_endpt2 |= cpu_to_hc32((0x1c << 8)); in _ehci_create_int_queue()
1357 ehci_update_endpt2_dev_n_port(dev, qh); in _ehci_create_int_queue()