Lines Matching refs:UDC_EP0IN_IDX
179 #define UDC_EP0IN_IDX 0 macro
1599 pch_udc_ep_clear_nak(&(dev->ep[UDC_EP0IN_IDX])); in process_zlp()
2274 ep = &dev->ep[UDC_EP0IN_IDX]; in pch_udc_svc_control_in()
2324 dev->ep[UDC_EP0IN_IDX].halted = 0; in pch_udc_svc_control_out()
2329 pch_udc_ep_fifo_flush(&(dev->ep[UDC_EP0IN_IDX]), in pch_udc_svc_control_out()
2330 dev->ep[UDC_EP0IN_IDX].in); in pch_udc_svc_control_out()
2332 dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep; in pch_udc_svc_control_out()
2351 pch_udc_ep_clear_nak(&(dev->ep[UDC_EP0IN_IDX])); in pch_udc_svc_control_out()
2360 pch_udc_ep_set_stall(&(dev->ep[UDC_EP0IN_IDX])); in pch_udc_svc_control_out()
2434 ep = &dev->ep[UDC_EP0IN_IDX]; in pch_udc_activate_control_ep()
2801 if (i == UDC_EP0IN_IDX || i == UDC_EP0OUT_IDX) { in pch_udc_pcd_reinit()
2813 usb_ep_set_maxpacket_limit(&dev->ep[UDC_EP0IN_IDX].ep, UDC_EP0IN_MAX_PKT_SIZE); in pch_udc_pcd_reinit()
2817 list_del_init(&dev->ep[UDC_EP0IN_IDX].ep.ep_list); in pch_udc_pcd_reinit()
2820 dev->gadget.ep0 = &dev->ep[UDC_EP0IN_IDX].ep; in pch_udc_pcd_reinit()
2891 dev->ep[UDC_EP0IN_IDX].td_stp = NULL; in init_dma_pools()
2892 dev->ep[UDC_EP0IN_IDX].td_stp_phys = 0; in init_dma_pools()
2893 dev->ep[UDC_EP0IN_IDX].td_data = NULL; in init_dma_pools()
2894 dev->ep[UDC_EP0IN_IDX].td_data_phys = 0; in init_dma_pools()