Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dnpcm_gmac.c515 g_autofree uint8_t *tx_send_buffer = g_malloc(tx_buffer_size); in gmac_try_send_next_packet() local
520 uint8_t *buf = tx_send_buffer; in gmac_try_send_next_packet()
572 buf = &tx_send_buffer[prev_buf_size]; in gmac_try_send_next_packet()
576 tx_send_buffer = g_realloc(tx_send_buffer, tx_buffer_size); in gmac_try_send_next_packet()
577 buf = &tx_send_buffer[prev_buf_size]; in gmac_try_send_next_packet()
595 buf = &tx_send_buffer[prev_buf_size]; in gmac_try_send_next_packet()
599 tx_send_buffer = g_realloc(tx_send_buffer, tx_buffer_size); in gmac_try_send_next_packet()
600 buf = &tx_send_buffer[prev_buf_size]; in gmac_try_send_next_packet()
614 net_checksum_calculate(tx_send_buffer, length, csum); in gmac_try_send_next_packet()
615 qemu_send_packet(qemu_get_queue(gmac->nic), tx_send_buffer, length); in gmac_try_send_next_packet()
[all …]
H A Dnpcm7xx_emc.c340 uint8_t tx_send_buffer[TX_BUFFER_SIZE]; in emc_try_send_next_packet() local
375 buf = &tx_send_buffer[0]; in emc_try_send_next_packet()
377 if (length > sizeof(tx_send_buffer)) { in emc_try_send_next_packet()