Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.h59 struct tx_descriptor { struct
80 struct tx_descriptor *base; argument
81 struct tx_descriptor *current;
82 struct tx_descriptor *end;
H A Dep93xx_eth.c197 writel(sizeof(struct tx_descriptor) * NUMTXDESC, &mac->txdq.blen); in ep93xx_eth_open()
246 (sizeof(struct tx_descriptor) * NUMTXDESC)); in ep93xx_eth_open()
462 sizeof(struct tx_descriptor)); in ep93xx_eth_initialize()
/openbmc/qemu/hw/net/
H A Dimx_fec.c198 VMSTATE_UINT32(tx_descriptor[1], IMXFECState),
199 VMSTATE_UINT32(tx_descriptor[2], IMXFECState),
211 VMSTATE_UINT32(tx_descriptor[0], IMXFECState),
477 uint32_t addr = s->tx_descriptor[0]; in imx_fec_do_tx()
519 s->tx_descriptor[0] = addr; in imx_fec_do_tx()
559 addr = s->tx_descriptor[ring]; in imx_enet_do_tx()
621 s->tx_descriptor[ring] = addr; in imx_enet_do_tx()
684 memset(s->tx_descriptor, 0, sizeof(s->tx_descriptor)); in imx_eth_reset()
939 s->tx_descriptor[0] = s->regs[ENET_TDSR]; in imx_eth_write()
940 s->tx_descriptor[1] = s->regs[ENET_TDSR1]; in imx_eth_write()
[all …]
H A Dftgmac100.c532 uint64_t tx_descriptor) in ftgmac100_do_tx() argument
536 uint64_t addr = tx_descriptor; in ftgmac100_do_tx()
636 s->tx_descriptor = addr; in ftgmac100_do_tx()
699 s->tx_descriptor = 0; in ftgmac100_do_reset()
836 s->tx_descriptor = deposit64(s->tx_descriptor, 0, 32, value); in ftgmac100_write()
843 ftgmac100_do_tx(s, s->tx_ring, s->tx_descriptor); in ftgmac100_write()
969 s->tx_descriptor = deposit64(s->tx_descriptor, 32, 32, value); in ftgmac100_high_write()
1252 VMSTATE_UINT64(tx_descriptor, FTGMAC100State),
H A Dmcf_fec.c46 uint32_t tx_descriptor; member
248 addr = s->tx_descriptor; in mcf_fec_do_tx()
285 s->tx_descriptor = addr; in mcf_fec_do_tx()
486 s->tx_descriptor = s->etdsr; in mcf_fec_write()
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c1893 struct lan743x_tx_descriptor *tx_descriptor = NULL; in lan743x_tx_frame_start() local
1903 tx_descriptor = &tx->ring_cpu_ptr[tx->frame_tail]; in lan743x_tx_frame_start()
1910 tx_descriptor->data1 = cpu_to_le32(DMA_ADDR_LOW32(dma_ptr)); in lan743x_tx_frame_start()
1911 tx_descriptor->data2 = cpu_to_le32(DMA_ADDR_HIGH32(dma_ptr)); in lan743x_tx_frame_start()
1912 tx_descriptor->data3 = cpu_to_le32((frame_length << 16) & in lan743x_tx_frame_start()
1944 struct lan743x_tx_descriptor *tx_descriptor = NULL; in lan743x_tx_frame_add_lso() local
1953 tx_descriptor = &tx->ring_cpu_ptr[tx->frame_tail]; in lan743x_tx_frame_add_lso()
1954 tx_descriptor->data0 = cpu_to_le32(tx->frame_data0); in lan743x_tx_frame_add_lso()
1958 tx_descriptor = &tx->ring_cpu_ptr[tx->frame_tail]; in lan743x_tx_frame_add_lso()
1962 tx_descriptor->data1 = 0; in lan743x_tx_frame_add_lso()
[all …]
/openbmc/qemu/include/hw/net/
H A Dftgmac100.h63 uint64_t tx_descriptor; member
H A Dimx_fec.h264 uint32_t tx_descriptor[ENET_TX_RING_NUM]; member