Searched refs:fun_index (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/crypto/hisilicon/ ! |
| H A D | qm.c | 3876 static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos) in qm_func_shaper_enable() argument 3884 if (fun_index > total_vfs) in qm_func_shaper_enable() 3887 memcpy(&t_factor, &qm->factor[fun_index], sizeof(t_factor)); in qm_func_shaper_enable() 3888 qm->factor[fun_index].func_qos = qos; in qm_func_shaper_enable() 3890 ret = qm_get_shaper_para(ir, &qm->factor[fun_index]); in qm_func_shaper_enable() 3898 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_index, i, 1); in qm_func_shaper_enable() 3908 memcpy(&qm->factor[fun_index], &t_factor, sizeof(t_factor)); in qm_func_shaper_enable() 3910 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_index, i, 1); in qm_func_shaper_enable() 3918 static u32 qm_get_shaper_vft_qos(struct hisi_qm *qm, u32 fun_index) in qm_get_shaper_vft_qos() argument 3934 writel(fun_index, qm->io_base + QM_VFT_CFG); in qm_get_shaper_vft_qos() [all …]
|