Searched refs:sccb (Results 1 – 8 of 8) sorted by relevance
| /openbmc/qemu/pc-bios/s390-ccw/ |
| H A D | sclp.c | 31 static int sclp_service_call(unsigned int command, void *sccb) in sclp_service_call() argument 39 : "=&d" (cc) : "d" (command), "a" (__pa(sccb)) in sclp_service_call() 51 WriteEventMask *sccb = (void *)_sccb; in sclp_set_write_mask() local 53 sccb->h.length = sizeof(WriteEventMask); in sclp_set_write_mask() 54 sccb->mask_length = sizeof(unsigned int); in sclp_set_write_mask() 55 sccb->cp_receive_mask = receive_mask; in sclp_set_write_mask() 56 sccb->cp_send_mask = send_mask; in sclp_set_write_mask() 58 sclp_service_call(SCLP_CMD_WRITE_EVENT_MASK, sccb); in sclp_set_write_mask() 68 WriteEventData *sccb = (void *)_sccb; in write() local 86 sccb->data[data_len++] = '\r'; in write() [all …]
|
| /openbmc/qemu/hw/s390x/ |
| H A D | sclp.c | 107 static void read_SCP_info(SCLPDevice *sclp, SCCB *sccb) in read_SCP_info() argument 109 ReadInfo *read_info = (ReadInfo *) sccb; in read_SCP_info() 117 CPUEntry *entries_start = (void *)sccb + offset_cpu; in read_SCP_info() 119 if (be16_to_cpu(sccb->h.length) < required_len) { in read_SCP_info() 120 if (ext_len_sccb_supported(sccb->h)) { in read_SCP_info() 121 sccb->h.length = cpu_to_be16(required_len); in read_SCP_info() 123 sccb->h.response_code = cpu_to_be16(SCLP_RC_INSUFFICIENT_SCCB_LENGTH); in read_SCP_info() 180 sccb->h.response_code = cpu_to_be16(SCLP_RC_NORMAL_READ_COMPLETION); in read_SCP_info() 184 static void sclp_read_cpu_info(SCLPDevice *sclp, SCCB *sccb) in sclp_read_cpu_info() argument 187 ReadCpuInfo *cpu_info = (ReadCpuInfo *) sccb; in sclp_read_cpu_info() [all …]
|
| H A D | event-facility.c | 104 static uint16_t write_event_length_check(SCCB *sccb) in write_event_length_check() argument 109 WriteEventData *wed = (WriteEventData *) sccb; in write_event_length_check() 112 for (slen = sccb_data_len(sccb); slen > 0; slen -= elen) { in write_event_length_check() 126 EventBufferHeader *event_buf, SCCB *sccb) in handle_write_event_buf() argument 149 static uint16_t handle_sccb_write_events(SCLPEventFacility *ef, SCCB *sccb) in handle_sccb_write_events() argument 155 WriteEventData *wed = (WriteEventData *) sccb; in handle_sccb_write_events() 161 for (slen = sccb_data_len(sccb); slen > 0; slen -= elen) { in handle_sccb_write_events() 169 rc = handle_write_event_buf(ef, event_buf, sccb); in handle_sccb_write_events() 176 static void write_event_data(SCLPEventFacility *ef, SCCB *sccb) in write_event_data() argument 178 if (sccb->h.function_code != SCLP_FC_NORMAL_WRITE) { in write_event_data() [all …]
|
| H A D | s390-pci-bus.c | 121 void s390_pci_sclp_configure(SCCB *sccb) in s390_pci_sclp_configure() argument 123 IoaCfgSccb *psccb = (IoaCfgSccb *)sccb; in s390_pci_sclp_configure() 180 void s390_pci_sclp_deconfigure(SCCB *sccb) in s390_pci_sclp_deconfigure() argument 182 IoaCfgSccb *psccb = (IoaCfgSccb *)sccb; in s390_pci_sclp_deconfigure()
|
| /openbmc/qemu/include/hw/s390x/ |
| H A D | sclp.h | 211 void (*read_SCP_info)(SCLPDevice *sclp, SCCB *sccb); 212 void (*read_cpu_info)(SCLPDevice *sclp, SCCB *sccb); 215 void (*execute)(SCLPDevice *sclp, SCCB *sccb, uint32_t code); 216 void (*service_interrupt)(SCLPDevice *sclp, uint32_t sccb); 219 static inline int sccb_data_len(SCCB *sccb) in sccb_data_len() argument 221 return be16_to_cpu(sccb->h.length) - sizeof(sccb->h); in sccb_data_len() 224 void sclp_service_interrupt(uint32_t sccb); 226 int sclp_service_call(S390CPU *cpu, uint64_t sccb, uint32_t code); 227 int sclp_service_call_protected(S390CPU *cpu, uint64_t sccb, uint32_t code);
|
| H A D | s390-pci-bus.h | 391 void s390_pci_sclp_configure(SCCB *sccb); 392 void s390_pci_sclp_deconfigure(SCCB *sccb);
|
| H A D | event-facility.h | 219 void (*command_handler)(SCLPEventFacility *ef, SCCB *sccb, uint64_t code);
|
| /openbmc/qemu/target/s390x/kvm/ |
| H A D | kvm.c | 1155 uint64_t sccb; in kvm_sclp_service_call() local 1159 sccb = env->regs[ipbh0 & 0xf]; in kvm_sclp_service_call() 1171 sclp_service_call_protected(cpu, sccb, code); in kvm_sclp_service_call() 1176 r = sclp_service_call(cpu, sccb, code); in kvm_sclp_service_call()
|