/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/spi/ |
H A D | spi-fsl-cpm.c | 73 struct cpm_buf_desc __iomem *tx_bd = mspi->tx_bd; in fsl_spi_cpm_bufs_start() local 89 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma); in fsl_spi_cpm_bufs_start() 91 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start() 92 out_be16(&tx_bd->cbd_datlen, xfer_len); in fsl_spi_cpm_bufs_start() 93 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start() 329 bds_ofs = cpm_muram_alloc(sizeof(*mspi->tx_bd) + in fsl_spi_cpm_init() 350 mspi->tx_bd = cpm_muram_addr(bds_ofs); in fsl_spi_cpm_init() 351 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init() 354 out_be16(&mspi->pram->tbase, cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_init() 394 cpm_muram_free(cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_free()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/spi/ |
H A D | spi-fsl-cpm.c | 73 struct cpm_buf_desc __iomem *tx_bd = mspi->tx_bd; in fsl_spi_cpm_bufs_start() local 89 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma); in fsl_spi_cpm_bufs_start() 91 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start() 92 out_be16(&tx_bd->cbd_datlen, xfer_len); in fsl_spi_cpm_bufs_start() 93 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start() 329 bds_ofs = cpm_muram_alloc(sizeof(*mspi->tx_bd) + in fsl_spi_cpm_init() 350 mspi->tx_bd = cpm_muram_addr(bds_ofs); in fsl_spi_cpm_init() 351 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init() 354 out_be16(&mspi->pram->tbase, cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_init() 394 cpm_muram_free(cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_free()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/spi/ |
H A D | spi-fsl-cpm.c | 73 struct cpm_buf_desc __iomem *tx_bd = mspi->tx_bd; in fsl_spi_cpm_bufs_start() local 89 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma); in fsl_spi_cpm_bufs_start() 91 out_be32(&tx_bd->cbd_bufaddr, mspi->tx_dma + xfer_ofs); in fsl_spi_cpm_bufs_start() 92 out_be16(&tx_bd->cbd_datlen, xfer_len); in fsl_spi_cpm_bufs_start() 93 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start() 329 bds_ofs = cpm_muram_alloc(sizeof(*mspi->tx_bd) + in fsl_spi_cpm_init() 350 mspi->tx_bd = cpm_muram_addr(bds_ofs); in fsl_spi_cpm_init() 351 mspi->rx_bd = cpm_muram_addr(bds_ofs + sizeof(*mspi->tx_bd)); in fsl_spi_cpm_init() 354 out_be16(&mspi->pram->tbase, cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_init() 394 cpm_muram_free(cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_free()
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-sopine/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-rpi/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-qemu-arm64/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-nanopi-m1plus/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-nanopi-r4s/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-clearfog/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-cubieboard/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-orangepi-zero-plus/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-orangepi-r1/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-orangepi-plus-2e/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|
/dports/sysutils/u-boot-orangepi-zero/u-boot-2021.07/drivers/net/ |
H A D | xilinx_axi_emac.c | 124 static struct axidma_bd tx_bd __attribute((aligned(DMAALIGN))); 545 memset(&tx_bd, 0, sizeof(tx_bd)); in axiemac_send() 547 tx_bd.next_desc = lower_32_bits((unsigned long)&tx_bd); in axiemac_send() 548 tx_bd.buf_addr = lower_32_bits((unsigned long)ptr); in axiemac_send() 550 tx_bd.next_desc_msb = upper_32_bits((unsigned long)&tx_bd); in axiemac_send() 551 tx_bd.buf_addr_msb = upper_32_bits((unsigned long)ptr); in axiemac_send() 554 tx_bd.cntrl = len | XAXIDMA_BD_CTRL_TXSOF_MASK | in axiemac_send() 558 flush_cache((phys_addr_t)&tx_bd, sizeof(tx_bd)); in axiemac_send() 562 axienet_dma_write(&tx_bd, &priv->dmatx->current); in axiemac_send() 570 axienet_dma_write(&tx_bd, &priv->dmatx->tail); in axiemac_send()
|