Searched refs:vcdev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/s390/virtio/ |
H A D | virtio_ccw.c | 77 static inline unsigned long *indicators(struct virtio_ccw_device *vcdev) in indicators() argument 79 return &vcdev->dma_area->indicators; in indicators() 82 static inline unsigned long *indicators2(struct virtio_ccw_device *vcdev) in indicators2() argument 84 return &vcdev->dma_area->indicators2; in indicators2() 298 static void virtio_ccw_drop_indicators(struct virtio_ccw_device *vcdev) in virtio_ccw_drop_indicators() argument 302 if (!vcdev->airq_info) in virtio_ccw_drop_indicators() 304 list_for_each_entry(info, &vcdev->virtqueues, node) in virtio_ccw_drop_indicators() 305 drop_airq_indicator(info->vq, vcdev->airq_info); in virtio_ccw_drop_indicators() 308 static int doing_io(struct virtio_ccw_device *vcdev, __u32 flag) in doing_io() argument 313 spin_lock_irqsave(get_ccwdev_lock(vcdev->cdev), flags); in doing_io() [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | ccw.c | 57 static inline void warn_once_pfch(VFIOCCWDevice *vcdev, SubchDev *sch, in warn_once_pfch() argument 60 warn_report_once_cond(&vcdev->warned_orb_pfch, in warn_once_pfch() 80 VFIOCCWDevice *vcdev = VFIO_CCW(sch->driver_data); in vfio_ccw_handle_request() local 81 struct ccw_io_region *region = vcdev->io_region; in vfio_ccw_handle_request() 84 if (!(sch->orb.ctrl0 & ORB_CTRL0_MASK_PFCH) && vcdev->force_orb_pfch) { in vfio_ccw_handle_request() 86 warn_once_pfch(vcdev, sch, "PFCH flag forced"); in vfio_ccw_handle_request() 99 ret = pwrite(vcdev->vdev.fd, region, in vfio_ccw_handle_request() 100 vcdev->io_region_size, vcdev->io_region_offset); in vfio_ccw_handle_request() 101 if (ret != vcdev->io_region_size) { in vfio_ccw_handle_request() 128 VFIOCCWDevice *vcdev = VFIO_CCW(sch->driver_data); in vfio_ccw_handle_store() local [all …]
|