/openbmc/phosphor-state-manager/ |
H A D | obmcutil | 233 OBJECT=$CONTROL_OBJECT/host$G_INSTANCE_ID/auto_reboot 234 SERVICE=$(mapper get-service "$OBJECT") 237 output="$(get_property "$SERVICE" "$OBJECT" $INTERFACE $PROPERTY)" 341 OBJECT=$STATE_OBJECT/chassis$G_INSTANCE_ID 342 SERVICE=$(mapper get-service "$OBJECT") 348 set_property "$SERVICE" "$OBJECT" $INTERFACE $PROPERTY "s" $VALUE 352 OBJECT=$STATE_OBJECT/chassis$G_INSTANCE_ID 353 SERVICE=$(mapper get-service "$OBJECT") 359 set_property "$SERVICE" "$OBJECT" $INTERFACE $PROPERTY "s" $VALUE 362 OBJECT=$STATE_OBJECT/host$G_INSTANCE_ID [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal.c | 40 object_initialize_child(OBJECT(s), "apu-cluster", &s->fpd.apu.cluster, in versal_create_apu_cpus() 47 object_initialize_child(OBJECT(&s->fpd.apu.cluster), in versal_create_apu_cpus() 50 obj = OBJECT(&s->fpd.apu.cpu[i]); in versal_create_apu_cpus() 59 object_property_set_link(obj, "memory", OBJECT(&s->fpd.apu.mr), in versal_create_apu_cpus() 79 object_initialize_child(OBJECT(s), "apu-gic", &s->fpd.apu.gic, in versal_create_apu_gic() 144 object_initialize_child(OBJECT(s), "rpu-cluster", &s->lpd.rpu.cluster, in versal_create_rpu_cpus() 151 object_initialize_child(OBJECT(&s->lpd.rpu.cluster), in versal_create_rpu_cpus() 154 obj = OBJECT(&s->lpd.rpu.cpu[i]); in versal_create_rpu_cpus() 161 object_property_set_link(obj, "memory", OBJECT(&s->lpd.rpu.mr), in versal_create_rpu_cpus() 180 object_initialize_child(OBJECT(s), name, &s->lpd.iou.uart[i], in versal_create_uarts() [all …]
|
H A D | xlnx-zynqmp.c | 226 object_initialize_child(OBJECT(s), "rpu-cluster", &s->rpu_cluster, in xlnx_zynqmp_create_rpu() 233 object_initialize_child(OBJECT(&s->rpu_cluster), "rpu-cpu[*]", in xlnx_zynqmp_create_rpu() 237 name = object_get_canonical_path_component(OBJECT(&s->rpu_cpu[i])); in xlnx_zynqmp_create_rpu() 242 object_property_set_bool(OBJECT(&s->rpu_cpu[i]), in xlnx_zynqmp_create_rpu() 248 object_property_set_bool(OBJECT(&s->rpu_cpu[i]), "reset-hivecs", true, in xlnx_zynqmp_create_rpu() 262 object_initialize_child_with_props(OBJECT(s), "bbram", &s->bbram, in xlnx_zynqmp_create_bbram() 276 Object *bits = OBJECT(&s->efuse); in xlnx_zynqmp_create_efuse() 277 Object *ctrl = OBJECT(&s->efuse_ctrl); in xlnx_zynqmp_create_efuse() 280 object_initialize_child(OBJECT(s), "efuse-ctrl", &s->efuse_ctrl, in xlnx_zynqmp_create_efuse() 304 object_initialize_child(OBJECT(s), "apu-ctrl", &s->apu_ctrl, in xlnx_zynqmp_create_apu_ctrl() [all …]
|
H A D | bcm2835_peripherals.c | 40 object_initialize_child(OBJECT(ps), name, uds, TYPE_UNIMPLEMENTED_DEVICE); in create_unimp() 62 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhci", in bcm2835_peripherals_init() 63 OBJECT(&s_base->sdhci.sdbus)); in bcm2835_peripherals_init() 64 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhost", in bcm2835_peripherals_init() 65 OBJECT(&s_base->sdhost.sdbus)); in bcm2835_peripherals_init() 70 object_property_set_int(OBJECT(&s_base->orgated_dma_irq), "num-lines", in bcm2835_peripherals_init() 108 object_property_add_const_link(OBJECT(&s->mboxes), "mbox-mr", in raspi_peripherals_base_init() 109 OBJECT(&s->mbox_mr)); in raspi_peripherals_base_init() 113 object_property_add_alias(obj, "vcram-size", OBJECT(&s->fb), "vcram-size"); in raspi_peripherals_base_init() 114 object_property_add_alias(obj, "vcram-base", OBJECT(&s->fb), "vcram-base"); in raspi_peripherals_base_init() [all …]
|
H A D | fby35.c | 75 object_initialize_child(OBJECT(s), "bmc", &s->bmc, "ast2600-a3"); in fby35_bmc_init() 78 memory_region_init(&s->bmc_memory, OBJECT(&s->bmc), "bmc-memory", in fby35_bmc_init() 80 memory_region_init_ram(&s->bmc_dram, OBJECT(&s->bmc), "bmc-dram", in fby35_bmc_init() 83 object_property_set_int(OBJECT(&s->bmc), "ram-size", FBY35_BMC_RAM_SIZE, in fby35_bmc_init() 85 object_property_set_link(OBJECT(&s->bmc), "memory", OBJECT(&s->bmc_memory), in fby35_bmc_init() 87 object_property_set_link(OBJECT(&s->bmc), "dram", OBJECT(&s->bmc_dram), 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() 121 s->bic_sysclk = clock_new(OBJECT(s), "SYSCLK"); in fby35_bic_init() 124 object_initialize_child(OBJECT(s), "bic", &s->bic, "ast1030-a1"); in fby35_bic_init() [all …]
|
H A D | bcm2838_peripherals.c | 41 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhci", in bcm2838_peripherals_init() 42 OBJECT(&s_base->sdhci.sdbus)); in bcm2838_peripherals_init() 43 object_property_add_const_link(OBJECT(&s->gpio), "sdbus-sdhost", in bcm2838_peripherals_init() 44 OBJECT(&s_base->sdhost.sdbus)); in bcm2838_peripherals_init() 48 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() 75 memory_region_init_alias(&s->peri_low_mr_alias, OBJECT(s), in bcm2838_peripherals_realize() 83 object_property_set_uint(OBJECT(&s->emmc2), "sd-spec-version", 3, in bcm2838_peripherals_realize() 85 object_property_set_uint(OBJECT(&s->emmc2), "capareg", in bcm2838_peripherals_realize() [all …]
|
H A D | armv7m.c | 260 OBJECT(&s->nvic), "num-irq"); in armv7m_instance_init() 262 OBJECT(&s->nvic), "num-prio-bits"); in armv7m_instance_init() 300 s->cpu = ARM_CPU(object_new_with_props(s->cpu_type, OBJECT(s), "cpu", in armv7m_realize() 307 object_property_set_link(OBJECT(s->cpu), "memory", OBJECT(&s->container), in armv7m_realize() 309 if (object_property_find(OBJECT(s->cpu), "idau")) { in armv7m_realize() 310 object_property_set_link(OBJECT(s->cpu), "idau", s->idau, in armv7m_realize() 313 if (object_property_find(OBJECT(s->cpu), "init-svtor")) { in armv7m_realize() 314 if (!object_property_set_uint(OBJECT(s->cpu), "init-svtor", in armv7m_realize() 319 if (object_property_find(OBJECT(s->cpu), "init-nsvtor")) { in armv7m_realize() 320 if (!object_property_set_uint(OBJECT(s->cpu), "init-nsvtor", in armv7m_realize() [all …]
|
H A D | aspeed_ast27x0.c | 239 ram_size = object_property_get_uint(OBJECT(&s->sdmc), "ram-size", in aspeed_ram_capacity_write() 280 ram_size = object_property_get_uint(OBJECT(&s->sdmc), "ram-size", in aspeed_soc_ast2700_dram_init() 282 max_ram_size = object_property_get_uint(OBJECT(&s->sdmc), "max-ram-size", in aspeed_soc_ast2700_dram_init() 285 memory_region_init(&s->dram_container, OBJECT(s), "ram-container", in aspeed_soc_ast2700_dram_init() 295 memory_region_init_io(&a->dram_empty, OBJECT(s), in aspeed_soc_ast2700_dram_init() 332 object_property_add_alias(obj, "hw-strap1", OBJECT(&s->scu), in aspeed_soc_ast2700_init() 334 object_property_add_alias(obj, "hw-strap2", OBJECT(&s->scu), in aspeed_soc_ast2700_init() 336 object_property_add_alias(obj, "hw-prot-key", OBJECT(&s->scu), in aspeed_soc_ast2700_init() 353 object_property_add_alias(obj, "ram-size", OBJECT(&s->sdmc), in aspeed_soc_ast2700_init() 389 object_property_set_int(OBJECT(&s->sdhci), "num-slots", 1, &error_abort); in aspeed_soc_ast2700_init() [all …]
|
H A D | aspeed_ast2600.c | 183 object_property_add_alias(obj, "hw-strap1", OBJECT(&s->scu), in aspeed_soc_ast2600_init() 185 object_property_add_alias(obj, "hw-strap2", OBJECT(&s->scu), in aspeed_soc_ast2600_init() 187 object_property_add_alias(obj, "hw-prot-key", OBJECT(&s->scu), in aspeed_soc_ast2600_init() 235 object_property_add_alias(obj, "ram-size", OBJECT(&s->sdmc), in aspeed_soc_ast2600_init() 261 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() 324 memory_region_init(&s->spi_boot_container, OBJECT(s), in aspeed_soc_ast2600_realize() 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() [all …]
|
H A D | orangepi.c | 53 object_property_add_child(OBJECT(machine), "soc", OBJECT(h3)); in orangepi_init() 54 object_unref(OBJECT(h3)); in orangepi_init() 57 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() 73 object_property_set_uint(OBJECT(h3), "ram-addr", h3->memmap[AW_H3_DEV_SDRAM], in orangepi_init() 75 object_property_set_int(OBJECT(h3), "ram-size", machine->ram_size / MiB, in orangepi_init()
|
H A D | bananapi_m2u.c | 75 object_property_add_child(OBJECT(machine), "soc", OBJECT(r40)); in bpim2u_init() 76 object_unref(OBJECT(r40)); in bpim2u_init() 79 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() 85 object_property_set_uint(OBJECT(r40), "ram-addr", in bpim2u_init() 87 object_property_set_int(OBJECT(r40), "ram-size", in bpim2u_init() 91 object_property_set_uint(OBJECT(r40), "gmac-phy-addr", 1, &error_abort); in bpim2u_init()
|
/openbmc/qemu/hw/mips/ |
H A D | cps.c | 80 object_property_set_bool(OBJECT(cpu), "big-endian", s->cpu_is_bigendian, in mips_cps_realize() 84 object_property_set_bool(OBJECT(cpu), "start-powered-off", true, in mips_cps_realize() 108 object_initialize_child(OBJECT(dev), "itu", &s->itu, TYPE_MIPS_ITU); in mips_cps_realize() 109 object_property_set_uint(OBJECT(&s->itu), "num-fifo", 16, in mips_cps_realize() 111 object_property_set_uint(OBJECT(&s->itu), "num-semaphores", 16, in mips_cps_realize() 122 object_initialize_child(OBJECT(dev), "cpc", &s->cpc, TYPE_MIPS_CPC); in mips_cps_realize() 123 object_property_set_uint(OBJECT(&s->cpc), "num-vp", s->num_vp, in mips_cps_realize() 125 object_property_set_int(OBJECT(&s->cpc), "vp-start-running", 1, in mips_cps_realize() 135 object_initialize_child(OBJECT(dev), "gic", &s->gic, TYPE_MIPS_GIC); in mips_cps_realize() 136 object_property_set_uint(OBJECT(&s->gic), "num-vp", s->num_vp, in mips_cps_realize() [all …]
|
/openbmc/phosphor-snmp/mibs/ |
H A D | NotificationMIB.txt | 4 MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, 7 MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP 25 openbmc OBJECT IDENTIFIER ::= { enterprises 49871 } 27 obmcSystem OBJECT IDENTIFIER ::= { obmcPhosphor 0 } 29 obmcNotifications OBJECT IDENTIFIER ::= { obmcSystem 0 } 30 obmcNotifyObjects OBJECT IDENTIFIER ::= { obmcSystem 1 } 31 obmcNotifyConformance OBJECT IDENTIFIER ::= { obmcSystem 2 } 38 obmcNotifyCompliances OBJECT IDENTIFIER ::= { obmcNotifyConformance 1 } 39 obmcNotifyGroups OBJECT IDENTIFIER ::= { obmcNotifyConformance 2 } 43 obmcErrorID OBJECT-TYPE [all …]
|
/openbmc/qemu/hw/microblaze/ |
H A D | xlnx-zynqmp-pmu.c | 80 object_property_set_uint(OBJECT(&s->cpu), "base-vectors", in xlnx_zynqmp_pmu_soc_realize() 82 object_property_set_bool(OBJECT(&s->cpu), "use-stack-protection", true, in xlnx_zynqmp_pmu_soc_realize() 84 object_property_set_uint(OBJECT(&s->cpu), "use-fpu", 0, &error_abort); in xlnx_zynqmp_pmu_soc_realize() 85 object_property_set_uint(OBJECT(&s->cpu), "use-hw-mul", 0, &error_abort); in xlnx_zynqmp_pmu_soc_realize() 86 object_property_set_bool(OBJECT(&s->cpu), "use-barrel", true, in xlnx_zynqmp_pmu_soc_realize() 88 object_property_set_bool(OBJECT(&s->cpu), "use-msr-instr", true, in xlnx_zynqmp_pmu_soc_realize() 90 object_property_set_bool(OBJECT(&s->cpu), "use-pcmp-instr", true, in xlnx_zynqmp_pmu_soc_realize() 92 object_property_set_bool(OBJECT(&s->cpu), "use-mmu", false, &error_abort); in xlnx_zynqmp_pmu_soc_realize() 93 object_property_set_bool(OBJECT(&s->cpu), "little-endian", true, in xlnx_zynqmp_pmu_soc_realize() 95 object_property_set_str(OBJECT(&s->cpu), "version", "8.40.b", in xlnx_zynqmp_pmu_soc_realize() [all …]
|
H A D | petalogix_ml605_mmu.c | 86 object_property_set_str(OBJECT(cpu), "version", "8.10.a", &error_abort); in petalogix_ml605_init() 90 object_property_set_int(OBJECT(cpu), "use-fpu", 1, &error_abort); in petalogix_ml605_init() 91 object_property_set_bool(OBJECT(cpu), "dcache-writeback", true, in petalogix_ml605_init() 93 object_property_set_bool(OBJECT(cpu), "little-endian", true, &error_abort); in petalogix_ml605_init() 140 object_property_add_child(qdev_get_machine(), "xilinx-eth", OBJECT(eth0)); in petalogix_ml605_init() 141 object_property_add_child(qdev_get_machine(), "xilinx-dma", OBJECT(dma)); in petalogix_ml605_init() 143 ds = object_property_get_link(OBJECT(dma), in petalogix_ml605_init() 145 cs = object_property_get_link(OBJECT(dma), in petalogix_ml605_init() 150 object_property_set_link(OBJECT(eth0), "axistream-connected", ds, in petalogix_ml605_init() 152 object_property_set_link(OBJECT(eth0), "axistream-control-connected", cs, in petalogix_ml605_init() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | mchp_pfsoc_ioscb.c | 209 memory_region_init(&s->container, OBJECT(s), in mchp_pfsoc_ioscb_realize() 215 memory_region_init_io(&s->lane01, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 219 memory_region_init_io(&s->lane23, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 223 memory_region_init_io(&s->ctrl, OBJECT(s), &mchp_pfsoc_ctrl_ops, s, in mchp_pfsoc_ioscb_realize() 227 memory_region_init_io(&s->qspixip, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 231 memory_region_init_io(&s->mailbox, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 235 memory_region_init_io(&s->cfg, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 239 memory_region_init_io(&s->ccc, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() 243 memory_region_init_io(&s->pll_mss, OBJECT(s), &mchp_pfsoc_pll_ops, s, in mchp_pfsoc_ioscb_realize() 247 memory_region_init_io(&s->cfm_mss, OBJECT(s), &mchp_pfsoc_dummy_ops, s, in mchp_pfsoc_ioscb_realize() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | gpio.c | 61 object_property_add_child(OBJECT(dev), propname, in qdev_init_gpio_in_named_with_opaque() 62 OBJECT(gpio_list->in[i])); in qdev_init_gpio_in_named_with_opaque() 90 object_property_add_link(OBJECT(dev), propname, TYPE_IRQ, in qdev_init_gpio_out_named() 122 if (input_pin && !OBJECT(input_pin)->parent) { in qdev_connect_gpio_out_named() 126 "non-qdev-gpio[*]", OBJECT(input_pin)); in qdev_connect_gpio_out_named() 128 object_property_set_link(OBJECT(dev), propname, in qdev_connect_gpio_out_named() 129 OBJECT(input_pin), &error_abort); in qdev_connect_gpio_out_named() 138 qemu_irq ret = (qemu_irq)object_property_get_link(OBJECT(dev), propname, in qdev_get_gpio_out_connector() 152 qemu_irq ret = (qemu_irq)object_property_get_link(OBJECT(dev), propname, in qdev_disconnect_gpio_out_named() 155 object_property_set_link(OBJECT(dev), propname, NULL, NULL); in qdev_disconnect_gpio_out_named() [all …]
|
H A D | qdev.c | 54 object_unref(OBJECT(kid->child)); in bus_free_bus_child() 72 object_property_del(OBJECT(bus), name); in bus_remove_child() 89 object_ref(OBJECT(kid->child)); in bus_add_child() 95 object_property_add_link(OBJECT(bus), name, in bus_add_child() 96 object_get_typename(OBJECT(child)), in bus_add_child() 113 assert(dc->bus_type && object_dynamic_cast(OBJECT(bus), dc->bus_type)); in qdev_set_parent_bus() 120 trace_qdev_update_parent_bus(dev, object_get_typename(OBJECT(dev)), in qdev_set_parent_bus() 121 old_parent_bus, object_get_typename(OBJECT(old_parent_bus)), in qdev_set_parent_bus() 122 OBJECT(bus), object_get_typename(OBJECT(bus))); in qdev_set_parent_bus() 130 object_ref(OBJECT(dev)); in qdev_set_parent_bus() [all …]
|
H A D | bus.c | 28 object_property_set_link(OBJECT(bus), QDEV_HOTPLUG_HANDLER_PROPERTY, in qbus_set_hotplug_handler() 34 qbus_set_hotplug_handler(bus, OBJECT(bus)); in qbus_set_bus_hotplug_handler() 75 resettable_reset(OBJECT(bus), RESET_TYPE_COLD); in bus_cold_reset() 80 return resettable_is_in_reset(OBJECT(bus)); in bus_is_in_reset() 97 cb(OBJECT(kid->child), opaque, type); in bus_reset_child_foreach() 105 const char *typename = object_get_typename(OBJECT(bus)); in qbus_init_internal() 130 object_property_add_child(OBJECT(bus->parent), bus->name, OBJECT(bus)); in qbus_init_internal() 131 object_unref(OBJECT(bus)); in qbus_init_internal() 148 object_unparent(OBJECT(dev)); in bus_unparent() 174 return object_property_set_bool(OBJECT(bus), "realized", true, errp); in qbus_realize() [all …]
|
H A D | qdev-clock.c | 50 object_property_add_child(OBJECT(dev), name, OBJECT(clk)); in qdev_init_clocklist() 57 object_unref(OBJECT(clk)); in qdev_init_clocklist() 60 object_property_add_link(OBJECT(dev), name, in qdev_init_clocklist() 61 object_get_typename(OBJECT(clk)), in qdev_init_clocklist() 71 object_ref(OBJECT(clk)); in qdev_init_clocklist() 95 object_unref(OBJECT(ncl->clock)); in qdev_finalize_clocklist() 169 name, object_get_typename(OBJECT(dev))); in qdev_get_clock_in() 186 name, object_get_typename(OBJECT(dev))); in qdev_get_clock_out()
|
/openbmc/qemu/hw/acpi/ |
H A D | piix4.c | 206 Object *obj = OBJECT(opaque); in vmstate_cpuhp_pre_load() 324 if (object_dynamic_cast(OBJECT(dev), TYPE_PCI_DEVICE)) { in piix4_device_pre_plug_cb() 326 } else if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM)) { in piix4_device_pre_plug_cb() 330 "is not set", object_get_typename(OBJECT(s))); in piix4_device_pre_plug_cb() 333 !object_dynamic_cast(OBJECT(dev), TYPE_CPU)) { in piix4_device_pre_plug_cb() 335 " device type: %s", object_get_typename(OBJECT(dev))); in piix4_device_pre_plug_cb() 344 if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM)) { in piix4_device_plug_cb() 345 if (object_dynamic_cast(OBJECT(dev), TYPE_NVDIMM)) { in piix4_device_plug_cb() 351 } else if (object_dynamic_cast(OBJECT(dev), TYPE_PCI_DEVICE)) { in piix4_device_plug_cb() 353 } else if (object_dynamic_cast(OBJECT(dev), TYPE_CPU)) { in piix4_device_plug_cb() [all …]
|
H A D | ich9.c | 206 Object *obj = OBJECT(s->gpe_cpu.device); in vmstate_cpuhp_pre_load() 304 memory_region_init(&pm->io, OBJECT(lpc_pci), "ich9-pm", ICH9_PMIO_SIZE); in ich9_pm_init() 315 memory_region_init_io(&pm->io_gpe, OBJECT(lpc_pci), &ich9_gpe_ops, pm, in ich9_pm_init() 319 memory_region_init_io(&pm->io_smi, OBJECT(lpc_pci), &ich9_smi_ops, pm, in ich9_pm_init() 336 acpi_pcihp_init(OBJECT(lpc_pci), in ich9_pm_init() 343 OBJECT(lpc_pci)); in ich9_pm_init() 352 OBJECT(lpc_pci), &pm->gpe_cpu, ICH9_CPU_HOTPLUG_IO_BASE); in ich9_pm_init() 354 acpi_memory_hotplug_init(pci_address_space_io(lpc_pci), OBJECT(lpc_pci), in ich9_pm_init() 472 if (object_dynamic_cast(OBJECT(dev), TYPE_PCI_DEVICE)) { in ich9_pm_device_pre_plug_cb() 477 if (object_dynamic_cast(OBJECT(dev), TYPE_CPU)) { in ich9_pm_device_pre_plug_cb() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | check-qom-proplist.c | 243 object_unref(OBJECT(dev->bus)); in dummy_dev_finalize() 252 object_property_add_child(obj, "bus", OBJECT(bus)); in dummy_dev_init() 254 object_property_add_child(OBJECT(bus), "backend", OBJECT(backend)); in dummy_dev_init() 264 object_unparent(OBJECT(dev->bus)); in dummy_dev_unparent() 277 object_unref(OBJECT(bus->backend)); in dummy_bus_finalize() 288 object_unparent(OBJECT(bus->backend)); in dummy_bus_unparent() 359 == OBJECT(dobj)); in test_dummy_createv() 361 object_unparent(OBJECT(dobj)); in test_dummy_createv() 400 == OBJECT(dobj)); in test_dummy_createlist() 402 object_unparent(OBJECT(dobj)); in test_dummy_createlist() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv.c | 74 const char *chip_type = object_class_get_name(object_get_class(OBJECT(o))); in pnv_chip_core_typename() 522 irq = object_property_get_uint(OBJECT(d), "irq", &error_fatal); in pnv_dt_serial() 556 io_base = object_property_get_int(OBJECT(d), "ioport", &error_fatal); in pnv_dt_ipmi_bt() 559 irq = object_property_get_int(OBJECT(d), "irq", &error_fatal); in pnv_dt_ipmi_bt() 587 if (object_dynamic_cast(OBJECT(dev), TYPE_MC146818_RTC)) { in pnv_dt_isa_device() 589 } else if (object_dynamic_cast(OBJECT(dev), TYPE_ISA_SERIAL)) { in pnv_dt_isa_device() 591 } else if (object_dynamic_cast(OBJECT(dev), "isa-ipmi-bt")) { in pnv_dt_isa_device() 863 object_child_foreach_recursive(OBJECT(chip), in pnv_chip_power9_pic_print_info() 899 object_property_set_link(OBJECT(dev), "bmc", OBJECT(bmc), &error_fatal); in pnv_ipmi_bt_init() 900 object_property_set_int(OBJECT(dev), "irq", irq, &error_fatal); in pnv_ipmi_bt_init() [all …]
|
H A D | spapr_nvdimm.c | 88 if (object_property_get_int(OBJECT(nvdimm), NVDIMM_LABEL_SIZE_PROP, in spapr_nvdimm_validate() 101 uuidstr = object_property_get_str(OBJECT(nvdimm), NVDIMM_UUID_PROP, in spapr_nvdimm_validate() 111 if (object_dynamic_cast(OBJECT(nvdimm), TYPE_SPAPR_NVDIMM) && in spapr_nvdimm_validate() 115 object_get_canonical_path_component(OBJECT(dimm->hostmem))); in spapr_nvdimm_validate() 149 uint32_t node = object_property_get_uint(OBJECT(nvdimm), PC_DIMM_NODE_PROP, in spapr_dt_nvdimm() 151 uint64_t slot = object_property_get_uint(OBJECT(nvdimm), PC_DIMM_SLOT_PROP, in spapr_dt_nvdimm() 154 uint64_t size = object_property_get_int(OBJECT(nvdimm), PC_DIMM_SIZE_PROP, in spapr_dt_nvdimm() 190 if (object_dynamic_cast(OBJECT(nvdimm), TYPE_SPAPR_NVDIMM)) { in spapr_dt_nvdimm() 195 is_pmem = object_property_get_bool(OBJECT(hostmem), "pmem", NULL); in spapr_dt_nvdimm() 196 pmem_override = object_property_get_bool(OBJECT(nvdimm), in spapr_dt_nvdimm() [all …]
|