Home
last modified time | relevance | path

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

/drivers/vfio/pci/
Dvfio_pci_config.c116 int (*readfn)(struct vfio_pci_device *vdev, int pos, int count, member
322 [0 ... PCI_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
325 [0 ... PCI_EXT_CAP_ID_MAX] = { .readfn = vfio_direct_config_read }
334 .readfn = vfio_raw_config_read,
339 .readfn = vfio_virt_config_read,
374 perm->readfn = vfio_default_config_read; in alloc_perm_bits()
628 perm->readfn = vfio_basic_config_read; in init_pci_cap_basic_perm()
1132 perm->readfn = vfio_msi_config_read; in init_pci_cap_msi_perm()
1792 if (perm->readfn) { in vfio_config_do_rw()
1793 ret = perm->readfn(vdev, *ppos, count, in vfio_config_do_rw()