Lines Matching refs:ep0
2492 struct tegra_xudc_ep *ep0 = &xudc->ep[0]; in tegra_xudc_ep0_set_address() local
2514 ep_ctx_write_devaddr(ep0->context, addr); in tegra_xudc_ep0_set_address()
2794 struct tegra_xudc_ep *ep0 = &xudc->ep[0]; in tegra_xudc_reset() local
2811 ep0->deq_ptr = ep0->enq_ptr; in tegra_xudc_reset()
2812 ep0->ring_full = false; in tegra_xudc_reset()
2817 ep_ctx_write_rsvd(ep0->context, 0); in tegra_xudc_reset()
2818 ep_ctx_write_partial_td(ep0->context, 0); in tegra_xudc_reset()
2819 ep_ctx_write_splitxstate(ep0->context, 0); in tegra_xudc_reset()
2820 ep_ctx_write_seq_num(ep0->context, 0); in tegra_xudc_reset()
2822 deq_ptr = trb_virt_to_phys(ep0, &ep0->transfer_ring[ep0->deq_ptr]); in tegra_xudc_reset()
2825 ep_ctx_write_deq_ptr(ep0->context, deq_ptr); in tegra_xudc_reset()
2826 ep_ctx_write_dcs(ep0->context, ep0->pcs); in tegra_xudc_reset()
2836 struct tegra_xudc_ep *ep0 = &xudc->ep[0]; in tegra_xudc_port_connect() local
2869 ep_ctx_write_max_packet_size(ep0->context, maxpacket); in tegra_xudc_port_connect()
2871 usb_ep_set_maxpacket_limit(&ep0->usb_ep, maxpacket); in tegra_xudc_port_connect()
3843 xudc->gadget.ep0 = &xudc->ep[0].usb_ep; in tegra_xudc_probe()