Lines Matching full:drc
31 #define TYPE_SPAPR_DRC_PHYSICAL "spapr-drc-physical"
35 #define TYPE_SPAPR_DRC_LOGICAL "spapr-drc-logical"
37 #define TYPE_SPAPR_DRC_CPU "spapr-drc-cpu"
39 #define TYPE_SPAPR_DRC_PCI "spapr-drc-pci"
41 #define TYPE_SPAPR_DRC_LMB "spapr-drc-lmb"
43 #define TYPE_SPAPR_DRC_PHB "spapr-drc-phb"
45 #define TYPE_SPAPR_DRC_PMEM "spapr-drc-pmem"
51 * when generating DRC indexes later we've aligned the bit
52 * positions with the values used to assign DRC indexes on
55 * for values exposed to the guest (via DRC indexes for
205 SpaprDREntitySense (*dr_entity_sense)(SpaprDrc *drc);
206 uint32_t (*isolate)(SpaprDrc *drc);
207 uint32_t (*unisolate)(SpaprDrc *drc);
210 int (*dt_populate)(SpaprDrc *drc, struct SpaprMachineState *spapr,
228 bool spapr_drc_reset(SpaprDrc *drc);
230 uint32_t spapr_drc_index(SpaprDrc *drc);
231 SpaprDrcType spapr_drc_type(SpaprDrc *drc);
242 * this means that the attachability of the DRC *must* be checked
243 * beforehand (eg. check drc->dev at pre-plug).
245 void spapr_drc_attach(SpaprDrc *drc, DeviceState *d);
246 void spapr_drc_unplug_request(SpaprDrc *drc);
250 * Safely handles potential DRC removal (eg. PHBs or PCI bridges).
254 static inline bool spapr_drc_unplug_requested(SpaprDrc *drc) in spapr_drc_unplug_requested() argument
256 return drc->unplug_requested; in spapr_drc_unplug_requested()