Lines Matching refs:qh
583 if (!list_empty(&hwep->qh.queue)) { in _hardware_enqueue()
590 hwreqprev = list_entry(hwep->qh.queue.prev, in _hardware_enqueue()
609 hwep->qh.ptr->td.next = cpu_to_le32(firstnode->dma); in _hardware_enqueue()
610 hwep->qh.ptr->td.token &= in _hardware_enqueue()
619 hwep->qh.ptr->cap |= cpu_to_le32(mul << __ffs(QH_MULT)); in _hardware_enqueue()
644 hwep->qh.ptr->td.next = cpu_to_le32(node->dma); in reprime_dtd()
645 hwep->qh.ptr->td.token &= in reprime_dtd()
746 while (!list_empty(&hwep->qh.queue)) { in _ep_nuke()
749 struct ci_hw_req *hwreq = list_entry(hwep->qh.queue.next, in _ep_nuke()
790 !list_empty(&hwep->qh.queue) && in _ep_set_halt()
929 if (!list_empty(&hwep->qh.queue)) { in _ep_queue()
957 list_add_tail(&hwreq->queue, &hwep->qh.queue); in _ep_queue()
1091 list_for_each_entry_safe(hwreq, hwreqtemp, &hwep->qh.queue, in isr_tr_complete_low()
1145 memcpy(&req, &hwep->qh.ptr->setup, sizeof(req)); in isr_setup_packet_handler()
1354 if (!list_empty(&hwep->qh.queue)) { in ep_enable()
1381 hwep->qh.ptr->cap = cpu_to_le32(cap); in ep_enable()
1383 hwep->qh.ptr->td.next |= cpu_to_le32(TD_TERMINATE); /* needed? */ in ep_enable()
1535 list_empty(&hwep->qh.queue)) in ep_dequeue()
1652 hw_device_state(ci, ci->ep0out->qh.dma); in ci_hdrc_gadget_connect()
1845 INIT_LIST_HEAD(&hwep->qh.queue); in init_eps()
1846 hwep->qh.ptr = dma_pool_zalloc(ci->qh_pool, GFP_KERNEL, in init_eps()
1847 &hwep->qh.dma); in init_eps()
1848 if (hwep->qh.ptr == NULL) in init_eps()
1880 dma_pool_free(ci->qh_pool, hwep->qh.ptr, hwep->qh.dma); in destroy_eps()