Lines Matching refs:vf_info
40 struct adf_accel_vf_info *vf_info; member
48 adf_vf2pf_req_hndl(pf2vf_resp->vf_info); in adf_iov_send_resp()
54 struct adf_accel_vf_info *vf_info = (struct adf_accel_vf_info *)data; in adf_vf2pf_bh_handler() local
61 pf2vf_resp->vf_info = vf_info; in adf_vf2pf_bh_handler()
74 struct adf_accel_vf_info *vf_info; in adf_enable_sriov() local
78 for (i = 0, vf_info = accel_dev->pf.vf_info; i < totalvfs; in adf_enable_sriov()
79 i++, vf_info++) { in adf_enable_sriov()
81 vf_info->accel_dev = accel_dev; in adf_enable_sriov()
82 vf_info->vf_nr = i; in adf_enable_sriov()
84 tasklet_init(&vf_info->vf2pf_bh_tasklet, in adf_enable_sriov()
86 (unsigned long)vf_info); in adf_enable_sriov()
87 mutex_init(&vf_info->pf2vf_lock); in adf_enable_sriov()
88 ratelimit_state_init(&vf_info->vf2pf_ratelimit, in adf_enable_sriov()
138 if (!accel_dev->pf.vf_info) in adf_disable_sriov()
162 for (i = 0, vf = accel_dev->pf.vf_info; i < totalvfs; i++, vf++) { in adf_disable_sriov()
168 kfree(accel_dev->pf.vf_info); in adf_disable_sriov()
169 accel_dev->pf.vf_info = NULL; in adf_disable_sriov()
200 if (accel_dev->pf.vf_info) { in adf_sriov_configure()
226 accel_dev->pf.vf_info = kcalloc(totalvfs, in adf_sriov_configure()
229 if (!accel_dev->pf.vf_info) in adf_sriov_configure()