Lines Matching refs:frag

705 	struct net_buf *frag;  in tx_completed()
724 frag = UINT_TO_POINTER(ring_buf_get(&queue->tx_frag_list)); in tx_completed()
725 net_pkt_frag_unref(frag); in tx_completed()
726 LOG_DBG("Dropping frag %p", frag); in tx_completed()
758 struct net_buf *frag; in tx_error_handler() local
775 frag = UINT_TO_POINTER(tx_frag_list->buf[tx_frag_list->tail]); in tx_error_handler()
776 net_pkt_frag_unref(frag); in tx_error_handler()
777 LOG_DBG("Dropping frag %p", frag); in tx_error_handler()
1227 struct net_buf *frag; in frame_get() local
1274 frag = rx_frag_list[tail]; in frame_get()
1277 __ASSERT(frag->data == frag_data, in frame_get()
1291 dcache_invalidate((uint32_t)frag_data, frag->size); in frame_get()
1300 net_buf_add(frag, frag_len); in frame_get()
1302 net_pkt_frag_insert(rx_frame, frag); in frame_get()
1304 net_buf_frag_insert(last_frag, frag); in frame_get()
1306 last_frag = frag; in frame_get()
1307 frag = new_frag; in frame_get()
1308 rx_frag_list[tail] = frag; in frame_get()
1320 rx_desc->w0 = ((uint32_t)frag->data & GMAC_RXW0_ADDR) | wrap; in frame_get()
1411 struct net_buf *frag; in eth_tx() local
1447 frag = pkt->frags; in eth_tx()
1452 while (frag) { in eth_tx()
1453 frag_data = frag->data; in eth_tx()
1454 frag_len = frag->len; in eth_tx()
1457 dcache_clean((uint32_t)frag_data, frag->size); in eth_tx()
1485 | (!frag->frags ? GMAC_TXW1_LASTBUFFER : 0) in eth_tx()
1498 ring_buf_put(&queue->tx_frag_list, POINTER_TO_UINT(frag)); in eth_tx()
1501 net_pkt_frag_ref(frag); in eth_tx()
1507 frag = frag->frags; in eth_tx()