Searched refs:max3421_ep (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/usb/host/ |
H A D | max3421-hcd.c | 165 struct max3421_ep { struct 604 struct max3421_ep *max3421_ep; max3421_next_transfer() local 610 max3421_ep = urb->ep->hcpriv; max3421_next_transfer() 612 switch (max3421_ep->pkt_state) { max3421_next_transfer() 665 struct max3421_ep *max3421_ep; max3421_select_and_start_urb() local 678 max3421_ep = container_of(pos, struct max3421_ep, max3421_select_and_start_urb() 680 ep = max3421_ep->ep; max3421_select_and_start_urb() 718 if (frame_diff(max3421_ep->last_active, max3421_select_and_start_urb() 724 if (max3421_ep->retransmit max3421_select_and_start_urb() 725 && (frame_diff(max3421_ep->last_active, max3421_select_and_start_urb() 739 max3421_ep->last_active) max3421_select_and_start_urb() 763 if (max3421_ep->retransmit) max3421_select_and_start_urb() 765 max3421_ep->retransmit = 0; max3421_select_and_start_urb() 775 max3421_ep->pkt_state = PKT_STATE_SETUP; max3421_select_and_start_urb() 778 max3421_ep->pkt_state = PKT_STATE_TRANSFER; max3421_select_and_start_urb() 783 max3421_ep->last_active = max3421_hcd->frame_number; max3421_select_and_start_urb() 801 struct max3421_ep *max3421_ep; max3421_check_unlink() local 809 max3421_ep = container_of(pos, struct max3421_ep, ep_list); max3421_check_unlink() 810 ep = max3421_ep->ep; max3421_check_unlink() 837 struct max3421_ep *max3421_ep; max3421_slow_retransmit() local 839 max3421_ep = urb->ep->hcpriv; max3421_slow_retransmit() 840 max3421_ep->retransmit = 1; max3421_slow_retransmit() 885 struct max3421_ep *max3421_ep = urb->ep->hcpriv; max3421_handle_error() local 894 switch_sndfifo = (max3421_ep->pkt_state == PKT_STATE_TRANSFER && max3421_handle_error() 934 if (max3421_ep->retries++ < USB_MAX_RETRIES) max3421_handle_error() 956 if (max3421_ep->naks++ < NAK_MAX_FAST_RETRANSMITS) { max3421_handle_error() 1046 struct max3421_ep *max3421_ep; max3421_host_transfer_done() local 1060 max3421_ep = urb->ep->hcpriv; max3421_host_transfer_done() 1067 max3421_ep->naks = 0; max3421_host_transfer_done() 1068 max3421_ep->retries = 0; max3421_host_transfer_done() 1069 switch (max3421_ep->pkt_state) { max3421_host_transfer_done() 1073 max3421_ep->pkt_state = PKT_STATE_TRANSFER; max3421_host_transfer_done() 1075 max3421_ep->pkt_state = PKT_STATE_TERMINATE; max3421_host_transfer_done() 1089 max3421_ep->pkt_state = PKT_STATE_TERMINATE; max3421_host_transfer_done() 1185 struct max3421_ep *max3421_ep; dump_eps() local 1195 max3421_ep = container_of(pos, struct max3421_ep, ep_list); dump_eps() 1196 ep = max3421_ep->ep; dump_eps() 1215 epnum, max3421_ep->pkt_state, max3421_ep->last_active, dump_eps() 1216 max3421_ep->retries, max3421_ep->naks, dump_eps() 1217 max3421_ep->retransmit, ubuf); dump_eps() 1529 struct max3421_ep *max3421_ep; max3421_urb_enqueue() local 1548 max3421_ep = urb->ep->hcpriv; max3421_urb_enqueue() 1549 if (!max3421_ep) { max3421_urb_enqueue() 1551 max3421_ep = kzalloc(sizeof(struct max3421_ep), GFP_ATOMIC); max3421_urb_enqueue() 1552 if (!max3421_ep) { max3421_urb_enqueue() 1556 max3421_ep->ep = urb->ep; max3421_urb_enqueue() 1557 max3421_ep->last_active = max3421_hcd->frame_number; max3421_urb_enqueue() 1558 urb->ep->hcpriv = max3421_ep; max3421_urb_enqueue() 1560 list_add_tail(&max3421_ep->ep_list, &max3421_hcd->ep_list); max3421_urb_enqueue() 1606 struct max3421_ep *max3421_ep = ep->hcpriv; max3421_endpoint_disable() local 1609 if (!list_empty(&max3421_ep->ep_list)) max3421_endpoint_disable() 1610 list_del(&max3421_ep->ep_list); max3421_endpoint_disable() 1611 kfree(max3421_ep); max3421_endpoint_disable()
|
Completed in 86 milliseconds