Lines Matching refs:total_len
144 uint16_t frag_len, total_len; in frame_get() local
155 total_len = 0; in frame_get()
178 total_len += (dma_rx_desc_tab[j].status & in frame_get()
190 rx_buf_idx, total_len); in frame_get()
196 total_len, AF_UNSPEC, 0, K_NO_WAIT); in frame_get()
208 while (total_len) { in frame_get()
209 frag_len = MIN(total_len, ETH_RX_BUF_SIZE); in frame_get()
224 total_len -= frag_len; in frame_get()
269 uint16_t total_len; in eth_tx() local
281 total_len = net_pkt_get_len(pkt); in eth_tx()
282 if (total_len > ETH_TX_BUF_SIZE) { in eth_tx()
302 if (net_pkt_read(pkt, dma_buffer, total_len)) { in eth_tx()
310 (total_len & ETH_TX_LENGTH) | ETH_TX_LAST; in eth_tx()
314 (total_len & ETH_TX_LENGTH) | (ETH_TX_LAST | in eth_tx()