Lines Matching refs:dma_area
74 struct vcdev_dma_area *dma_area; member
79 return &vcdev->dma_area->indicators; in indicators()
84 return &vcdev->dma_area->indicators2; in indicators2()
425 vcdev->dma_area->config_block.index = index; in virtio_ccw_read_vq_conf()
429 ccw->cda = (__u32)virt_to_phys(&vcdev->dma_area->config_block); in virtio_ccw_read_vq_conf()
433 return vcdev->dma_area->config_block.num ?: -ENOENT; in virtio_ccw_read_vq_conf()
746 vcdev->dma_area->status = 0; in virtio_ccw_reset()
953 u8 old_status = vcdev->dma_area->status; in virtio_ccw_get_status()
957 return vcdev->dma_area->status; in virtio_ccw_get_status()
965 ccw->count = sizeof(vcdev->dma_area->status); in virtio_ccw_get_status()
966 ccw->cda = (__u32)virt_to_phys(&vcdev->dma_area->status); in virtio_ccw_get_status()
976 return vcdev->dma_area->status; in virtio_ccw_get_status()
982 u8 old_status = vcdev->dma_area->status; in virtio_ccw_set_status()
991 vcdev->dma_area->status = status; in virtio_ccw_set_status()
995 ccw->cda = (__u32)virt_to_phys(&vcdev->dma_area->status); in virtio_ccw_set_status()
1003 vcdev->dma_area->status = old_status; in virtio_ccw_set_status()
1062 ccw_device_dma_free(vcdev->cdev, vcdev->dma_area, in virtio_ccw_release_dev()
1063 sizeof(*vcdev->dma_area)); in virtio_ccw_release_dev()
1335 vcdev->dma_area = ccw_device_dma_zalloc(vcdev->cdev, in virtio_ccw_online()
1336 sizeof(*vcdev->dma_area)); in virtio_ccw_online()
1337 if (!vcdev->dma_area) { in virtio_ccw_online()
1377 ccw_device_dma_free(vcdev->cdev, vcdev->dma_area, in virtio_ccw_online()
1378 sizeof(*vcdev->dma_area)); in virtio_ccw_online()