Searched refs:readfn (Results 1 – 1 of 1) sorted by relevance
111 int (*readfn)(struct vfio_pci_core_device *vdev, int pos, int count, member317 [0 ... PCI_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }320 [0 ... PCI_EXT_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }329 .readfn = vfio_raw_config_read,334 .readfn = vfio_virt_config_read,369 perm->readfn = vfio_default_config_read; in alloc_perm_bits()656 perm->readfn = vfio_basic_config_read; in init_pci_cap_basic_perm()1199 perm->readfn = vfio_msi_config_read; in init_pci_cap_msi_perm()1924 if (perm->readfn) { in vfio_config_do_rw()1925 ret = perm->readfn(vdev, *ppos, count, in vfio_config_do_rw()