Home
last modified time | relevance | path

Searched refs:config (Results 101 – 125 of 507) sorted by relevance

12345678910>>...21

/qemu/hw/virtio/
H A Dvdpa-dev.c142 v->config = g_malloc0(v->config_size); in vhost_vdpa_device_realize()
144 ret = vhost_dev_get_config(&v->dev, v->config, v->config_size, NULL); in vhost_vdpa_device_realize()
161 g_free(v->config); in vhost_vdpa_device_realize()
186 g_free(s->config); in vhost_vdpa_device_unrealize()
195 vhost_vdpa_device_get_config(VirtIODevice *vdev, uint8_t *config) in vhost_vdpa_device_get_config() argument
200 ret = vhost_dev_get_config(&s->dev, s->config, s->config_size, in vhost_vdpa_device_get_config()
206 memcpy(config, s->config, s->config_size); in vhost_vdpa_device_get_config()
210 vhost_vdpa_device_set_config(VirtIODevice *vdev, const uint8_t *config) in vhost_vdpa_device_set_config() argument
215 ret = vhost_dev_set_config(&s->dev, s->config, 0, s->config_size, in vhost_vdpa_device_set_config()
/qemu/hw/pci-bridge/
H A Dsimba.c55 pci_set_word(dev->config + PCI_COMMAND, PCI_COMMAND_MEMORY); in simba_pci_bridge_realize()
56 pci_set_word(dev->config + PCI_STATUS, in simba_pci_bridge_realize()
61 pci_set_word(dev->config + PCI_IO_BASE, PCI_IO_RANGE_TYPE_32); in simba_pci_bridge_realize()
62 pci_set_word(dev->config + PCI_IO_LIMIT, PCI_IO_RANGE_TYPE_32); in simba_pci_bridge_realize()
/qemu/hw/xtensa/
H A Dxtfpga.c252 freq = env->config->clock_freq_khz * 1000; in xtfpga_init()
279 XtensaMemory sysram = env->config->sysram; in xtfpga_init()
282 xtensa_create_memory_regions(&env->config->instrom, "xtensa.instrom", in xtfpga_init()
284 xtensa_create_memory_regions(&env->config->instram, "xtensa.instram", in xtfpga_init()
320 uint32_t tagptr = env->config->sysrom.location[0].addr + in xtfpga_init()
325 .start = tswap32(env->config->sysram.location[0].addr), in xtfpga_init()
326 .end = tswap32(env->config->sysram.location[0].addr + in xtfpga_init()
333 lowmem_end += env->config->sysram.location[0].addr; in xtfpga_init()
334 cur_lowmem += env->config->sysram.location[0].addr; in xtfpga_init()
336 xtensa_create_memory_regions(&env->config->sysrom, "xtensa.sysrom", in xtfpga_init()
[all …]
H A DKconfig1 config XTENSA_SIM
6 config XTENSA_VIRT
14 config XTENSA_XTFPGA
/qemu/pc-bios/optionrom/
H A DMakefile1 include config.mak
31 config-cc.mak: Makefile
36 $(call cc-option,-Wno-array-bounds)) 3> config-cc.mak
37 -include config-cc.mak
64 rm -f config-cc.mak
/qemu/pc-bios/s390-ccw/
H A Dvirtio.c232 vdev->config.blk.blk_size = 0; /* mark "illegal" - setup started... */ in virtio_setup_ccw()
245 cfg_size = sizeof(vdev->config.net); in virtio_setup_ccw()
250 cfg_size = sizeof(vdev->config.blk); in virtio_setup_ccw()
255 cfg_size = sizeof(vdev->config.scsi); in virtio_setup_ccw()
277 rc = run_ccw(vdev, CCW_CMD_READ_CONF, &vdev->config, cfg_size, false); in virtio_setup_ccw()
287 VqConfig config = { in virtio_setup_ccw() local
292 rc = run_ccw(vdev, CCW_CMD_READ_VQ_CONF, &config, sizeof(config), false); in virtio_setup_ccw()
294 info.num = config.num; in virtio_setup_ccw()
H A DMakefile5 include config-host.mak
50 config-cc.mak: Makefile
55 $(call cc-option,-march=z900,-march=z10)) 3> config-cc.mak
56 -include config-cc.mak
79 rm -f config-cc.mak
82 $(SRC_PATH)/../../.git-submodule-status: git-submodule-update config-host.mak
H A Dvirtio-scsi.c215 debug_print_int("config.scsi.max_channel", vdev->config.scsi.max_channel); in virtio_scsi_locate_device()
216 debug_print_int("config.scsi.max_target ", vdev->config.scsi.max_target); in virtio_scsi_locate_device()
217 debug_print_int("config.scsi.max_lun ", vdev->config.scsi.max_lun); in virtio_scsi_locate_device()
218 debug_print_int("config.scsi.max_sectors", vdev->config.scsi.max_sectors); in virtio_scsi_locate_device()
226 IPL_check(sdev->target <= vdev->config.scsi.max_target, "target# high"); in virtio_scsi_locate_device()
227 IPL_check(sdev->lun <= vdev->config.scsi.max_lun, "LUN# high"); in virtio_scsi_locate_device()
231 for (target = 0; target <= vdev->config.scsi.max_target; target++) { in virtio_scsi_locate_device()
277 unsigned int max_transfer = MIN_NON_ZERO(vdev->config.scsi.max_sectors, in virtio_scsi_read_many()
441 IPL_assert(vdev->config.scsi.sense_size == VIRTIO_SCSI_SENSE_SIZE, in virtio_scsi_setup_device()
443 IPL_assert(vdev->config.scsi.cdb_size == VIRTIO_SCSI_CDB_SIZE, in virtio_scsi_setup_device()
/qemu/roms/
H A Dconfigure-seabios.sh2 config="$1"
4 cp "$config" seabios/.config
/qemu/hw/nvram/
H A Dnrf51_nvm.c207 r = s->config; in io_read()
225 s->config = value & NRF51_NVMC_CONFIG_MASK; in io_write()
229 if (s->config & NRF51_NVMC_CONFIG_EEN) { in io_write()
245 if (s->config & NRF51_NVMC_CONFIG_EEN) { in io_write()
290 if (s->config & NRF51_NVMC_CONFIG_WEN) { in flash_write()
353 s->config = 0x00; in nrf51_nvm_reset()
369 VMSTATE_UINT32(config, NRF51NVMState),
/qemu/hw/misc/
H A Dbcm2835_mbox.c62 mb->config = 0; in mbox_reset()
122 s->mbox[0].config &= ~ARM_MC_IHAVEDATAIRQPEND; in bcm2835_mbox_update()
124 s->mbox[0].config |= ARM_MC_IHAVEDATAIRQPEND; in bcm2835_mbox_update()
125 if (s->mbox[0].config & ARM_MC_IHAVEDATAIRQEN) { in bcm2835_mbox_update()
175 res = s->mbox[0].config; in bcm2835_mbox_read()
210 s->mbox[0].config &= ~ARM_MC_IHAVEDATAIRQEN; in bcm2835_mbox_write()
211 s->mbox[0].config |= value & ARM_MC_IHAVEDATAIRQEN; in bcm2835_mbox_write()
264 VMSTATE_UINT32(config, BCM2835Mbox),
/qemu/hw/tricore/
H A DKconfig1 config TRICORE_TESTBOARD
6 config TRIBOARD
12 config TC27X_SOC
/qemu/hw/usb/
H A Ddesc.c98 d->u.config.bMaxPower = conf->bMaxPower; in usb_desc_config()
122 d->u.config.wTotalLength_lo = usb_lo(wTotalLength); in usb_desc_config()
123 d->u.config.wTotalLength_hi = usb_hi(wTotalLength); in usb_desc_config()
400 if (!dev->config) { in usb_desc_find_interface()
403 for (g = 0; g < dev->config->nif_groups; g++) { in usb_desc_find_interface()
412 for (i = 0; i < dev->config->nif; i++) { in usb_desc_find_interface()
413 iface = &dev->config->ifs[i]; in usb_desc_find_interface()
450 dev->config = NULL; in usb_desc_set_config()
732 data[0] = dev->config ? dev->config->bConfigurationValue : 0; in usb_desc_handle_control()
742 const USBDescConfig *config = dev->config ? in usb_desc_handle_control() local
[all …]
/qemu/backends/tpm/
H A DKconfig1 config TPM_BACKEND
5 config TPM_PASSTHROUGH
11 config TPM_EMULATOR
/qemu/hw/sd/
H A Dbcm2835_sdhost.c145 if ((s->cmd & SDCMD_BUSYWAIT) && (s->config & SDHCFG_BUSY_IRPT_EN)) { in bcm2835_sdhost_send_command()
201 if (s->config & SDHCFG_DATA_IRPT_EN) { in bcm2835_sdhost_fifo_run()
211 if (s->config & SDHCFG_DATA_IRPT_EN) { in bcm2835_sdhost_fifo_run()
221 if (s->config & SDHCFG_DATA_IRPT_EN) { in bcm2835_sdhost_fifo_run()
240 (s->config & SDHCFG_BLOCK_IRPT_EN)) { in bcm2835_sdhost_fifo_run()
245 if (s->config & SDHCFG_DATA_IRPT_EN) { in bcm2835_sdhost_fifo_run()
348 s->config = value; in bcm2835_sdhost_write()
389 VMSTATE_UINT32(config, BCM2835SDHostState),
423 s->config = 0; in bcm2835_sdhost_reset()
/qemu/tests/vm/
H A Dbasevm.py108 if config != None:
538 def parse_config(config, args): argument
543 if args.config:
544 config_file = args.config
548 return config
571 return config
635 def main(vmcls, config=None): argument
637 if config == None:
638 config = DEFAULT_CONFIG
643 config = parse_config(config, args)
[all …]
/qemu/target/xtensa/
H A Dwin_helper.c38 assert(phys < env->config->nareg); in copy_window_from_phys()
39 if (phys + n <= env->config->nareg) { in copy_window_from_phys()
43 uint32_t n1 = env->config->nareg - phys; in copy_window_from_phys()
54 assert(phys < env->config->nareg); in copy_phys_from_window()
55 if (phys + n <= env->config->nareg) { in copy_phys_from_window()
59 uint32_t n1 = env->config->nareg - phys; in copy_phys_from_window()
69 return a & (env->config->nareg / 4 - 1); in windowbase_bound()
/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-aarch64.yml21 || { cat config.log meson-logs/meson-log.txt; exit 1; }
44 || { cat config.log meson-logs/meson-log.txt; exit 1; }
66 || { cat config.log meson-logs/meson-log.txt; exit 1; }
84 || { cat config.log meson-logs/meson-log.txt; exit 1; }
107 || { cat config.log meson-logs/meson-log.txt; exit 1; }
128 || { cat config.log meson-logs/meson-log.txt; exit 1; }
149 || { cat config.log meson-logs/meson-log.txt; exit 1; }
H A Dubuntu-22.04-s390x.yml19 || { cat config.log meson-logs/meson-log.txt; exit 1; }
39 || { cat config.log meson-logs/meson-log.txt; exit 1; }
61 || { cat config.log meson-logs/meson-log.txt; exit 1; }
84 || { cat config.log meson-logs/meson-log.txt; exit 1; }
105 || { cat config.log meson-logs/meson-log.txt; exit 1; }
126 || { cat config.log meson-logs/meson-log.txt; exit 1; }
/qemu/hw/sh4/
H A DKconfig1 config R2D
16 config SHIX
23 config SH7750
/qemu/hw/microblaze/
H A DKconfig1 config PETALOGIX_S3ADSP1800
11 config PETALOGIX_ML605
23 config XLNX_ZYNQMP_PMU
/qemu/tests/data/acpi/
H A Drebuild-expected-aml.sh23 if grep TARGET_DIRS= config-host.mak; then
25 if grep TARGET_DIRS= config-host.mak | grep "$arch"-softmmu;
52 eval `grep SRC_PATH= config-host.mak`
/qemu/tests/tcg/aarch64/
H A DMakefile.softmmu-target22 config-cc.mak: Makefile
24 $(call cc-option,-march=armv8.3-a, CROSS_CC_HAS_ARMV8_3)) 3> config-cc.mak
25 -include config-cc.mak
48 QEMU_BASE_ARGS=-semihosting-config enable=on,target=native,chardev=output
52 QEMU_SEMIHOST=-serial none -chardev stdio,mux=on,id=stdio0 -semihosting-config enable=on,chardev=st…
/qemu/
H A Dconfigure67 TMPDIR1="config-temp"
79 rm -f config.log
81 # Print a helpful header at the top of config.log
82 echo "# QEMU configure log $(date)" >> config.log
83 printf "# Configured with:" >> config.log
87 { echo "$invoke"; echo; echo "#"; } >> config.log
110 echo >>config.log "
114 echo $compiler "$@" >> config.log
115 $compiler "$@" >> config.log 2>&1 || return $?
317 pkg_config="${PKG_CONFIG-${cross_prefix}pkg-config}"
[all...]
/qemu/net/
H A Dslirp.c451 struct slirp_config_str *config; in net_slirp_init() local
669 for (config = slirp_configs; config; config = config->next) { in net_slirp_init()
1146 config = g_malloc0(sizeof(*config)); in net_init_slirp_configs()
1147 pstrcpy(config->str, sizeof(config->str), fwd->value->str); in net_init_slirp_configs()
1148 config->flags = flags; in net_init_slirp_configs()
1149 config->next = slirp_configs; in net_init_slirp_configs()
1150 slirp_configs = config; in net_init_slirp_configs()
1184 struct slirp_config_str *config; in net_init_slirp() local
1224 config = slirp_configs; in net_init_slirp()
1225 slirp_configs = config->next; in net_init_slirp()
[all …]

12345678910>>...21