Lines Matching refs:head

181 	struct ept_queue_head *head = ci_get_qh(ep_num, 0);  in ci_flush_qh()  local
182 const unsigned long start = (unsigned long)head; in ci_flush_qh()
183 const unsigned long end = start + 2 * sizeof(*head); in ci_flush_qh()
196 struct ept_queue_head *head = ci_get_qh(ep_num, 0); in ci_invalidate_qh() local
197 unsigned long start = (unsigned long)head; in ci_invalidate_qh()
198 unsigned long end = start + 2 * sizeof(*head); in ci_invalidate_qh()
316 struct ept_queue_head *head = ci_get_qh(num, in); in ep_enable() local
318 head->config = CONFIG_MAX_PKT(maxpacket) | CONFIG_ZLT; in ep_enable()
425 struct ept_queue_head *head; in ci_ep_submit_next_request() local
437 head = ci_get_qh(num, in); in ci_ep_submit_next_request()
442 head->next = (unsigned long)item; in ci_ep_submit_next_request()
443 head->info = 0; in ci_ep_submit_next_request()
510 item = (struct ept_queue_item *)(unsigned long)head->next; in ci_ep_submit_next_request()
665 struct ept_queue_head *head; in handle_setup() local
673 head = ci_get_qh(0, 0); /* EP0 OUT */ in handle_setup()
676 memcpy(&r, head->setup_data, sizeof(struct usb_ctrlrequest)); in handle_setup()
766 struct ept_queue_head *head; in stop_activity() local
784 head = ci_get_qh(num, in); in stop_activity()
785 head->info = INFO_ACTIVE; in stop_activity()
914 struct ept_queue_head *head; in ci_udc_probe() local
945 head = controller.epts + i; in ci_udc_probe()
947 head->config = CONFIG_MAX_PKT(EP0_MAX_PACKET_SIZE) in ci_udc_probe()
950 head->config = CONFIG_MAX_PKT(EP_MAX_PACKET_SIZE) in ci_udc_probe()
952 head->next = TERMINATE; in ci_udc_probe()
953 head->info = 0; in ci_udc_probe()