max3421_ep 608 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 614 drivers/usb/host/max3421-hcd.c max3421_ep = urb->ep->hcpriv; max3421_ep 616 drivers/usb/host/max3421-hcd.c switch (max3421_ep->pkt_state) { max3421_ep 669 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 682 drivers/usb/host/max3421-hcd.c max3421_ep = container_of(pos, struct max3421_ep, max3421_ep 684 drivers/usb/host/max3421-hcd.c ep = max3421_ep->ep; max3421_ep 722 drivers/usb/host/max3421-hcd.c if (frame_diff(max3421_ep->last_active, max3421_ep 728 drivers/usb/host/max3421-hcd.c if (max3421_ep->retransmit max3421_ep 729 drivers/usb/host/max3421-hcd.c && (frame_diff(max3421_ep->last_active, max3421_ep 743 drivers/usb/host/max3421-hcd.c max3421_ep->last_active) max3421_ep 767 drivers/usb/host/max3421-hcd.c if (max3421_ep->retransmit) max3421_ep 769 drivers/usb/host/max3421-hcd.c max3421_ep->retransmit = 0; max3421_ep 779 drivers/usb/host/max3421-hcd.c max3421_ep->pkt_state = PKT_STATE_SETUP; max3421_ep 782 drivers/usb/host/max3421-hcd.c max3421_ep->pkt_state = PKT_STATE_TRANSFER; max3421_ep 787 drivers/usb/host/max3421-hcd.c max3421_ep->last_active = max3421_hcd->frame_number; max3421_ep 804 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 811 drivers/usb/host/max3421-hcd.c list_for_each_entry(max3421_ep, &max3421_hcd->ep_list, ep_list) { max3421_ep 812 drivers/usb/host/max3421-hcd.c ep = max3421_ep->ep; max3421_ep 838 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 840 drivers/usb/host/max3421-hcd.c max3421_ep = urb->ep->hcpriv; max3421_ep 841 drivers/usb/host/max3421-hcd.c max3421_ep->retransmit = 1; max3421_ep 886 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep = urb->ep->hcpriv; max3421_ep 895 drivers/usb/host/max3421-hcd.c switch_sndfifo = (max3421_ep->pkt_state == PKT_STATE_TRANSFER && max3421_ep 935 drivers/usb/host/max3421-hcd.c if (max3421_ep->retries++ < USB_MAX_RETRIES) max3421_ep 957 drivers/usb/host/max3421-hcd.c if (max3421_ep->naks++ < NAK_MAX_FAST_RETRANSMITS) { max3421_ep 1047 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 1061 drivers/usb/host/max3421-hcd.c max3421_ep = urb->ep->hcpriv; max3421_ep 1068 drivers/usb/host/max3421-hcd.c max3421_ep->naks = 0; max3421_ep 1069 drivers/usb/host/max3421-hcd.c max3421_ep->retries = 0; max3421_ep 1070 drivers/usb/host/max3421-hcd.c switch (max3421_ep->pkt_state) { max3421_ep 1074 drivers/usb/host/max3421-hcd.c max3421_ep->pkt_state = PKT_STATE_TRANSFER; max3421_ep 1076 drivers/usb/host/max3421-hcd.c max3421_ep->pkt_state = PKT_STATE_TERMINATE; max3421_ep 1090 drivers/usb/host/max3421-hcd.c max3421_ep->pkt_state = PKT_STATE_TERMINATE; max3421_ep 1186 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 1194 drivers/usb/host/max3421-hcd.c list_for_each_entry(max3421_ep, &max3421_hcd->ep_list, ep_list) { max3421_ep 1195 drivers/usb/host/max3421-hcd.c ep = max3421_ep->ep; max3421_ep 1213 drivers/usb/host/max3421-hcd.c epnum, max3421_ep->pkt_state, max3421_ep->last_active, max3421_ep 1214 drivers/usb/host/max3421-hcd.c max3421_ep->retries, max3421_ep->naks, max3421_ep 1215 drivers/usb/host/max3421-hcd.c max3421_ep->retransmit, ubuf); max3421_ep 1527 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep; max3421_ep 1546 drivers/usb/host/max3421-hcd.c max3421_ep = urb->ep->hcpriv; max3421_ep 1547 drivers/usb/host/max3421-hcd.c if (!max3421_ep) { max3421_ep 1549 drivers/usb/host/max3421-hcd.c max3421_ep = kzalloc(sizeof(struct max3421_ep), GFP_ATOMIC); max3421_ep 1550 drivers/usb/host/max3421-hcd.c if (!max3421_ep) { max3421_ep 1554 drivers/usb/host/max3421-hcd.c max3421_ep->ep = urb->ep; max3421_ep 1555 drivers/usb/host/max3421-hcd.c max3421_ep->last_active = max3421_hcd->frame_number; max3421_ep 1556 drivers/usb/host/max3421-hcd.c urb->ep->hcpriv = max3421_ep; max3421_ep 1558 drivers/usb/host/max3421-hcd.c list_add_tail(&max3421_ep->ep_list, &max3421_hcd->ep_list); max3421_ep 1604 drivers/usb/host/max3421-hcd.c struct max3421_ep *max3421_ep = ep->hcpriv; max3421_ep 1607 drivers/usb/host/max3421-hcd.c if (!list_empty(&max3421_ep->ep_list)) max3421_ep 1608 drivers/usb/host/max3421-hcd.c list_del(&max3421_ep->ep_list); max3421_ep 1609 drivers/usb/host/max3421-hcd.c kfree(max3421_ep);