/* cdns3_ep_addr_to_index - Macro converts endpoint address to index of endpoint object in cdns3_device.eps container @ep_addr: endpoint address for which endpoint object is required  */
u8 cdns3_ep_addr_to_index(u8 ep_addr)
/* cdns3_ep_addr_to_index - Macro converts endpoint address to index of endpoint object in cdns3_device.eps container @ep_addr: endpoint address for which endpoint object is required  */
u8 cdns3_ep_addr_to_index(u8 ep_addr)
{
	return (((ep_addr & 0x7F)) + ((ep_addr & USB_DIR_IN) ? 16 : 0));
}