Searched refs:tx_buffer_size (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/hw/net/ |
| H A D | npcm_gmac.c | 514 uint16_t tx_buffer_size = 2048; in gmac_try_send_next_packet() local 515 g_autofree uint8_t *tx_send_buffer = g_malloc(tx_buffer_size); in gmac_try_send_next_packet() 570 if ((prev_buf_size + tx_buf_len) > tx_buffer_size) { in gmac_try_send_next_packet() 571 tx_buffer_size = prev_buf_size + tx_buf_len; in gmac_try_send_next_packet() 572 tx_send_buffer = g_realloc(tx_send_buffer, tx_buffer_size); in gmac_try_send_next_packet() 591 if ((prev_buf_size + tx_buf_len) > tx_buffer_size) { in gmac_try_send_next_packet() 592 tx_buffer_size = prev_buf_size + tx_buf_len; in gmac_try_send_next_packet() 593 tx_send_buffer = g_realloc(tx_send_buffer, tx_buffer_size); in gmac_try_send_next_packet()
|
| H A D | eepro100.c | 773 uint16_t tx_buffer_size; in tx_command() local 780 lduw_le_pci_dma(&s->dev, tbd_address + 4, &tx_buffer_size, attrs); in tx_command() 785 tx_buffer_address, tx_buffer_size)); in tx_command() 786 tx_buffer_size = MIN(tx_buffer_size, sizeof(buf) - size); in tx_command() 788 &buf[size], tx_buffer_size); in tx_command() 789 size += tx_buffer_size; in tx_command() 798 lduw_le_pci_dma(&s->dev, tbd_address + 4, &tx_buffer_size, attrs); in tx_command() 803 tx_buffer_address, tx_buffer_size)); in tx_command() 804 tx_buffer_size = MIN(tx_buffer_size, sizeof(buf) - size); in tx_command() 806 &buf[size], tx_buffer_size); in tx_command() [all …]
|