Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h194 #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()
[all …]
/Linux-v5.4/drivers/crypto/hisilicon/zip/
Dzip_main.c263 static u32 pf_q_num = HZIP_PF_DEF_Q_NUM; variable
264 module_param_cb(pf_q_num, &pf_q_num_ops, &pf_q_num, 0444);
265 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 1-4096, v2 1-1024)");
705 qm->qp_num = pf_q_num; in hisi_zip_probe()