Searched refs:REG_CNTR_VAL (Results 1 – 2 of 2) sorted by relevance
1369 airoha_qdma_wr(qdma, REG_CNTR_VAL(i << 1), 0); in airoha_qdma_init_qos_stats()1375 airoha_qdma_wr(qdma, REG_CNTR_VAL((i << 1) + 1), 0); in airoha_qdma_init_qos_stats()2486 u64 cpu_tx_packets = airoha_qdma_rr(qdma, REG_CNTR_VAL(channel << 1)); in airoha_qdma_get_tx_ets_stats()2488 REG_CNTR_VAL((channel << 1) + 1)); in airoha_qdma_get_tx_ets_stats()
773 #define REG_CNTR_VAL(_n) (0x0404 + ((_n) << 3)) macro