Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ni/
H A Dnixge.c25 #define XAXIDMA_TX_CR_OFFSET 0x00 /* Channel control */ macro
357 cr = nixge_dma_read_reg(priv, XAXIDMA_TX_CR_OFFSET); in nixge_hw_dma_bd_init()
367 nixge_dma_write_reg(priv, XAXIDMA_TX_CR_OFFSET, cr); in nixge_hw_dma_bd_init()
385 nixge_dma_write_reg(priv, XAXIDMA_TX_CR_OFFSET, in nixge_hw_dma_bd_init()
416 __nixge_device_reset(priv, XAXIDMA_TX_CR_OFFSET); in nixge_device_reset()
798 __nixge_device_reset(lp, XAXIDMA_TX_CR_OFFSET); in nixge_dma_err_handler()
835 cr = nixge_dma_read_reg(lp, XAXIDMA_TX_CR_OFFSET); in nixge_dma_err_handler()
845 nixge_dma_write_reg(lp, XAXIDMA_TX_CR_OFFSET, cr); in nixge_dma_err_handler()
862 cr = nixge_dma_read_reg(lp, XAXIDMA_TX_CR_OFFSET); in nixge_dma_err_handler()
863 nixge_dma_write_reg(lp, XAXIDMA_TX_CR_OFFSET, in nixge_dma_err_handler()
[all …]
/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c256 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, lp->tx_dma_cr); in axienet_dma_start()
273 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, lp->tx_dma_cr); in axienet_dma_start()
513 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, XAXIDMA_CR_RESET_MASK); in __axienet_device_reset()
517 XAXIDMA_TX_CR_OFFSET); in __axienet_device_reset()
550 cr = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); in axienet_dma_stop()
552 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); in axienet_dma_stop()
773 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, lp->tx_dma_cr); in axienet_tx_poll()
1044 axienet_dma_out32(lp, XAXIDMA_TX_CR_OFFSET, cr); in axienet_tx_irq()
1415 data[32] = axienet_dma_in32(lp, XAXIDMA_TX_CR_OFFSET); in axienet_ethtools_get_regs()
H A Dxilinx_axienet.h74 #define XAXIDMA_TX_CR_OFFSET 0x00000000 /* Channel control */ macro