Searched refs:mdwidth (Results 1 – 3 of 3) sorted by relevance
700 int mdwidth; in dwc3_gadget_calc_tx_fifo_size() local702 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_calc_tx_fifo_size()705 mdwidth >>= 3; in dwc3_gadget_calc_tx_fifo_size()708 fifo_size = mult * (max_packet / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()710 fifo_size = mult * ((max_packet + mdwidth) / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()2705 u32 mdwidth; in dwc3_gadget_setup_nump() local2710 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_setup_nump()2712 nump = ((ram2_depth * mdwidth / 8) - 24 - 16) / 1024; in dwc3_gadget_setup_nump()3013 u32 mdwidth; in dwc3_gadget_init_in_endpoint() local3017 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_init_in_endpoint()[all …]
686 u32 mdwidth; in dwc3_tx_fifo_size_show() local698 mdwidth = dwc3_mdwidth(dwc); in dwc3_tx_fifo_size_show()700 val *= mdwidth; in dwc3_tx_fifo_size_show()715 u32 mdwidth; in dwc3_rx_fifo_size_show() local727 mdwidth = dwc3_mdwidth(dwc); in dwc3_rx_fifo_size_show()729 val *= mdwidth; in dwc3_rx_fifo_size_show()
1534 u32 mdwidth; in dwc3_mdwidth() local1536 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_mdwidth()1538 mdwidth += DWC3_GHWPARAMS6_MDWIDTH(dwc->hwparams.hwparams6); in dwc3_mdwidth()1540 return mdwidth; in dwc3_mdwidth()