Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c555 void __iomem *rwptr_reg; in gmac_setup_txqs() local
559 rwptr_reg = port->dma_base + GMAC_SW_TX_QUEUE0_PTR_REG; in gmac_setup_txqs()
589 r = readw(rwptr_reg); in gmac_setup_txqs()
590 rwptr_reg += 2; in gmac_setup_txqs()
591 writew(r, rwptr_reg); in gmac_setup_txqs()
592 rwptr_reg += 2; in gmac_setup_txqs()
680 void __iomem *rwptr_reg; in gmac_cleanup_txqs() local
686 r = readw(rwptr_reg); in gmac_cleanup_txqs()
687 rwptr_reg += 2; in gmac_cleanup_txqs()
688 writew(r, rwptr_reg); in gmac_cleanup_txqs()
[all …]