Searched refs:pktcnt (Results 1 – 2 of 2) sorted by relevance
381 uint32_t max_xfersize, max_pktcnt, pktcnt; in dwc2_tx_fifo_write() local444 pktcnt = DIV_ROUND_UP(len, udc_mps_ep_size(cfg)); in dwc2_tx_fifo_write()445 if (pktcnt > max_pktcnt) { in dwc2_tx_fifo_write()446 pktcnt = ROUND_DOWN(max_pktcnt, (1 + addnl)); in dwc2_tx_fifo_write()447 len = pktcnt * udc_mps_ep_size(cfg); in dwc2_tx_fifo_write()451 pktcnt = 1U; in dwc2_tx_fifo_write()455 cfg->addr, len, pktcnt, addnl); in dwc2_tx_fifo_write()463 usb_dwc2_set_dieptsizn_pktcnt(pktcnt) | in dwc2_tx_fifo_write()512 while (pktcnt > 0) { in dwc2_tx_fifo_write()531 pktcnt--; in dwc2_tx_fifo_write()[all …]
459 uint8_t pktcnt; in lan9250_rx() local464 pktcnt = (tmp & 0x00ff0000) >> 16; in lan9250_rx()470 if (pktcnt == 0 || pkt_len == 0) { in lan9250_rx()