Lines Matching defs:head
154 * ci_get_qh() - return queue head for endpoint
182 * ci_flush_qh - flush cache over queue head
189 struct ept_queue_head *head = ci_get_qh(ep_num, 0);
190 const unsigned long start = (unsigned long)head;
191 const unsigned long end = start + 2 * sizeof(*head);
197 * ci_invalidate_qh - invalidate cache over queue head
204 struct ept_queue_head *head = ci_get_qh(ep_num, 0);
205 unsigned long start = (unsigned long)head;
206 unsigned long end = start + 2 * sizeof(*head);
324 struct ept_queue_head *head = ci_get_qh(num, in);
326 head->config = CFG_MAX_PKT(maxpacket) | CFG_ZLT;
475 struct ept_queue_head *head;
487 head = ci_get_qh(num, in);
492 head->next = (unsigned long)item;
493 head->info = 0;
560 item = (struct ept_queue_item *)(unsigned long)head->next;
715 struct ept_queue_head *head;
723 head = ci_get_qh(0, 0); /* EP0 OUT */
726 memcpy(&r, head->setup_data, sizeof(struct usb_ctrlrequest));
816 struct ept_queue_head *head;
834 head = ci_get_qh(num, in);
835 head->info = INFO_ACTIVE;
967 struct ept_queue_head *head;
998 head = controller.epts + i;
1000 head->config = CFG_MAX_PKT(EP0_MAX_PACKET_SIZE)
1003 head->config = CFG_MAX_PKT(EP_MAX_PACKET_SIZE)
1005 head->next = TERMINATE;
1006 head->info = 0;