Lines Matching +full:0 +full:x100b0000

20  *				.start = 0x1001e000,
21 * .end = 0x1001e0ff,
35 * reg = <0x1e000 0x100>;
49 * virtio_mmio.device=0x100@0x100b0000:48 \
50 * virtio_mmio.device=1K@0x1001e000:74
118 writel(0, vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES_SEL); in vm_get_features()
142 writel(0, vm_dev->base + VIRTIO_MMIO_DRIVER_FEATURES_SEL); in vm_finalize_features()
146 return 0; in vm_finalize_features()
162 for (i = 0; i < len; i++) in vm_get()
204 for (i = 0; i < len; i++) in vm_set()
239 return 0; in vm_generation()
248 return readl(vm_dev->base + VIRTIO_MMIO_STATUS) & 0xff; in vm_get_status()
255 /* We should never be setting status to 0. */ in vm_set_status()
256 BUG_ON(status == 0); in vm_set_status()
270 /* 0 status means a reset. */ in vm_reset()
271 writel(0, vm_dev->base + VIRTIO_MMIO_STATUS); in vm_reset()
343 writel(0, vm_dev->base + VIRTIO_MMIO_QUEUE_PFN); in vm_del_vq()
345 writel(0, vm_dev->base + VIRTIO_MMIO_QUEUE_READY); in vm_del_vq()
362 free_irq(platform_get_irq(vm_dev->pdev, 0), vm_dev); in vm_del_vqs()
369 synchronize_irq(platform_get_irq(vm_dev->pdev, 0)); in vm_synchronize_cbs()
410 if (num == 0) { in vm_setup_vq()
437 "platform bug: legacy virtio-mmio must not be used with RAM above 0x%llxGB\n", in vm_setup_vq()
438 0x1ULL << (32 + PAGE_SHIFT - 30)); in vm_setup_vq()
479 writel(0, vm_dev->base + VIRTIO_MMIO_QUEUE_PFN); in vm_setup_vq()
481 writel(0, vm_dev->base + VIRTIO_MMIO_QUEUE_READY); in vm_setup_vq()
496 int irq = platform_get_irq(vm_dev->pdev, 0); in vm_find_vqs()
497 int i, err, queue_idx = 0; in vm_find_vqs()
499 if (irq < 0) in vm_find_vqs()
510 for (i = 0; i < nvqs; ++i) { in vm_find_vqs()
526 return 0; in vm_find_vqs()
554 if (len == ~(u64)0) in vm_get_shm_region()
633 vm_dev->base = devm_platform_ioremap_resource(pdev, 0); in virtio_mmio_probe()
642 dev_warn(&pdev->dev, "Wrong magic value 0x%08lx!\n", magic); in virtio_mmio_probe()
657 if (vm_dev->vdev.id.device == 0) { in virtio_mmio_probe()
659 * virtio-mmio device with an ID 0 is a (dummy) placeholder in virtio_mmio_probe()
726 int processed, consumed = 0; in vm_cmdline_set()
740 * str[consumed] must be '\0' in vm_cmdline_set()
742 if (processed < 2 || str[consumed] || irq == 0) in vm_cmdline_set()
745 resources[0].flags = IORESOURCE_MEM; in vm_cmdline_set()
746 resources[0].start = base; in vm_cmdline_set()
747 resources[0].end = base + size - 1; in vm_cmdline_set()
762 pr_info("Registering device virtio-mmio.%d at 0x%llx-0x%llx, IRQ %d.\n", in vm_cmdline_set()
764 (unsigned long long)resources[0].start, in vm_cmdline_set()
765 (unsigned long long)resources[0].end, in vm_cmdline_set()
770 resources, ARRAY_SIZE(resources), NULL, 0); in vm_cmdline_set()
781 snprintf(buffer + len, PAGE_SIZE - len, "0x%llx@0x%llx:%llu:%d\n", in vm_cmdline_get_device()
782 pdev->resource[0].end - pdev->resource[0].start + 1ULL, in vm_cmdline_get_device()
783 (unsigned long long)pdev->resource[0].start, in vm_cmdline_get_device()
786 return 0; in vm_cmdline_get_device()
791 buffer[0] = '\0'; in vm_cmdline_get()
809 return 0; in vm_unregister_cmdline_device()
818 vm_cmdline_parent_registered = 0; in vm_unregister_cmdline_devices()