Lines Matching refs:config_area
879 void *config_area; in virtio_ccw_get_config() local
886 config_area = ccw_device_dma_zalloc(vcdev->cdev, in virtio_ccw_get_config()
888 if (!config_area) in virtio_ccw_get_config()
895 ccw->cda = (__u32)virt_to_phys(config_area); in virtio_ccw_get_config()
901 memcpy(vcdev->config, config_area, offset + len); in virtio_ccw_get_config()
906 memcpy(buf, config_area + offset, len); in virtio_ccw_get_config()
909 ccw_device_dma_free(vcdev->cdev, config_area, VIRTIO_CCW_CONFIG_SIZE); in virtio_ccw_get_config()
919 void *config_area; in virtio_ccw_set_config() local
926 config_area = ccw_device_dma_zalloc(vcdev->cdev, in virtio_ccw_set_config()
928 if (!config_area) in virtio_ccw_set_config()
937 memcpy(config_area, vcdev->config, sizeof(vcdev->config)); in virtio_ccw_set_config()
942 ccw->cda = (__u32)virt_to_phys(config_area); in virtio_ccw_set_config()
946 ccw_device_dma_free(vcdev->cdev, config_area, VIRTIO_CCW_CONFIG_SIZE); in virtio_ccw_set_config()