/openbmc/qemu/hw/ppc/ |
H A D | spapr_irq.c | 34 static void spapr_irq_msi_init(SpaprMachineState *spapr) in spapr_irq_msi_init() 210 int spapr_irq_cpu_intc_create(SpaprMachineState *spapr, in spapr_irq_cpu_intc_create() 261 SpaprMachineState *spapr = SPAPR_MACHINE(opaque); in spapr_set_irq() local 276 void spapr_irq_dt(SpaprMachineState *spapr, uint32_t nr_servers, in spapr_irq_dt() 285 uint32_t spapr_irq_nr_msis(SpaprMachineState *spapr) in spapr_irq_nr_msis() 296 void spapr_irq_init(SpaprMachineState *spapr, Error **errp) in spapr_irq_init() 396 void spapr_irq_free(SpaprMachineState *spapr, int irq, int num) in spapr_irq_free() 418 qemu_irq spapr_qirq(SpaprMachineState *spapr, int irq) in spapr_qirq() 452 void spapr_irq_reset(SpaprMachineState *spapr, Error **errp) in spapr_irq_reset() 480 static void set_active_intc(SpaprMachineState *spapr, in set_active_intc() [all …]
|
H A D | spapr_caps.c | 76 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_get_bool() local 86 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_set_bool() local 102 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_get_string() local 120 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_set_string() local 148 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_get_pagesize() local 159 SpaprMachineState *spapr = SPAPR_MACHINE(obj); in spapr_cap_set_pagesize() local 886 SpaprMachineState *spapr = opaque; in spapr_caps_pre_load() local 895 SpaprMachineState *spapr = opaque; in spapr_caps_pre_save() local 905 int spapr_caps_post_migration(SpaprMachineState *spapr) in spapr_caps_post_migration() 979 void spapr_caps_init(SpaprMachineState *spapr) in spapr_caps_init() [all …]
|
H A D | spapr_numa.c | 24 static int get_max_dist_ref_points(SpaprMachineState *spapr) in get_max_dist_ref_points() 36 static int get_numa_assoc_size(SpaprMachineState *spapr) in get_numa_assoc_size() 51 static int get_vcpu_assoc_size(SpaprMachineState *spapr) in get_vcpu_assoc_size() 143 static void spapr_numa_define_FORM1_domains(SpaprMachineState *spapr) in spapr_numa_define_FORM1_domains() 261 static void spapr_numa_FORM1_affinity_init(SpaprMachineState *spapr, in spapr_numa_FORM1_affinity_init() 311 static void spapr_numa_FORM2_affinity_init(SpaprMachineState *spapr) in spapr_numa_FORM2_affinity_init() 331 void spapr_numa_associativity_init(SpaprMachineState *spapr, in spapr_numa_associativity_init() 338 void spapr_numa_associativity_check(SpaprMachineState *spapr) in spapr_numa_associativity_check() 361 static uint32_t *spapr_numa_get_vcpu_assoc(SpaprMachineState *spapr, in spapr_numa_get_vcpu_assoc() 384 int spapr_numa_fixup_cpu_dt(SpaprMachineState *spapr, void *fdt, in spapr_numa_fixup_cpu_dt() [all …]
|
H A D | spapr.c | 1368 SpaprMachineState *spapr = opaque; in translate_kernel_address() local 1486 void close_htab_fd(SpaprMachineState *spapr) in close_htab_fd() 1625 void spapr_free_hpt(SpaprMachineState *spapr) in spapr_free_hpt() 2002 SpaprMachineState *spapr = opaque; in spapr_ov5_cas_needed() local 2058 SpaprMachineState *spapr = opaque; in spapr_patb_entry_needed() local 2076 SpaprMachineState *spapr = opaque; in spapr_irq_map_needed() local 2206 SpaprMachineState *spapr = opaque; in htab_save_setup() local 2371 SpaprMachineState *spapr = opaque; in htab_save_iterate() local 2408 SpaprMachineState *spapr = opaque; in htab_save_complete() local 2448 SpaprMachineState *spapr = opaque; in htab_load() local [all …]
|
H A D | spapr_hcall.c | 27 bool is_ram_address(SpaprMachineState *spapr, hwaddr addr) in is_ram_address() 82 SpaprMachineState *spapr, in h_resize_hpt_prepare() 146 void push_sregs_to_kvm_pr(SpaprMachineState *spapr) in push_sregs_to_kvm_pr() 165 SpaprMachineState *spapr, in h_resize_hpt_commit() 490 static target_ulong h_cede(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_cede() 537 static target_ulong h_join(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_join() 845 SpaprMachineState *spapr, in h_set_mode_resource_le() 949 static void spapr_check_setup_free_hpt(SpaprMachineState *spapr, in spapr_check_setup_free_hpt() 1075 SpaprMachineState *spapr, in h_signal_sys_reset() 1376 SpaprMachineState *spapr = SPAPR_MACHINE(ms); in spapr_vof_client_architecture_support() local [all …]
|
H A D | spapr_rtas.c | 70 static void rtas_power_off(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_power_off() 83 static void rtas_system_reboot(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_system_reboot() 97 SpaprMachineState *spapr, in rtas_query_cpu_stopped_state() 127 static void rtas_start_cpu(PowerPCCPU *callcpu, SpaprMachineState *spapr, in rtas_start_cpu() 203 static void rtas_stop_self(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_stop_self() 268 SpaprMachineState *spapr, in rtas_ibm_get_system_parameter() 325 SpaprMachineState *spapr, in rtas_ibm_set_system_parameter() 345 SpaprMachineState *spapr, in rtas_ibm_os_term() 413 SpaprMachineState *spapr, in rtas_ibm_nmi_register() 456 SpaprMachineState *spapr, in rtas_ibm_nmi_interlock() [all …]
|
H A D | spapr_vof.c | 17 target_ulong spapr_h_vof_client(PowerPCCPU *cpu, SpaprMachineState *spapr, in spapr_h_vof_client() 29 void spapr_vof_client_dt_finalize(SpaprMachineState *spapr, void *fdt) in spapr_vof_client_dt_finalize() 57 void spapr_vof_reset(SpaprMachineState *spapr, void *fdt, Error **errp) in spapr_vof_reset() 106 SpaprMachineState *spapr = SPAPR_MACHINE(ms); in spapr_vof_quiesce() local 115 SpaprMachineState *spapr = SPAPR_MACHINE(ms); in spapr_vof_setprop() local
|
H A D | spapr_nested.c | 13 void spapr_nested_reset(SpaprMachineState *spapr) in spapr_nested_reset() 28 uint8_t spapr_nested_api(SpaprMachineState *spapr) in spapr_nested_api() 91 SpaprMachineState *spapr, in h_set_ptbl() 111 SpaprMachineState *spapr, in h_tlb_invalidate() 125 SpaprMachineState *spapr, in h_copy_tofrom_guest() 139 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in nested_save_state() local 238 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in nested_load_state() local 325 SpaprMachineState *spapr, in h_enter_nested() 1271 SpaprMachineState *spapr, in h_guest_create() 1332 SpaprMachineState *spapr, in h_guest_delete() [all …]
|
H A D | spapr_vio.c | 159 static target_ulong h_reg_crq(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_reg_crq() 215 static target_ulong h_free_crq(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_free_crq() 229 static target_ulong h_send_crq(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_send_crq() 252 static target_ulong h_enable_crq(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_enable_crq() 330 static void rtas_set_tce_bypass(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_set_tce_bypass() 361 static void rtas_quiesce(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_quiesce() 472 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_vio_busdev_realize() local 545 static target_ulong h_vio_signal(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_vio_signal()
|
H A D | spapr_vhyp_mmu.c | 19 static target_ulong h_enter(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_enter() 130 static target_ulong h_remove(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_remove() 178 static target_ulong h_bulk_remove(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_bulk_remove() 230 static target_ulong h_protect(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_protect() 269 static target_ulong h_read(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_read() 348 static void cancel_hpt_prepare(SpaprMachineState *spapr) in cancel_hpt_prepare() 369 SpaprMachineState *spapr, in vhyp_mmu_resize_hpt_prepare() 553 SpaprMachineState *spapr, in vhyp_mmu_resize_hpt_commit()
|
H A D | spapr_pci.c | 80 PCIDevice *spapr_pci_find_dev(SpaprMachineState *spapr, uint64_t buid, in spapr_pci_find_dev() 477 SpaprMachineState *spapr, in rtas_ibm_set_eeh_option() 609 SpaprMachineState *spapr, in rtas_ibm_set_slot_reset() 643 SpaprMachineState *spapr, in rtas_ibm_configure_pe() 676 SpaprMachineState *spapr, in rtas_ibm_slot_error_detail() 723 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in pci_spapr_set_irq() local 754 SpaprMachineState *spapr = opaque; in spapr_msi_write() local 1753 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_phb_unrealize() local 1811 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_phb_destroy_msi() local 1828 SpaprMachineState *spapr = in spapr_phb_realize() local [all …]
|
H A D | spapr_nvdimm.c | 142 static int spapr_dt_nvdimm(SpaprMachineState *spapr, void *fdt, in spapr_dt_nvdimm() 207 int spapr_pmem_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr, in spapr_pmem_dt_populate() 217 void spapr_dt_persistent_memory(SpaprMachineState *spapr, void *fdt) in spapr_dt_persistent_memory() 243 SpaprMachineState *spapr, in h_scm_read_metadata() 298 SpaprMachineState *spapr, in h_scm_write_metadata() 360 static target_ulong h_scm_bind_mem(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_scm_bind_mem() 657 static target_ulong h_scm_flush(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_scm_flush() 715 static target_ulong h_scm_unbind_mem(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_scm_unbind_mem() 773 static target_ulong h_scm_unbind_all(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_scm_unbind_all() 823 static target_ulong h_scm_health(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_scm_health()
|
H A D | spapr_rtas_ddw.c | 94 SpaprMachineState *spapr, in rtas_ibm_query_pe_dma_window() 144 SpaprMachineState *spapr, in rtas_ibm_create_pe_dma_window() 221 SpaprMachineState *spapr, in rtas_ibm_remove_pe_dma_window() 271 SpaprMachineState *spapr, in rtas_ibm_reset_pe_dma_window()
|
H A D | spapr_events.c | 373 void spapr_dt_events(SpaprMachineState *spapr, void *fdt) in spapr_dt_events() 411 rtas_event_log_to_source(SpaprMachineState *spapr, int log_type) in rtas_event_log_to_source() 453 static void rtas_event_log_queue(SpaprMachineState *spapr, in rtas_event_log_queue() 510 static void spapr_init_maina(SpaprMachineState *spapr, in spapr_init_maina() 536 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_powerdown_req() local 588 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_hotplug_req_event() local 872 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_mce_req_event() local 995 static void event_scan(PowerPCCPU *cpu, SpaprMachineState *spapr, in event_scan() 1019 void spapr_clear_pending_events(SpaprMachineState *spapr) in spapr_clear_pending_events() 1030 void spapr_clear_pending_hotplug_events(SpaprMachineState *spapr) in spapr_clear_pending_hotplug_events() [all …]
|
H A D | spapr_cpu_core.c | 36 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in spapr_reset_vcpu() local 262 static bool spapr_realize_vcpu(PowerPCCPU *cpu, SpaprMachineState *spapr, in spapr_realize_vcpu() 337 SpaprMachineState *spapr = in spapr_cpu_core_realize() local
|
H A D | spapr_rtc.c | 69 static void rtas_get_time_of_day(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_get_time_of_day() 94 static void rtas_set_time_of_day(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_set_time_of_day()
|
H A D | spapr_iommu.c | 477 SpaprMachineState *spapr, in h_put_tce_indirect() 522 static target_ulong h_stuff_tce(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_stuff_tce() 561 static target_ulong h_put_tce(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_put_tce() 602 static target_ulong h_get_tce(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_get_tce()
|
H A D | spapr_drc.c | 154 SpaprMachineState *spapr = NULL; in drc_unisolate_logical() local 950 void spapr_drc_reset_all(SpaprMachineState *spapr) in spapr_drc_reset_all() 1051 static void rtas_set_indicator(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_set_indicator() 1086 static void rtas_get_sensor_state(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_get_sensor_state() 1148 SpaprMachineState *spapr, in rtas_ibm_configure_connector()
|
H A D | spapr_tpm_proxy.c | 103 SpaprMachineState *spapr, in h_tpm_comm()
|
H A D | spapr_rng.c | 66 static target_ulong h_random(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_random()
|
/openbmc/qemu/hw/intc/ |
H A D | xics_spapr.c | 54 #define CHECK_EMULATED_XICS_HCALL(spapr) \ argument 61 static target_ulong h_cppr(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_cppr() 72 static target_ulong h_ipi(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_ipi() 88 static target_ulong h_xirr(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_xirr() 111 static target_ulong h_eoi(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_eoi() 122 static target_ulong h_ipoll(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_ipoll() 143 #define CHECK_EMULATED_XICS_RTAS(spapr, rets) \ argument 151 static void rtas_set_xive(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_set_xive() 186 static void rtas_get_xive(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_get_xive() 218 static void rtas_int_off(PowerPCCPU *cpu, SpaprMachineState *spapr, in rtas_int_off() [all …]
|
H A D | spapr_xive.c | 935 SpaprMachineState *spapr, in h_int_get_source_info() 1047 SpaprMachineState *spapr, in h_int_set_source_config() 1156 SpaprMachineState *spapr, in h_int_get_source_config() 1231 SpaprMachineState *spapr, in h_int_get_queue_info() 1319 SpaprMachineState *spapr, in h_int_set_queue_config() 1490 SpaprMachineState *spapr, in h_int_get_queue_config() 1593 SpaprMachineState *spapr, in h_int_set_os_reporting_line() 1680 SpaprMachineState *spapr, in h_int_esb() 1756 SpaprMachineState *spapr, in h_int_sync() 1825 SpaprMachineState *spapr, in h_int_reset() [all …]
|
/openbmc/qemu/hw/watchdog/ |
H A D | spapr_watchdog.c | 87 static target_ulong watchdog_stop_all(SpaprMachineState *spapr) in watchdog_stop_all() 107 SpaprMachineState *spapr = SPAPR_MACHINE(qdev_get_machine()); in watchdog_expired() local 131 SpaprMachineState *spapr, in h_watchdog() 200 void spapr_watchdog_init(SpaprMachineState *spapr) in spapr_watchdog_init()
|
/openbmc/qemu/hw/char/ |
H A D | spapr_vty.c | 104 static target_ulong h_put_term_char(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_put_term_char() 131 static target_ulong h_get_term_char(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_get_term_char() 244 SpaprVioDevice *vty_lookup(SpaprMachineState *spapr, target_ulong reg) in vty_lookup()
|
/openbmc/qemu/hw/net/ |
H A D | spapr_llan.c | 437 SpaprMachineState *spapr, in h_register_logical_lan() 503 SpaprMachineState *spapr, in h_free_logical_lan() 631 SpaprMachineState *spapr, in h_add_logical_lan_buffer() 681 SpaprMachineState *spapr, in h_send_logical_lan() 749 static target_ulong h_multicast_ctrl(PowerPCCPU *cpu, SpaprMachineState *spapr, in h_multicast_ctrl() 763 SpaprMachineState *spapr, in h_change_logical_lan_mac()
|