Lines Matching refs:caps
23 static int zpci_base_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_base_cap() argument
38 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_base_cap()
44 static int zpci_group_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_group_cap() argument
60 return vfio_info_add_capability(caps, &cap.header, sizeof(cap)); in zpci_group_cap()
66 static int zpci_util_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_util_cap() argument
81 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_util_cap()
91 static int zpci_pfip_cap(struct zpci_dev *zdev, struct vfio_info_cap *caps) in zpci_pfip_cap() argument
106 ret = vfio_info_add_capability(caps, &cap->header, cap_size); in zpci_pfip_cap()
117 struct vfio_info_cap *caps) in vfio_pci_info_zdev_add_caps() argument
125 ret = zpci_base_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
129 ret = zpci_group_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
134 ret = zpci_util_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()
139 ret = zpci_pfip_cap(zdev, caps); in vfio_pci_info_zdev_add_caps()