/* This assumes the separate CPPI engine is responding to DMA requests from the usb core ... sequenced a bit differently from mentor dma.  */
static int max_ep_writesize(struct musb *musb, struct musb_ep *ep)
/* This assumes the separate CPPI engine is responding to DMA requests from the usb core ... sequenced a bit differently from mentor dma.  */
static int max_ep_writesize(struct musb *musb, struct musb_ep *ep)
{
	if (can_bulk_split(musb, ep->type))
		return ep->hw_ep->max_packet_sz_tx;
	else
		return ep->packet_sz;
}