Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/crypto/hisilicon/sec2/
Dsec_main.c325 static u32 pf_q_num = SEC_PF_DEF_Q_NUM; variable
326 module_param_cb(pf_q_num, &sec_pf_q_num_ops, &pf_q_num, 0444);
327 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 2-4096, v2 2-1024)");
1123 qm->qp_num = pf_q_num; in sec_qm_init()
1124 qm->debug.curr_qm_qp_num = pf_q_num; in sec_qm_init()
/linux-6.1.9/drivers/crypto/hisilicon/zip/
Dzip_main.c378 static u32 pf_q_num = HZIP_PF_DEF_Q_NUM; variable
379 module_param_cb(pf_q_num, &pf_q_num_ops, &pf_q_num, 0444);
380 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 2-4096, v2 2-1024)");
1141 qm->qp_num = pf_q_num; in hisi_zip_qm_init()
1142 qm->debug.curr_qm_qp_num = pf_q_num; in hisi_zip_qm_init()
/linux-6.1.9/drivers/crypto/hisilicon/hpre/
Dhpre_main.c444 static u32 pf_q_num = HPRE_PF_DEF_Q_NUM; variable
445 module_param_cb(pf_q_num, &hpre_pf_q_num_ops, &pf_q_num, 0444);
446 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF of CS(2-1024)");
1156 qm->qp_num = pf_q_num; in hpre_qm_init()
1157 qm->debug.curr_qm_qp_num = pf_q_num; in hpre_qm_init()