Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/hisilicon/
Dqm.c4427 static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos) in qm_func_shaper_enable() argument
4434 if (fun_index > total_vfs) in qm_func_shaper_enable()
4437 qm->factor[fun_index].func_qos = qos; in qm_func_shaper_enable()
4439 ret = qm_get_shaper_para(ir, &qm->factor[fun_index]); in qm_func_shaper_enable()
4447 ret = qm_set_vft_common(qm, SHAPER_VFT, fun_index, i, 1); in qm_func_shaper_enable()
4457 static u32 qm_get_shaper_vft_qos(struct hisi_qm *qm, u32 fun_index) in qm_get_shaper_vft_qos() argument
4473 writel(fun_index, qm->io_base + QM_VFT_CFG); in qm_get_shaper_vft_qos()
4496 ir = qm->factor[fun_index].func_qos * QM_QOS_RATE; in qm_get_shaper_vft_qos()
4614 unsigned int *fun_index) in qm_get_qos_value() argument
4637 *fun_index = PCI_DEVFN(device, function); in qm_get_qos_value()
[all …]