Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc3/
H A Dgadget.c697 int mdwidth; in dwc3_gadget_calc_tx_fifo_size() local
699 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() local
3168 u32 mdwidth; in dwc3_gadget_init_in_endpoint() local
3175 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() local
3223 mdwidth /= 8; in dwc3_gadget_init_out_endpoint()
[all …]
H A 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()
H A Dcore.h1561 u32 mdwidth; in dwc3_mdwidth() local
1563 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()
/openbmc/u-boot/drivers/usb/dwc3/
H A Dgadget.c165 int mdwidth; in dwc3_gadget_resize_tx_fifos() local
171 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()