Lines Matching refs:core_vdev

11 static int vfio_cdx_open_device(struct vfio_device *core_vdev)  in vfio_cdx_open_device()  argument
14 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_open_device()
15 struct cdx_device *cdx_dev = to_cdx_device(core_vdev->dev); in vfio_cdx_open_device()
42 ret = cdx_dev_reset(core_vdev->dev); in vfio_cdx_open_device()
57 static void vfio_cdx_close_device(struct vfio_device *core_vdev) in vfio_cdx_close_device() argument
60 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_close_device()
63 cdx_dev_reset(core_vdev->dev); in vfio_cdx_close_device()
67 static int vfio_cdx_bm_ctrl(struct vfio_device *core_vdev, u32 flags, in vfio_cdx_bm_ctrl() argument
73 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_bm_ctrl()
74 struct cdx_device *cdx_dev = to_cdx_device(core_vdev->dev); in vfio_cdx_bm_ctrl()
132 static int vfio_cdx_ioctl_get_region_info(struct vfio_device *core_vdev, in vfio_cdx_ioctl_get_region_info() argument
137 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_ioctl_get_region_info()
206 static long vfio_cdx_ioctl(struct vfio_device *core_vdev, in vfio_cdx_ioctl() argument
210 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_ioctl()
221 return cdx_dev_reset(core_vdev->dev); in vfio_cdx_ioctl()
247 static int vfio_cdx_mmap(struct vfio_device *core_vdev, in vfio_cdx_mmap() argument
251 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_mmap()
252 struct cdx_device *cdx_dev = to_cdx_device(core_vdev->dev); in vfio_cdx_mmap()