Lines Matching refs:sclp

28     static SCLPDevice *sclp;  in get_sclp_device()  local
30 if (!sclp) { in get_sclp_device()
31 sclp = SCLP(object_resolve_path_type("", TYPE_SCLP, NULL)); in get_sclp_device()
33 return sclp; in get_sclp_device()
107 static void read_SCP_info(SCLPDevice *sclp, SCCB *sccb) in read_SCP_info() argument
153 rnsize = 1 << (sclp->increment_size - 20); in read_SCP_info()
162 rnmax = machine->ram_size >> sclp->increment_size; in read_SCP_info()
181 static void sclp_read_cpu_info(SCLPDevice *sclp, SCCB *sccb) in sclp_read_cpu_info() argument
209 static void sclp_configure_io_adapter(SCLPDevice *sclp, SCCB *sccb, in sclp_configure_io_adapter() argument
238 static void sclp_execute(SCLPDevice *sclp, SCCB *sccb, uint32_t code) in sclp_execute() argument
240 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_execute()
241 SCLPEventFacility *ef = sclp->event_facility; in sclp_execute()
247 sclp_c->read_SCP_info(sclp, sccb); in sclp_execute()
250 sclp_c->read_cpu_info(sclp, sccb); in sclp_execute()
253 sclp_configure_io_adapter(sclp, sccb, true); in sclp_execute()
256 sclp_configure_io_adapter(sclp, sccb, false); in sclp_execute()
272 SCLPDevice *sclp = get_sclp_device(); in sclp_service_call_protected() local
273 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_call_protected()
288 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call_protected()
292 sclp_c->service_interrupt(sclp, SCLP_PV_DUMMY_ADDR); in sclp_service_call_protected()
298 SCLPDevice *sclp = get_sclp_device(); in sclp_service_call() local
299 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_call()
341 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call()
346 sclp_c->service_interrupt(sclp, sccb); in sclp_service_call()
351 static void service_interrupt(SCLPDevice *sclp, uint32_t sccb) in service_interrupt() argument
353 SCLPEventFacility *ef = sclp->event_facility; in service_interrupt()
370 SCLPDevice *sclp = get_sclp_device(); in sclp_service_interrupt() local
371 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_interrupt()
373 sclp_c->service_interrupt(sclp, sccb); in sclp_service_interrupt()
390 SCLPDevice *sclp = SCLP(dev); in sclp_realize() local
399 if (!sysbus_realize(SYS_BUS_DEVICE(sclp->event_facility), errp)) { in sclp_realize()
412 static void sclp_memory_init(SCLPDevice *sclp) in sclp_memory_init() argument
428 sclp->increment_size = increment_size; in sclp_memory_init()
433 SCLPDevice *sclp = SCLP(obj); in sclp_init() local
439 sclp->event_facility = EVENT_FACILITY(new); in sclp_init()
441 sclp_memory_init(sclp); in sclp_init()