NHI_TX_RING_SIZE
nhi_write_reg(sc, NHI_TX_RING_SIZE + idx, ring->tx_ring_depth);
nhi_write_reg(sc, NHI_TX_RING_SIZE + idx, 0);