Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/dwc_xgmac/
Deth_dwc_xgmac.c561 struct net_buf *new_buff; in get_and_refill_desc_buffs() local
566 new_buff = net_pkt_get_reserve_rx_data(CONFIG_NET_BUF_DATA_SIZE, K_FOREVER); in get_and_refill_desc_buffs()
567 if (!new_buff) { in get_and_refill_desc_buffs()
575 *(rx_buffs + (desc_id * RX_FRAGS_PER_DESC)) = (mem_addr_t)new_buff; in get_and_refill_desc_buffs()
581 rx_desc->rdes0 = POINTER_TO_UINT(new_buff->data); in get_and_refill_desc_buffs()
582 rx_desc->rdes1 = POINTER_TO_UINT(new_buff->data) >> XGMAC_REG_SIZE_BITS; in get_and_refill_desc_buffs()
584 new_buff = net_pkt_get_reserve_rx_data(CONFIG_NET_BUF_DATA_SIZE, K_FOREVER); in get_and_refill_desc_buffs()
585 if (!new_buff) { in get_and_refill_desc_buffs()
601 *(rx_buffs + (desc_id * RX_FRAGS_PER_DESC) + 1u) = (mem_addr_t)new_buff; in get_and_refill_desc_buffs()
607 rx_desc->rdes2 = POINTER_TO_UINT(new_buff->data); in get_and_refill_desc_buffs()
[all …]