Searched refs:xfersize (Results 1 – 1 of 1) sorted by relevance
425 uint32_t xfersize, uint16_t mps) in dwc2_dma_buffer_ok_to_use() argument435 if (unlikely(mps % 4) && (xfersize > USB_MPS_EP_SIZE(mps))) { in dwc2_dma_buffer_ok_to_use()664 uint32_t xfersize; in dwc2_prep_rx() local674 xfersize = USB_MPS_TO_TPL(cfg->mps); in dwc2_prep_rx()677 if (xfersize > net_buf_tailroom(buf)) { in dwc2_prep_rx()689 xfersize = net_buf_tailroom(buf); in dwc2_prep_rx()692 if (xfersize > max_xfersize) { in dwc2_prep_rx()693 xfersize = ROUND_DOWN(max_xfersize, USB_MPS_TO_TPL(cfg->mps)); in dwc2_prep_rx()696 pktcnt = DIV_ROUND_UP(xfersize, USB_MPS_EP_SIZE(cfg->mps)); in dwc2_prep_rx()701 xfersize = pktcnt * udc_mps_ep_size(cfg); in dwc2_prep_rx()[all …]