Home
last modified time | relevance | path

Searched refs:object_property_set_int (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/qemu/hw/arm/
H A Dorangepi.c57 object_property_set_int(OBJECT(h3), "clk0-freq", 32768, &error_abort); in orangepi_init()
58 object_property_set_int(OBJECT(h3), "clk1-freq", 24 * 1000 * 1000, in orangepi_init()
70 object_property_set_int(OBJECT(&h3->emac), "phy-addr", 1, &error_abort); in orangepi_init()
75 object_property_set_int(OBJECT(h3), "ram-size", machine->ram_size / MiB, in orangepi_init()
H A Dcubieboard.c59 if (!object_property_set_int(OBJECT(&a10->emac), "phy-addr", 1, &err)) { in cubieboard_init()
64 if (!object_property_set_int(OBJECT(&a10->timer), "clk0-freq", 32768, in cubieboard_init()
70 if (!object_property_set_int(OBJECT(&a10->timer), "clk1-freq", 24000000, in cubieboard_init()
H A Dbananapi_m2u.c79 object_property_set_int(OBJECT(r40), "clk0-freq", 32768, &error_abort); in bpim2u_init()
80 object_property_set_int(OBJECT(r40), "clk1-freq", 24 * 1000 * 1000, in bpim2u_init()
87 object_property_set_int(OBJECT(r40), "ram-size", in bpim2u_init()
H A Dxlnx-versal.c57 object_property_set_int(obj, "core-count", ARRAY_SIZE(s->fpd.apu.cpu), in versal_create_apu_cpus()
158 object_property_set_int(obj, "mp-affinity", 0x100 | i, &error_abort); in versal_create_rpu_cpus()
159 object_property_set_int(obj, "core-count", ARRAY_SIZE(s->lpd.rpu.cpu), in versal_create_rpu_cpus()
209 object_property_set_int(OBJECT(&s->lpd.iou.canfd[i]), "ext_clk_freq", in versal_create_canfds()
270 object_property_set_int(OBJECT(dev), "phy-addr", 23, &error_abort); in versal_create_gems()
271 object_property_set_int(OBJECT(dev), "num-priority-queues", 2, in versal_create_gems()
273 object_property_set_int(OBJECT(or_irq), in versal_create_gems()
303 object_property_set_int(OBJECT(dev), "bus-width", 128, &error_abort); in versal_create_admas()
361 object_property_set_int(OBJECT(orgate), in versal_create_pmc_apb_irq_orgate()
413 object_property_set_int(OBJECT(orgate), in versal_create_xrams()
[all …]
H A Darmsse.c1094 if (!object_property_set_int(splitter, "num-lines", in armsse_realize()
1129 object_property_set_int(OBJECT(&s->secctl), "sse-version", in armsse_realize()
1146 if (!object_property_set_int(OBJECT(&s->sec_resp_splitter), in armsse_realize()
1185 if (!object_property_set_int(OBJECT(&s->mpc_irq_orgate), "num-lines", in armsse_realize()
1197 if (!object_property_set_int(OBJECT(&s->nmi_orgate), "num-lines", 2, in armsse_realize()
1293 object_property_set_int(OBJECT(&s->sysinfo), "SYS_VERSION", in armsse_realize()
1295 object_property_set_int(OBJECT(&s->sysinfo), "SYS_CONFIG", in armsse_realize()
1298 object_property_set_int(OBJECT(&s->sysinfo), "sse-version", in armsse_realize()
1300 object_property_set_int(OBJECT(&s->sysinfo), "IIDR", in armsse_realize()
1310 object_property_set_int(OBJECT(&s->sysctl), "sse-version", in armsse_realize()
[all …]
H A Dfby35.c83 object_property_set_int(OBJECT(&s->bmc), "ram-size", FBY35_BMC_RAM_SIZE, in fby35_bmc_init()
89 object_property_set_int(OBJECT(&s->bmc), "hw-strap1", 0x000000C0, in fby35_bmc_init()
91 object_property_set_int(OBJECT(&s->bmc), "hw-strap2", 0x00000003, in fby35_bmc_init()
H A Dbcm2838_peripherals.c48 object_property_set_int(OBJECT(&s->mmc_irq_orgate), "num-lines", 2, in bcm2838_peripherals_init()
53 object_property_set_int(OBJECT(&s->dma_7_8_irq_orgate), "num-lines", 2, in bcm2838_peripherals_init()
58 object_property_set_int(OBJECT(&s->dma_9_10_irq_orgate), "num-lines", 2, in bcm2838_peripherals_init()
H A Daspeed.c402 object_property_set_int(OBJECT(bmc->soc), "hw-strap1", bmc->hw_strap1, in aspeed_machine_init()
404 object_property_set_int(OBJECT(bmc->soc), "hw-strap2", amc->hw_strap2, in aspeed_machine_init()
422 object_property_set_int(OBJECT(bmc->soc), "hw-prot-key", in aspeed_machine_init()
502 object_property_set_int(OBJECT(dev), "temperature0", 31000, &error_abort); in palmetto_bmc_i2c_init()
503 object_property_set_int(OBJECT(dev), "temperature1", 28000, &error_abort); in palmetto_bmc_i2c_init()
504 object_property_set_int(OBJECT(dev), "temperature2", 20000, &error_abort); in palmetto_bmc_i2c_init()
505 object_property_set_int(OBJECT(dev), "temperature3", 110000, &error_abort); in palmetto_bmc_i2c_init()
729 object_property_set_int(OBJECT(dev), "temperature0", 31000, &error_abort); in g220a_bmc_i2c_init()
730 object_property_set_int(OBJECT(dev), "temperature1", 28000, &error_abort); in g220a_bmc_i2c_init()
731 object_property_set_int(OBJECT(dev), "temperature2", 20000, &error_abort); in g220a_bmc_i2c_init()
[all …]
H A Dxlnx-zynqmp.c535 object_property_set_int(OBJECT(&s->apu_cpu[i]), "reset-cbar", in xlnx_zynqmp_realize()
537 object_property_set_int(OBJECT(&s->apu_cpu[i]), "core-count", in xlnx_zynqmp_realize()
624 object_property_set_int(OBJECT(&s->gem[i]), "revision", GEM_REVISION, in xlnx_zynqmp_realize()
626 object_property_set_int(OBJECT(&s->gem[i]), "phy-addr", 23, in xlnx_zynqmp_realize()
628 object_property_set_int(OBJECT(&s->gem[i]), "num-priority-queues", 2, in xlnx_zynqmp_realize()
630 object_property_set_int(OBJECT(&s->gem_irq_orgate[i]), in xlnx_zynqmp_realize()
656 object_property_set_int(OBJECT(&s->can[i]), "ext_clk_freq", in xlnx_zynqmp_realize()
672 object_property_set_int(OBJECT(&s->sata), "num-ports", SATA_NUM_PORTS, in xlnx_zynqmp_realize()
797 object_property_set_int(OBJECT(&s->qspi_irq_orgate), in xlnx_zynqmp_realize()
H A Daspeed_ast2600.c261 object_property_set_int(OBJECT(&s->sdhci), "num-slots", 2, &error_abort); in aspeed_soc_ast2600_init()
271 object_property_set_int(OBJECT(&s->emmc), "num-slots", 1, &error_abort); in aspeed_soc_ast2600_init()
346 object_property_set_int(OBJECT(&a->cpu[i]), "reset-cbar", in aspeed_soc_ast2600_realize()
349 object_property_set_int(OBJECT(&a->cpu[i]), "mp-affinity", in aspeed_soc_ast2600_realize()
352 object_property_set_int(OBJECT(&a->cpu[i]), "cntfrq", 1125000000, in aspeed_soc_ast2600_realize()
367 object_property_set_int(OBJECT(&a->a7mpcore), "num-cpu", sc->num_cpus, in aspeed_soc_ast2600_realize()
369 object_property_set_int(OBJECT(&a->a7mpcore), "num-irq", in aspeed_soc_ast2600_realize()
H A Dmps2.c276 object_property_set_int(orgate, "num-lines", 6, &error_fatal); in mps2_common_init()
319 object_property_set_int(orgate, "num-lines", 10, &error_fatal); in mps2_common_init()
335 object_property_set_int(txrx_orgate, "num-lines", 2, &error_fatal); in mps2_common_init()
427 object_property_set_int(orgate, "num-lines", 2, &error_fatal); in mps2_common_init()
H A Dnpcm7xx.c490 object_property_set_int(OBJECT(&s->cpu[i]), "reset-cbar", in npcm7xx_realize()
505 object_property_set_int(OBJECT(&s->a9mpcore), "num-cpu", nc->num_cpus, in npcm7xx_realize()
507 object_property_set_int(OBJECT(&s->a9mpcore), "num-irq", NPCM7XX_NUM_IRQ, in npcm7xx_realize()
523 object_property_set_int(OBJECT(&s->gcr), "disabled-modules", in npcm7xx_realize()
736 object_property_set_int(OBJECT(sbd), "cs-count", in npcm7xx_realize()
H A Daspeed_ast27x0.c389 object_property_set_int(OBJECT(&s->sdhci), "num-slots", 1, &error_abort); in aspeed_soc_ast2700_init()
396 object_property_set_int(OBJECT(&s->emmc), "num-slots", 1, &error_abort); in aspeed_soc_ast2700_init()
492 object_property_set_int(OBJECT(&a->cpu[i]), "mp-affinity", in aspeed_soc_ast2700_realize()
495 object_property_set_int(OBJECT(&a->cpu[i]), "cntfrq", 1125000000, in aspeed_soc_ast2700_realize()
555 object_property_set_int(OBJECT(&s->fmc), "dram-base", in aspeed_soc_ast2700_realize()
H A Dxilinx_zynq.c125 object_property_set_int(OBJECT(dev), "phy-addr", 7, &error_abort); in gem_init()
223 object_property_set_int(cpuobj, "midr", ZYNQ_BOARD_MIDR, in zynq_init()
225 object_property_set_int(cpuobj, "reset-cbar", MPCORE_PERIPHBASE, in zynq_init()
H A Dbcm2836.c132 object_property_set_int(OBJECT(&s_base->cpu[n].core), "mp-affinity", in bcm2836_realize()
136 object_property_set_int(OBJECT(&s_base->cpu[n].core), "reset-cbar", in bcm2836_realize()
H A Dexynos4210.c537 object_property_set_int(OBJECT(orgate), "num-lines", nevents + 1, in pl330_create()
568 object_property_set_int(cpuobj, "mp-affinity", in exynos4210_realize()
570 object_property_set_int(cpuobj, "reset-cbar", in exynos4210_realize()
579 object_property_set_int(OBJECT(orgate), "num-lines", in exynos4210_realize()
H A Dbcm2838.c90 object_property_set_int(OBJECT(&s_base->cpu[n].core), "mp-affinity", in bcm2838_realize()
94 object_property_set_int(OBJECT(&s_base->cpu[n].core), "reset-cbar", in bcm2838_realize()
H A Dsabrelite.c56 object_property_set_int(OBJECT(s), "fec-phy-num", 6, &error_fatal); in sabrelite_init()
H A Dfsl-imx6.c129 object_property_set_int(OBJECT(&s->cpu[i]), "reset-cbar", in fsl_imx6_realize()
144 object_property_set_int(OBJECT(&s->a9mpcore), "num-cpu", smp_cpus, in fsl_imx6_realize()
147 object_property_set_int(OBJECT(&s->a9mpcore), "num-irq", in fsl_imx6_realize()
/openbmc/qemu/hw/ppc/
H A Dpnv.c900 object_property_set_int(OBJECT(dev), "irq", irq, &error_fatal); in pnv_ipmi_bt_init()
1124 object_property_set_int(chip, "ram-start", chip_ram_start, in pnv_init()
1126 object_property_set_int(chip, "ram-size", chip_ram_size, in pnv_init()
1132 object_property_set_int(chip, "chip-id", i, &error_fatal); in pnv_init()
1133 object_property_set_int(chip, "nr-cores", machine->smp.cores, in pnv_init()
1135 object_property_set_int(chip, "nr-threads", machine->smp.threads, in pnv_init()
1530 object_property_set_int(OBJECT(psi8), "bar", PNV_PSIHB_BASE(chip), in pnv_chip_power8_realize()
1588 object_property_set_int(OBJECT(phb), "index", i, &error_fatal); in pnv_chip_power8_realize()
1589 object_property_set_int(OBJECT(phb), "chip-id", chip->chip_id, in pnv_chip_power8_realize()
1726 object_property_set_int(OBJECT(eq), "quad-id", core_id, &error_fatal); in pnv_chip_quad_realize_one()
[all …]
/openbmc/qemu/target/i386/
H A Dhost-cpu.c154 object_property_set_int(OBJECT(cpu), "family", family, &error_abort); in host_cpu_max_instance_init()
155 object_property_set_int(OBJECT(cpu), "model", model, &error_abort); in host_cpu_max_instance_init()
156 object_property_set_int(OBJECT(cpu), "stepping", stepping, in host_cpu_max_instance_init()
/openbmc/qemu/hw/mips/
H A Dcps.c125 object_property_set_int(OBJECT(&s->cpc), "vp-start-running", 1, in mips_cps_realize()
153 object_property_set_int(OBJECT(&s->gcr), "gcr-rev", 0x800, in mips_cps_realize()
155 object_property_set_int(OBJECT(&s->gcr), "gcr-base", gcr_base, in mips_cps_realize()
/openbmc/qemu/hw/usb/
H A Ddev-storage-classic.c116 object_property_set_int(OBJECT(s->scsi_dev), "bootindex", boot_index, in usb_msd_set_bootindex()
129 object_property_set_int(obj, "bootindex", -1, NULL); in usb_msd_instance_init()
/openbmc/qemu/hw/riscv/
H A Dmicrochip_pfsoc.c416 object_property_set_int(OBJECT(&s->gem0), "revision", GEM_REVISION, errp); in microchip_pfsoc_soc_realize()
417 object_property_set_int(OBJECT(&s->gem0), "phy-addr", 8, errp); in microchip_pfsoc_soc_realize()
424 object_property_set_int(OBJECT(&s->gem1), "revision", GEM_REVISION, errp); in microchip_pfsoc_soc_realize()
425 object_property_set_int(OBJECT(&s->gem1), "phy-addr", 9, errp); in microchip_pfsoc_soc_realize()
H A Dsifive_e.c183 object_property_set_int(OBJECT(&s->cpus), "num-harts", ms->smp.cpus, in type_init()
185 object_property_set_int(OBJECT(&s->cpus), "resetvec", 0x1004, &error_abort); in type_init()

1234