Home
last modified time | relevance | path

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

/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 …]
/drivers/crypto/hisilicon/sec2/
Dsec_main.c328 static u32 pf_q_num = SEC_PF_DEF_Q_NUM; variable
329 module_param_cb(pf_q_num, &sec_pf_q_num_ops, &pf_q_num, 0444);
330 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 2-4096, v2 2-1024)");
1118 qm->qp_num = pf_q_num; in sec_qm_init()
1119 qm->debug.curr_qm_qp_num = pf_q_num; in sec_qm_init()
/drivers/crypto/hisilicon/zip/
Dzip_main.c433 static u32 pf_q_num = HZIP_PF_DEF_Q_NUM; variable
434 module_param_cb(pf_q_num, &pf_q_num_ops, &pf_q_num, 0444);
435 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 2-4096, v2 2-1024)");
1212 qm->qp_num = pf_q_num; in hisi_zip_qm_init()
1213 qm->debug.curr_qm_qp_num = pf_q_num; in hisi_zip_qm_init()
/drivers/crypto/hisilicon/hpre/
Dhpre_main.c427 static u32 pf_q_num = HPRE_PF_DEF_Q_NUM; variable
428 module_param_cb(pf_q_num, &hpre_pf_q_num_ops, &pf_q_num, 0444);
429 MODULE_PARM_DESC(pf_q_num, "Number of queues in PF of CS(2-1024)");
1161 qm->qp_num = pf_q_num; in hpre_qm_init()
1162 qm->debug.curr_qm_qp_num = pf_q_num; in hpre_qm_init()