Searched refs:fun_index (Results 1 – 1 of 1) sorted by relevance
3467 static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos) in qm_func_shaper_enable() argument3474 if (fun_index > total_vfs) in qm_func_shaper_enable()3477 qm->factor[fun_index].func_qos = qos; in qm_func_shaper_enable()3479 ret = qm_get_shaper_para(ir, &qm->factor[fun_index]); in qm_func_shaper_enable()3487 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_index, i, 1); in qm_func_shaper_enable()3497 static u32 qm_get_shaper_vft_qos(struct hisi_qm *qm, u32 fun_index) in qm_get_shaper_vft_qos() argument3513 writel(fun_index, qm->io_base + QM_VFT_CFG); in qm_get_shaper_vft_qos()3536 ir = qm->factor[fun_index].func_qos * QM_QOS_RATE; in qm_get_shaper_vft_qos()3637 unsigned int *fun_index) in qm_get_qos_value() argument3664 *fun_index = pdev->devfn; in qm_get_qos_value()[all …]