Lines Matching +full:0 +full:x9020000
25 * qemu_fw_cfg.ioport=12@0x510:0:1:4 (the default on x86)
27 * qemu_fw_cfg.mmio=16@0x9020000:8:0:16 (the default on arm)
84 if ((ctrl & ~FW_CFG_DMA_CTL_ERROR) == 0) in fw_cfg_wait_for_control()
105 .address = cpu_to_be64(address ? virt_to_phys(address) : 0), in fw_cfg_dma_transfer()
144 memset(buf, 0, count); in fw_cfg_read_blob()
150 while (pos-- > 0) in fw_cfg_read_blob()
179 if (pos == 0) { in fw_cfg_write_blob()
186 if (ret < 0) in fw_cfg_write_blob()
215 # define FW_CFG_CTRL_OFF 0x08
216 # define FW_CFG_DATA_OFF 0x00
217 # define FW_CFG_DMA_OFF 0x10
219 # define FW_CFG_CTRL_OFF 0x00
220 # define FW_CFG_DATA_OFF 0x04
222 # define FW_CFG_CTRL_OFF 0x00
223 # define FW_CFG_DATA_OFF 0x02
225 # define FW_CFG_CTRL_OFF 0x00
226 # define FW_CFG_DATA_OFF 0x01
227 # define FW_CFG_DMA_OFF 0x04
241 range = platform_get_resource(pdev, IORESOURCE_IO, 0); in fw_cfg_do_platform_probe()
244 range = platform_get_resource(pdev, IORESOURCE_MEM, 0); in fw_cfg_do_platform_probe()
293 0, FW_CFG_SIG_SIZE) < 0 || in fw_cfg_do_platform_probe()
294 memcmp(sig, "QEMU", FW_CFG_SIG_SIZE) != 0) { in fw_cfg_do_platform_probe()
299 return 0; in fw_cfg_do_platform_probe()
341 0, sizeof(struct fw_cfg_vmcoreinfo)); in fw_cfg_write_vmcoreinfo()
588 strcmp(f->name, FW_CFG_VMCOREINFO_FILENAME) == 0 && in fw_cfg_register_file()
590 if (fw_cfg_write_vmcoreinfo(f) < 0) in fw_cfg_register_file()
621 return 0; in fw_cfg_register_file()
633 int ret = 0; in fw_cfg_register_dir_entries()
640 0, sizeof(files_count)); in fw_cfg_register_dir_entries()
641 if (ret < 0) in fw_cfg_register_dir_entries()
653 if (ret < 0) in fw_cfg_register_dir_entries()
656 for (i = 0; i < count; i++) { in fw_cfg_register_dir_entries()
703 err = fw_cfg_read_blob(FW_CFG_ID, &rev, 0, sizeof(rev)); in fw_cfg_sysfs_probe()
704 if (err < 0) in fw_cfg_sysfs_probe()
719 return 0; in fw_cfg_sysfs_probe()
787 #define PH_ADDR_PR_1_FMT "0x%" __PHYS_ADDR_PREFIX "x@" \
788 "0x%" __PHYS_ADDR_PREFIX "x"
803 int processed, consumed = 0; in fw_cfg_cmdline_set()
828 * so str[consumed] must be '\0'. in fw_cfg_cmdline_set()
834 res[0].start = base; in fw_cfg_cmdline_set()
835 res[0].end = base + size - 1; in fw_cfg_cmdline_set()
836 res[0].flags = !strcmp(kp->name, "mmio") ? IORESOURCE_MEM : in fw_cfg_cmdline_set()
871 (fw_cfg_cmdline_dev->resource[0].flags == IORESOURCE_MEM))) in fw_cfg_cmdline_get()
872 return 0; in fw_cfg_cmdline_get()
877 resource_size(&fw_cfg_cmdline_dev->resource[0]), in fw_cfg_cmdline_get()
878 fw_cfg_cmdline_dev->resource[0].start); in fw_cfg_cmdline_get()
881 resource_size(&fw_cfg_cmdline_dev->resource[0]), in fw_cfg_cmdline_get()
882 fw_cfg_cmdline_dev->resource[0].start, in fw_cfg_cmdline_get()
887 resource_size(&fw_cfg_cmdline_dev->resource[0]), in fw_cfg_cmdline_get()
888 fw_cfg_cmdline_dev->resource[0].start, in fw_cfg_cmdline_get()
897 return 0; in fw_cfg_cmdline_get()