Home
last modified time | relevance | path

Searched refs:pktcnt (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb/udc/
Dudc_dwc2.c381 uint32_t max_xfersize, max_pktcnt, pktcnt; in dwc2_tx_fifo_write() local
444 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 …]
/Zephyr-latest/drivers/ethernet/
Deth_lan9250.c459 uint8_t pktcnt; in lan9250_rx() local
464 pktcnt = (tmp & 0x00ff0000) >> 16; in lan9250_rx()
470 if (pktcnt == 0 || pkt_len == 0) { in lan9250_rx()