Searched refs:SpaprDrc (Results 1 – 9 of 9) sorted by relevance
/qemu/include/hw/ppc/ |
H A D | spapr_drc.h | 171 typedef struct SpaprDrc { struct 190 } SpaprDrc; argument 206 uint32_t (*isolate)(SpaprDrc *drc); 207 uint32_t (*unisolate)(SpaprDrc *drc); 216 SpaprDrc parent; 228 bool spapr_drc_reset(SpaprDrc *drc); 230 uint32_t spapr_drc_index(SpaprDrc *drc); 231 SpaprDrcType spapr_drc_type(SpaprDrc *drc); 235 SpaprDrc *spapr_drc_by_index(uint32_t index); 245 void spapr_drc_attach(SpaprDrc *drc, DeviceState *d); [all …]
|
H A D | spapr_nvdimm.h | 15 typedef struct SpaprDrc SpaprDrc; typedef 18 int spapr_pmem_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr,
|
H A D | spapr.h | 914 void spapr_hotplug_req_add_by_index(SpaprDrc *drc); 915 void spapr_hotplug_req_remove_by_index(SpaprDrc *drc); 936 int spapr_core_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr, 939 int spapr_lmb_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr, 942 int spapr_phb_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr,
|
/qemu/hw/ppc/ |
H A D | spapr_drc.c | 34 SpaprDrcType spapr_drc_type(SpaprDrc *drc) in spapr_drc_type() 41 uint32_t spapr_drc_index(SpaprDrc *drc) in spapr_drc_index() 53 static void spapr_drc_release(SpaprDrc *drc) in spapr_drc_release() 431 bool spapr_drc_reset(SpaprDrc *drc) in spapr_drc_reset() 482 SpaprDrc *drc = opaque; in spapr_drc_needed() 741 .instance_size = sizeof(SpaprDrc), 784 .instance_size = sizeof(SpaprDrc), 868 SpaprDrc *drc; in spapr_dt_drc() 960 SpaprDrc *drc; in spapr_drc_reset_all() 1094 SpaprDrc *drc; in rtas_get_sensor_state() [all …]
|
H A D | spapr_nvdimm.c | 125 SpaprDrc *drc; in spapr_add_nvdimm() 147 SpaprDrc *drc; in spapr_dt_nvdimm() 250 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_read_metadata() 306 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_write_metadata() 370 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_bind_mem() 450 SpaprDrc *drc = spapr_drc_by_index(state->drcidx); in flush_worker_cb() 484 SpaprDrc *drc = spapr_drc_by_index(state->drcidx); in spapr_nvdimm_flush_completion_cb() 663 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_flush() 725 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_unbind_mem() 789 SpaprDrc *drc = spapr_drc_by_index(drc_index); in h_scm_unbind_all() [all …]
|
H A D | spapr_pci.c | 1208 static SpaprDrc *drc_from_devfn(SpaprPhbState *phb, in drc_from_devfn() 1227 static SpaprDrc *drc_from_dev(SpaprPhbState *phb, PCIDevice *dev) in drc_from_dev() 1262 SpaprDrc *drc = drc_from_devfn(phb, chassis, i); in remove_drcs() 1360 SpaprDrc *drc = drc_from_dev(sphb, dev); in spapr_dt_pci_device() 1464 int spapr_pci_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr, in spapr_pci_dt_populate() 1539 SpaprDrc *drc = drc_from_dev(phb, pdev); in spapr_pci_pre_plug() 1572 SpaprDrc *drc = drc_from_dev(phb, pdev); in spapr_pci_plug() 1594 SpaprDrc *func_drc; in spapr_pci_plug() 1647 SpaprDrc *drc = drc_from_dev(phb, pdev); in spapr_pci_unplug_request() 1654 SpaprDrc *func_drc; in spapr_pci_unplug_request() [all …]
|
H A D | spapr.c | 426 SpaprDrc *drc; in spapr_dt_dynamic_memory_v2() 699 SpaprDrc *drc; in spapr_dt_cpu() 3519 SpaprDrc *drc; in spapr_add_lmbs() 3673 SpaprDrc *drc; in spapr_recover_pending_dimm_state() 3702 SpaprDrc *drc; in spapr_memory_unplug_rollback() 3796 SpaprDrc *drc; in spapr_memory_unplug_request() 3866 SpaprDrc *drc; in spapr_core_unplug_request() 3937 SpaprDrc *drc; in spapr_core_plug() 4068 SpaprDrc *drc; in spapr_phb_pre_plug() 4103 SpaprDrc *drc; in spapr_phb_plug() [all …]
|
H A D | spapr_events.c | 672 void spapr_hotplug_req_add_by_index(SpaprDrc *drc) in spapr_hotplug_req_add_by_index() 682 void spapr_hotplug_req_remove_by_index(SpaprDrc *drc) in spapr_hotplug_req_remove_by_index()
|
/qemu/include/hw/pci-host/ |
H A D | spapr.h | 116 int spapr_pci_dt_populate(SpaprDrc *drc, SpaprMachineState *spapr,
|