/* Find the physical pxa27x ep, and setup its UDCCR  */
static __init void pxa_ep_setup(struct pxa_ep *ep)
/* Find the physical pxa27x ep, and setup its UDCCR  */
static __init void pxa_ep_setup(struct pxa_ep *ep)
{
	u32 new_udccr;
	new_udccr = ((ep->config << UDCCONR_CN_S) & UDCCONR_CN)
		| ((ep->interface << UDCCONR_IN_S) & UDCCONR_IN)
		| ((ep->alternate << UDCCONR_AISN_S) & UDCCONR_AISN)
		| ((EPADDR(ep) << UDCCONR_EN_S) & UDCCONR_EN)
		| ((EPXFERTYPE(ep) << UDCCONR_ET_S) & UDCCONR_ET)
		| ((ep->dir_in) ? UDCCONR_ED : 0)
		| ((ep->fifo_size << UDCCONR_MPS_S) & UDCCONR_MPS)
		| UDCCONR_EE;
	udc_ep_writel(ep, UDCCR, new_udccr);
}