Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci_config.c114 int (*readfn)(struct vfio_pci_device *vdev, int pos, int count, member
320 [0 ... PCI_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
323 [0 ... PCI_EXT_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
332 .readfn = vfio_raw_config_read,
337 .readfn = vfio_virt_config_read,
372 perm->readfn = vfio_default_config_read; in alloc_perm_bits()
626 perm->readfn = vfio_basic_config_read; in init_pci_cap_basic_perm()
1130 perm->readfn = vfio_msi_config_read; in init_pci_cap_msi_perm()
1795 if (perm->readfn) { in vfio_config_do_rw()
1796 ret = perm->readfn(vdev, *ppos, count, in vfio_config_do_rw()