Lines Matching refs:fifo
709 int fifo; in dwc2_check_param_tx_fifo_sizes() local
717 for (fifo = 1; fifo <= fifo_count; fifo++) in dwc2_check_param_tx_fifo_sizes()
718 total += hsotg->params.g_tx_fifo_size[fifo]; in dwc2_check_param_tx_fifo_sizes()
726 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_check_param_tx_fifo_sizes()
727 dptxfszn = hsotg->hw_params.g_tx_fifo_size[fifo]; in dwc2_check_param_tx_fifo_sizes()
729 if (hsotg->params.g_tx_fifo_size[fifo] < min || in dwc2_check_param_tx_fifo_sizes()
730 hsotg->params.g_tx_fifo_size[fifo] > dptxfszn) { in dwc2_check_param_tx_fifo_sizes()
732 __func__, fifo, in dwc2_check_param_tx_fifo_sizes()
733 hsotg->params.g_tx_fifo_size[fifo]); in dwc2_check_param_tx_fifo_sizes()
734 hsotg->params.g_tx_fifo_size[fifo] = dptxfszn; in dwc2_check_param_tx_fifo_sizes()
857 int fifo, fifo_count; in dwc2_get_dev_hwparams() local
868 for (fifo = 1; fifo <= fifo_count; fifo++) { in dwc2_get_dev_hwparams()
869 hw->g_tx_fifo_size[fifo] = in dwc2_get_dev_hwparams()
870 (dwc2_readl(hsotg, DPTXFSIZN(fifo)) & in dwc2_get_dev_hwparams()