Lines Matching refs:qh
588 if (!list_empty(&hwep->qh.queue)) { in _hardware_enqueue()
595 hwreqprev = list_entry(hwep->qh.queue.prev, in _hardware_enqueue()
614 hwep->qh.ptr->td.next = cpu_to_le32(firstnode->dma); in _hardware_enqueue()
615 hwep->qh.ptr->td.token &= in _hardware_enqueue()
624 hwep->qh.ptr->cap |= cpu_to_le32(mul << __ffs(QH_MULT)); in _hardware_enqueue()
649 hwep->qh.ptr->td.next = cpu_to_le32(node->dma); in reprime_dtd()
650 hwep->qh.ptr->td.token &= in reprime_dtd()
752 while (!list_empty(&hwep->qh.queue)) { in _ep_nuke()
755 struct ci_hw_req *hwreq = list_entry(hwep->qh.queue.next, in _ep_nuke()
796 !list_empty(&hwep->qh.queue) && in _ep_set_halt()
935 if (!list_empty(&hwep->qh.queue)) { in _ep_queue()
963 list_add_tail(&hwreq->queue, &hwep->qh.queue); in _ep_queue()
1097 list_for_each_entry_safe(hwreq, hwreqtemp, &hwep->qh.queue, in isr_tr_complete_low()
1151 memcpy(&req, &hwep->qh.ptr->setup, sizeof(req)); in isr_setup_packet_handler()
1360 if (!list_empty(&hwep->qh.queue)) { in ep_enable()
1387 hwep->qh.ptr->cap = cpu_to_le32(cap); in ep_enable()
1389 hwep->qh.ptr->td.next |= cpu_to_le32(TD_TERMINATE); /* needed? */ in ep_enable()
1541 list_empty(&hwep->qh.queue)) in ep_dequeue()
1658 hw_device_state(ci, ci->ep0out->qh.dma); in ci_hdrc_gadget_connect()
1851 INIT_LIST_HEAD(&hwep->qh.queue); in init_eps()
1852 hwep->qh.ptr = dma_pool_zalloc(ci->qh_pool, GFP_KERNEL, in init_eps()
1853 &hwep->qh.dma); in init_eps()
1854 if (hwep->qh.ptr == NULL) in init_eps()
1886 dma_pool_free(ci->qh_pool, hwep->qh.ptr, hwep->qh.dma); in destroy_eps()