Home
last modified time | relevance | path

Searched refs:mdwidth (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/usb/dwc3/
Dgadget.c676 int mdwidth; in dwc3_gadget_calc_tx_fifo_size() local
678 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_calc_tx_fifo_size()
681 mdwidth >>= 3; in dwc3_gadget_calc_tx_fifo_size()
684 fifo_size = mult * (max_packet / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()
686 fifo_size = mult * ((max_packet + mdwidth) / mdwidth) + 1; in dwc3_gadget_calc_tx_fifo_size()
2818 u32 mdwidth; in dwc3_gadget_setup_nump() local
2823 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_setup_nump()
2825 nump = ((ram2_depth * mdwidth / 8) - 24 - 16) / 1024; in dwc3_gadget_setup_nump()
3155 u32 mdwidth; in dwc3_gadget_init_in_endpoint() local
3159 mdwidth = dwc3_mdwidth(dwc); in dwc3_gadget_init_in_endpoint()
[all …]
Ddebugfs.c691 u32 mdwidth; in dwc3_tx_fifo_size_show() local
703 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() local
732 mdwidth = dwc3_mdwidth(dwc); in dwc3_rx_fifo_size_show()
734 val *= mdwidth; in dwc3_rx_fifo_size_show()
Dcore.h1593 u32 mdwidth; in dwc3_mdwidth() local
1595 mdwidth = DWC3_GHWPARAMS0_MDWIDTH(dwc->hwparams.hwparams0); in dwc3_mdwidth()
1597 mdwidth += DWC3_GHWPARAMS6_MDWIDTH(dwc->hwparams.hwparams6); in dwc3_mdwidth()
1599 return mdwidth; in dwc3_mdwidth()