Searched refs:fun_index (Results 1 – 1 of 1) sorted by relevance
4008 static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos) in qm_func_shaper_enable() argument4015 if (fun_index > total_vfs) in qm_func_shaper_enable()4018 qm->factor[fun_index].func_qos = qos; in qm_func_shaper_enable()4020 ret = qm_get_shaper_para(ir, &qm->factor[fun_index]); in qm_func_shaper_enable()4028 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_index, i, 1); in qm_func_shaper_enable()4038 static u32 qm_get_shaper_vft_qos(struct hisi_qm *qm, u32 fun_index) in qm_get_shaper_vft_qos() argument4054 writel(fun_index, qm->io_base + QM_VFT_CFG); in qm_get_shaper_vft_qos()4077 ir = qm->factor[fun_index].func_qos * QM_QOS_RATE; in qm_get_shaper_vft_qos()4203 unsigned int fun_index; in qm_algqos_write() local4253 fun_index = device * 8 + function; in qm_algqos_write()[all …]