Lines Matching refs:limit
396 uint32_t limit;
398 limit = (x == 1) ? MIN(DWC_OTG_TX_MAX_FIFO_SIZE,
403 if (limit <= fifo_size) {
404 pf->max_buffer = limit;
407 limit = MIN(DWC_OTG_TX_MAX_FIFO_SIZE, 0x40);
408 if (limit <= fifo_size) {
412 limit = 0;
417 ((limit / 4) << 16) | (tx_start / 4));
418 tx_start += limit;
419 fifo_size -= limit;
420 pf->usb.max_in_frame_size = limit;