Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Deepro100.c735 s->tx.tcb_bytes = le16_to_cpu(s->tx.tcb_bytes); in read_cb()
742 uint16_t tcb_bytes = s->tx.tcb_bytes & 0x3fff; in tx_command() local
749 tbd_array, tcb_bytes, s->tx.tbd_count)); in tx_command()
751 if (tcb_bytes > 2600) { in tx_command()
753 tcb_bytes = 2600; in tx_command()
755 if (!((tcb_bytes > 0) || (tbd_array != 0xffffffff))) { in tx_command()
759 assert(tcb_bytes <= sizeof(buf)); in tx_command()
760 while (size < tcb_bytes) { in tx_command()
763 tbd_address, tcb_bytes)); in tx_command()
764 pci_dma_read(&s->dev, tbd_address, &buf[size], tcb_bytes); in tx_command()
[all …]