Lines Matching refs:qh

590 	if (!list_empty(&hwep->qh.queue)) {  in _hardware_enqueue()
597 hwreqprev = list_entry(hwep->qh.queue.prev, in _hardware_enqueue()
622 hwep->qh.ptr->td.next = cpu_to_le32(firstnode->dma); in _hardware_enqueue()
623 hwep->qh.ptr->td.token &= in _hardware_enqueue()
632 hwep->qh.ptr->cap |= cpu_to_le32(mul << __ffs(QH_MULT)); in _hardware_enqueue()
657 hwep->qh.ptr->td.next = cpu_to_le32(node->dma); in reprime_dtd()
658 hwep->qh.ptr->td.token &= in reprime_dtd()
761 while (!list_empty(&hwep->qh.queue)) { in _ep_nuke()
764 struct ci_hw_req *hwreq = list_entry(hwep->qh.queue.next, in _ep_nuke()
805 !list_empty(&hwep->qh.queue) && in _ep_set_halt()
950 if (!list_empty(&hwep->qh.queue)) { in _ep_queue()
978 list_add_tail(&hwreq->queue, &hwep->qh.queue); in _ep_queue()
1115 list_for_each_entry_safe(hwreq, hwreqtemp, &hwep->qh.queue, in isr_tr_complete_low()
1169 memcpy(&req, &hwep->qh.ptr->setup, sizeof(req)); in isr_setup_packet_handler()
1378 if (!list_empty(&hwep->qh.queue)) { in ep_enable()
1405 hwep->qh.ptr->cap = cpu_to_le32(cap); in ep_enable()
1407 hwep->qh.ptr->td.next |= cpu_to_le32(TD_TERMINATE); /* needed? */ in ep_enable()
1559 list_empty(&hwep->qh.queue)) in ep_dequeue()
1689 hw_device_state(ci, ci->ep0out->qh.dma); in ci_hdrc_gadget_connect()
1890 INIT_LIST_HEAD(&hwep->qh.queue); in init_eps()
1891 hwep->qh.ptr = dma_pool_zalloc(ci->qh_pool, GFP_KERNEL, in init_eps()
1892 &hwep->qh.dma); in init_eps()
1893 if (hwep->qh.ptr == NULL) in init_eps()
1925 dma_pool_free(ci->qh_pool, hwep->qh.ptr, hwep->qh.dma); in destroy_eps()