Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/qualcomm/ppe/
H A Dppe_debugfs.c624 int mq_offset = i - PPE_AC_UNICAST_QUEUE_CFG_TBL_ENTRIES; in ppe_queue_counter_get() local
627 PPE_AC_MULTICAST_QUEUE_CNT_TBL_INC * mq_offset; in ppe_queue_counter_get()
636 if (mq_offset < PPE_P0_MULTICAST_QUEUE_NUM) { in ppe_queue_counter_get()
637 reg = PPE_CPU_PORT_MULTICAST_FORCE_DROP_CNT_TBL_ADDR(mq_offset); in ppe_queue_counter_get()
639 mq_offset -= PPE_P0_MULTICAST_QUEUE_NUM; in ppe_queue_counter_get()
642 reg += (mq_offset / PPE_MULTICAST_QUEUE_NUM) * in ppe_queue_counter_get()
644 reg += (mq_offset % PPE_MULTICAST_QUEUE_NUM) * in ppe_queue_counter_get()
H A Dppe_regs.h584 #define PPE_CPU_PORT_MULTICAST_FORCE_DROP_CNT_TBL_ADDR(mq_offset) \ argument
586 (mq_offset) * PPE_P0_MULTICAST_DROP_CNT_TBL_INC * \