Lines Matching refs:bcnt
2425 uint32_t bcnt; in dwc2_handle_rxflvl() local
2430 bcnt = usb_dwc2_get_grxstsp_bcnt(grxstsp); in dwc2_handle_rxflvl()
2433 LOG_DBG("ep 0x%02x: pktsts %u, bcnt %u", ep, pktsts, bcnt); in dwc2_handle_rxflvl()
2437 dwc2_read_fifo_setup(dev, ep, bcnt); in dwc2_handle_rxflvl()
2445 dwc2_read_fifo(dev, ep, buf, bcnt); in dwc2_handle_rxflvl()
2524 uint32_t bcnt; in dwc2_handle_out_xfercompl() local
2541 bcnt = usb_dwc2_get_doeptsizn_xfersize(priv->rx_siz[ep_idx]) - in dwc2_handle_out_xfercompl()
2569 net_buf_remove_mem(buf, bcnt); in dwc2_handle_out_xfercompl()
2572 bcnt = 0; in dwc2_handle_out_xfercompl()
2576 if (dwc2_in_buffer_dma_mode(dev) && bcnt) { in dwc2_handle_out_xfercompl()
2577 sys_cache_data_invd_range(net_buf_tail(buf), bcnt); in dwc2_handle_out_xfercompl()
2578 net_buf_add(buf, bcnt); in dwc2_handle_out_xfercompl()
2581 if (!is_iso && bcnt && (bcnt % udc_mps_ep_size(ep_cfg)) == 0 && in dwc2_handle_out_xfercompl()