/* This function returns the QH associated with particular endpoint and it's direction.  */
static struct ept_queue_head* ci_get_qh(int ep_num, int dir_in)
/* This function returns the QH associated with particular endpoint and it's direction.  */
static struct ept_queue_head* ci_get_qh(int ep_num, int dir_in)
{
	return &controller.epts[(ep_num * 2) + dir_in];
}