Home
last modified time | relevance | path

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

/hypervisor/dm/vpci/
A Dvsriov.c44 return ((uint8_t)((pf_vdev->bdf.fields.devfun + fst_off + (stride * id)) & 0xFFU)); in get_vf_devfun()
160 uint16_t num_vfs, stride, fst_off; in enable_vfs() local
194 stride = read_sriov_reg(pf_vdev, PCIR_SRIOV_VF_STRIDE); in enable_vfs()
195 vf_bdf.fields.bus = get_vf_bus(pf_vdev, fst_off, stride, 0U); in enable_vfs()
196 vf_bdf.fields.devfun = get_vf_devfun(pf_vdev, fst_off, stride, 0U); in enable_vfs()
203 vf_bdf.fields.bus = get_vf_bus(pf_vdev, fst_off, stride, idx); in enable_vfs()
204 vf_bdf.fields.devfun = get_vf_devfun(pf_vdev, fst_off, stride, idx); in enable_vfs()
237 uint16_t idx, num_vfs, stride, first; in disable_vfs() local
251 stride = read_sriov_reg(pf_vdev, PCIR_SRIOV_VF_STRIDE); in disable_vfs()
255 bdf.fields.bus = get_vf_bus(pf_vdev, first, stride, idx); in disable_vfs()
[all …]

Completed in 2 milliseconds