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()
212 static long vfio_cdx_ioctl(struct vfio_device *core_vdev, in vfio_cdx_ioctl() argument
216 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_ioctl()
229 return cdx_dev_reset(core_vdev->dev); in vfio_cdx_ioctl()
255 static int vfio_cdx_mmap(struct vfio_device *core_vdev, in vfio_cdx_mmap() argument
259 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_mmap()
260 struct cdx_device *cdx_dev = to_cdx_device(core_vdev->dev); in vfio_cdx_mmap()