Home
last modified time | relevance | path

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

/drivers/vfio/pci/
Dvfio_pci_config.c112 int (*readfn)(struct vfio_pci_core_device *vdev, int pos, int count, member
318 [0 ... PCI_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
321 [0 ... PCI_EXT_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
330 .readfn = vfio_raw_config_read,
335 .readfn = vfio_virt_config_read,
370 perm->readfn = vfio_default_config_read; in alloc_perm_bits()
657 perm->readfn = vfio_basic_config_read; in init_pci_cap_basic_perm()
1201 perm->readfn = vfio_msi_config_read; in init_pci_cap_msi_perm()
1931 if (perm->readfn) { in vfio_config_do_rw()
1932 ret = perm->readfn(vdev, *ppos, count, in vfio_config_do_rw()