Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/hisilicon/
Ddebugfs.c670 u32 remain_q_num, vfq_num; in qm_get_vf_qp_num() local
677 remain_q_num = (qm->ctrl_qp_num - qm->qp_num) % num_vfs; in qm_get_vf_qp_num()
678 if (vfq_num + remain_q_num <= qm->max_qp_num) in qm_get_vf_qp_num()
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()
Dqm.c3407 u32 remain_q_num, vfs_q_num, act_q_num, q_num, i, j; in qm_vf_q_assign() local
3422 remain_q_num = vfs_q_num % num_vfs; in qm_vf_q_assign()
3429 if (i == num_vfs && q_num + remain_q_num <= max_qp_num) { in qm_vf_q_assign()
3430 act_q_num = q_num + remain_q_num; in qm_vf_q_assign()
3431 remain_q_num = 0; in qm_vf_q_assign()
3432 } else if (remain_q_num > 0) { in qm_vf_q_assign()
3434 remain_q_num--; in qm_vf_q_assign()