Lines Matching refs:pf_q_num
194 #define BNX2X_Q_VOQ_REG_ADDR(pf_q_num)\ argument
195 (QM_REG_QVOQIDX_0 + 4 * (pf_q_num))
196 #define BNX2X_VOQ_Q_REG_ADDR(cos, pf_q_num)\ argument
197 (QM_REG_VOQQMASK_0_LSB + 4 * ((cos) * 2 + ((pf_q_num) >> 5)))
198 #define BNX2X_Q_CMDQ_REG_ADDR(pf_q_num)\ argument
199 (QM_REG_BYTECRDCMDQ_0 + 4 * ((pf_q_num) >> 4))
228 u32 pf_q_num = in bnx2x_map_q_cos() local
230 u32 q_bit_map = 1 << (pf_q_num & 0x1f); in bnx2x_map_q_cos()
233 REG_WR(bp, BNX2X_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in bnx2x_map_q_cos()
236 reg_addr = BNX2X_VOQ_Q_REG_ADDR(curr_cos, pf_q_num); in bnx2x_map_q_cos()
241 reg_addr = BNX2X_VOQ_Q_REG_ADDR(new_cos, pf_q_num); in bnx2x_map_q_cos()
249 reg_addr = BNX2X_Q_CMDQ_REG_ADDR(pf_q_num); in bnx2x_map_q_cos()
251 q_bit_map = 1 << (2 * (pf_q_num & 0xf)); in bnx2x_map_q_cos()