Home
last modified time | relevance | path

Searched refs:fun_num (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/crypto/hisilicon/
H A Dqm.c1222 u32 fun_num, u32 base, u32 number) in qm_set_vft_common() argument
1229 factor = &qm->factor[fun_num]; in qm_set_vft_common()
1240 fun_num |= base << QM_SHAPER_VFT_OFFSET; in qm_set_vft_common()
1242 writel(fun_num, qm->io_base + QM_VFT_CFG); in qm_set_vft_common()
1254 static int qm_shaper_init_vft(struct hisi_qm *qm, u32 fun_num) in qm_shaper_init_vft() argument
1256 u32 qos = qm->factor[fun_num].func_qos; in qm_shaper_init_vft()
1259 ret = qm_get_shaper_para(qos * QM_QOS_RATE, &qm->factor[fun_num]); in qm_shaper_init_vft()
1267 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_num, i, 1); in qm_shaper_init_vft()
1276 static int qm_set_sqc_cqc_vft(struct hisi_qm *qm, u32 fun_num, u32 base, in qm_set_sqc_cqc_vft() argument
1282 ret = qm_set_vft_common(qm, i, fun_num, base, number); in qm_set_sqc_cqc_vft()
[all …]
H A Ddebugfs.c668 static int qm_get_vf_qp_num(struct hisi_qm *qm, u32 fun_num) in qm_get_vf_qp_num() argument
679 return fun_num == num_vfs ? vfq_num + remain_q_num : vfq_num; in qm_get_vf_qp_num()
685 return fun_num + remain_q_num > num_vfs ? vfq_num + 1 : vfq_num; in qm_get_vf_qp_num()
/linux/drivers/net/wireless/rsi/
H A Drsi_91x_sdio.c407 u8 fun_num = 0; in rsi_sdio_read_register() local
413 if (fun_num == 0) in rsi_sdio_read_register()