Lines Matching refs:sclp

28     static SCLPDevice *sclp;  in get_sclp_device()  local
30 if (!sclp) { in get_sclp_device()
31 sclp = S390_CCW_MACHINE(qdev_get_machine())->sclp; 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
156 rnsize = 1 << (sclp->increment_size - 20); in read_SCP_info()
169 rnmax = machine->ram_size >> sclp->increment_size; in read_SCP_info()
184 static void sclp_read_cpu_info(SCLPDevice *sclp, SCCB *sccb) in sclp_read_cpu_info() argument
212 static void sclp_configure_io_adapter(SCLPDevice *sclp, SCCB *sccb, in sclp_configure_io_adapter() argument
241 static void sclp_execute(SCLPDevice *sclp, SCCB *sccb, uint32_t code) in sclp_execute() argument
243 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_execute()
244 SCLPEventFacility *ef = sclp->event_facility; in sclp_execute()
250 sclp_c->read_SCP_info(sclp, sccb); in sclp_execute()
253 sclp_c->read_cpu_info(sclp, sccb); in sclp_execute()
256 sclp_configure_io_adapter(sclp, sccb, true); in sclp_execute()
259 sclp_configure_io_adapter(sclp, sccb, false); in sclp_execute()
275 SCLPDevice *sclp = get_sclp_device(); in sclp_service_call_protected() local
276 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_call_protected()
291 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call_protected()
295 sclp_c->service_interrupt(sclp, SCLP_PV_DUMMY_ADDR); in sclp_service_call_protected()
302 SCLPDevice *sclp = get_sclp_device(); in sclp_service_call() local
303 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_call()
345 sclp_c->execute(sclp, work_sccb, code); in sclp_service_call()
350 sclp_c->service_interrupt(sclp, sccb); in sclp_service_call()
355 static void service_interrupt(SCLPDevice *sclp, uint32_t sccb) in service_interrupt() argument
357 SCLPEventFacility *ef = sclp->event_facility; in service_interrupt()
374 SCLPDevice *sclp = get_sclp_device(); in sclp_service_interrupt() local
375 SCLPDeviceClass *sclp_c = SCLP_GET_CLASS(sclp); in sclp_service_interrupt()
377 sclp_c->service_interrupt(sclp, sccb); in sclp_service_interrupt()
383 SCLPDevice *sclp = SCLP(dev); in sclp_realize() local
390 if (!sysbus_realize(SYS_BUS_DEVICE(sclp->event_facility), errp)) { in sclp_realize()
395 static void sclp_memory_init(SCLPDevice *sclp) in sclp_memory_init() argument
411 sclp->increment_size = increment_size; in sclp_memory_init()
416 SCLPDevice *sclp = SCLP(obj); in sclp_init() local
422 sclp->event_facility = EVENT_FACILITY(new); in sclp_init()
424 sclp_memory_init(sclp); in sclp_init()