Searched refs:mdwidth (Results 1 – 4 of 4) sorted by relevance
697 int mdwidth; in dwc3_gadget_calc_tx_fifo_size() local699 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_calc_tx_fifo_size()702 mdwidth >>= 3; in dwc3_gadget_calc_tx_fifo_size()707 fifo_size = mult * ((max_packet + mdwidth) / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()2837 u32 mdwidth; in dwc3_gadget_setup_nump() local3168 u32 mdwidth; in dwc3_gadget_init_in_endpoint() local3175 mdwidth /= 8; in dwc3_gadget_init_in_endpoint()3197 maxpacket = mdwidth * ((size - 1) - 1) - mdwidth; in dwc3_gadget_init_in_endpoint()3217 u32 mdwidth; in dwc3_gadget_init_out_endpoint() local3223 mdwidth /= 8; in dwc3_gadget_init_out_endpoint()[all …]
691 u32 mdwidth; in dwc3_tx_fifo_size_show() local703 mdwidth = dwc3_mdwidth(dwc); in dwc3_tx_fifo_size_show()705 val *= mdwidth; in dwc3_tx_fifo_size_show()720 u32 mdwidth; in dwc3_rx_fifo_size_show() local732 mdwidth = dwc3_mdwidth(dwc); in dwc3_rx_fifo_size_show()734 val *= mdwidth; in dwc3_rx_fifo_size_show()
1561 u32 mdwidth; in dwc3_mdwidth() local1563 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_mdwidth()1565 mdwidth += DWC3_GHWPARAMS6_MDWIDTH(dwc->hwparams.hwparams6); in dwc3_mdwidth()1567 return mdwidth; in dwc3_mdwidth()
165 int mdwidth; in dwc3_gadget_resize_tx_fifos() local171 mdwidth = DWC3_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_gadget_resize_tx_fifos()174 mdwidth >>= 3; in dwc3_gadget_resize_tx_fifos()206 tmp = mult * (dep->endpoint.maxpacket + mdwidth); in dwc3_gadget_resize_tx_fifos()207 tmp += mdwidth; in dwc3_gadget_resize_tx_fifos()209 fifo_size = DIV_ROUND_UP(tmp, mdwidth); in dwc3_gadget_resize_tx_fifos()