Lines Matching refs:drcp
599 SpaprDrcPhysical *drcp = (SpaprDrcPhysical *)opaque; in drc_physical_needed() local
600 SpaprDrc *drc = SPAPR_DR_CONNECTOR(drcp); in drc_physical_needed()
602 if ((drc->dev && (drcp->dr_indicator == SPAPR_DR_INDICATOR_ACTIVE)) in drc_physical_needed()
603 || (!drc->dev && (drcp->dr_indicator == SPAPR_DR_INDICATOR_INACTIVE))) { in drc_physical_needed()
623 SpaprDrcPhysical *drcp = SPAPR_DRC_PHYSICAL(drc); in drc_physical_reset() local
626 drcp->dr_indicator = SPAPR_DR_INDICATOR_ACTIVE; in drc_physical_reset()
628 drcp->dr_indicator = SPAPR_DR_INDICATOR_INACTIVE; in drc_physical_reset()
634 SpaprDrcPhysical *drcp = SPAPR_DRC_PHYSICAL(d); in realize_physical() local
643 vmstate_register(VMSTATE_IF(drcp), in realize_physical()
644 spapr_drc_index(SPAPR_DR_CONNECTOR(drcp)), in realize_physical()
645 &vmstate_spapr_drc_physical, drcp); in realize_physical()
646 qemu_register_reset(drc_physical_reset, drcp); in realize_physical()
651 SpaprDrcPhysical *drcp = SPAPR_DRC_PHYSICAL(d); in unrealize_physical() local
654 vmstate_unregister(VMSTATE_IF(drcp), &vmstate_spapr_drc_physical, drcp); in unrealize_physical()
655 qemu_unregister_reset(drc_physical_reset, drcp); in unrealize_physical()