Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_main.c365 static u32 vfs_num; variable
366 module_param_cb(vfs_num, &vfs_num_ops, &vfs_num, 0444);
367 MODULE_PARM_DESC(vfs_num, "Number of VFs to enable(1-63), 0(default)");
1260 if (qm->fun_type == QM_HW_PF && vfs_num) { in sec_probe()
1261 ret = hisi_qm_sriov_enable(pdev, vfs_num); in sec_probe()
1293 if (qm->fun_type == QM_HW_PF && qm->vfs_num) in sec_remove()
/linux-6.6.21/drivers/crypto/hisilicon/zip/
Dzip_main.c442 static u32 vfs_num; variable
443 module_param_cb(vfs_num, &vfs_num_ops, &vfs_num, 0444);
444 MODULE_PARM_DESC(vfs_num, "Number of VFs to enable(1-63), 0(default)");
1327 if (qm->fun_type == QM_HW_PF && vfs_num > 0) { in hisi_zip_probe()
1328 ret = hisi_qm_sriov_enable(pdev, vfs_num); in hisi_zip_probe()
1362 if (qm->fun_type == QM_HW_PF && qm->vfs_num) in hisi_zip_remove()
/linux-6.6.21/drivers/crypto/hisilicon/hpre/
Dhpre_main.c436 static u32 vfs_num; variable
437 module_param_cb(vfs_num, &vfs_num_ops, &vfs_num, 0444);
438 MODULE_PARM_DESC(vfs_num, "Number of VFs to enable(1-63), 0(default)");
1428 if (qm->fun_type == QM_HW_PF && vfs_num) { in hpre_probe()
1429 ret = hisi_qm_sriov_enable(pdev, vfs_num); in hpre_probe()
1462 if (qm->fun_type == QM_HW_PF && qm->vfs_num) in hpre_remove()
/linux-6.6.21/drivers/crypto/hisilicon/
Dqm.c1576 u32 vfs_num = qm->vfs_num; in qm_wait_vf_prepare_finish() local
1582 if (!qm->vfs_num || !test_bit(QM_SUPPORT_MB_COMMAND, &qm->caps)) in qm_wait_vf_prepare_finish()
1588 if ((val & GENMASK(vfs_num, 1)) == GENMASK(vfs_num, 1)) in qm_wait_vf_prepare_finish()
1600 for (i = 1; i <= vfs_num; i++) { in qm_wait_vf_prepare_finish()
1675 u32 vfs_num = qm->vfs_num; in qm_ping_all_vfs() local
1697 if (!(val & GENMASK(vfs_num, 1))) { in qm_ping_all_vfs()
1709 for (i = 1; i <= vfs_num; i++) { in qm_ping_all_vfs()
3550 for (i = 1; i <= qm->vfs_num; i++) { in qm_clear_vft_config()
3555 qm->vfs_num = 0; in qm_clear_vft_config()
3890 qm->vfs_num = num_vfs; in hisi_qm_sriov_enable()
[all …]
Ddebugfs.c648 u32 num_vfs = qm->vfs_num; in qm_get_vf_qp_num()
669 if (val > qm->vfs_num) in current_qm_write()
/linux-6.6.21/include/linux/
Dhisi_acc_qm.h327 u32 vfs_num; member
/linux-6.6.21/net/core/
Drtnetlink.c1275 int vfs_num, in rtnl_fill_vfinfo() argument
1310 if (dev->netdev_ops->ndo_get_vf_config(dev, vfs_num, &ivi)) in rtnl_fill_vfinfo()
1365 !dev->netdev_ops->ndo_get_vf_guid(dev, vfs_num, &node_guid, in rtnl_fill_vfinfo()
1385 dev->netdev_ops->ndo_get_vf_stats(dev, vfs_num, in rtnl_fill_vfinfo()