/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | sclp_early.c | 23 static void __init sclp_early_facilities_detect(struct read_info_sccb *sccb) in sclp_early_facilities_detect() argument 28 if (sclp_early_get_info(sccb)) in sclp_early_facilities_detect() 31 sclp.facilities = sccb->facilities; in sclp_early_facilities_detect() 32 sclp.has_sprp = !!(sccb->fac84 & 0x02); in sclp_early_facilities_detect() 33 sclp.has_core_type = !!(sccb->fac84 & 0x01); in sclp_early_facilities_detect() 34 sclp.has_gsls = !!(sccb->fac85 & 0x80); in sclp_early_facilities_detect() 35 sclp.has_64bscao = !!(sccb->fac116 & 0x80); in sclp_early_facilities_detect() 36 sclp.has_cmma = !!(sccb->fac116 & 0x40); in sclp_early_facilities_detect() 37 sclp.has_esca = !!(sccb->fac116 & 0x08); in sclp_early_facilities_detect() 38 sclp.has_pfmfi = !!(sccb in sclp_early_facilities_detect() 114 sclp_early_init_core_info(struct read_cpu_info_sccb *sccb) sclp_early_init_core_info() argument 136 sclp_early_console_detect(struct init_sccb *sccb) sclp_early_console_detect() argument 150 void *sccb = sclp_early_sccb; sclp_early_detect() local [all...] |
H A D | sclp_early_core.c | 63 int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) in sclp_early_cmd() argument 69 rc = sclp_service_call(cmd, sccb); in sclp_early_cmd() 88 struct write_sccb *sccb; in sclp_early_print_lm() local 94 sccb = (struct write_sccb *) sclp_early_sccb; in sclp_early_print_lm() 95 end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1; in sclp_early_print_lm() 96 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_lm() 97 ptr = (unsigned char *) &sccb->msg.mdb.mto; in sclp_early_print_lm() 113 len = ptr - (unsigned char *) sccb; in sclp_early_print_lm() 114 sccb in sclp_early_print_lm() 140 struct vt220_sccb *sccb; sclp_early_print_vt220() local 153 sclp_early_set_event_mask(struct init_sccb *sccb, sccb_mask_t receive_mask, sccb_mask_t send_mask) sclp_early_set_event_mask() argument 177 sclp_early_con_check_linemode(struct init_sccb *sccb) sclp_early_con_check_linemode() argument 186 sclp_early_con_check_vt220(struct init_sccb *sccb) sclp_early_con_check_vt220() argument 196 struct init_sccb *sccb; sclp_early_setup() local 240 struct read_info_sccb *sccb = &sclp_info_sccb; sclp_early_read_info() local 274 struct read_info_sccb *sccb = &sclp_info_sccb; sclp_early_get_memsize() local 302 struct read_storage_sccb *sccb = (struct read_storage_sccb *)sclp_early_sccb; sclp_early_read_storage_info() local [all...] |
H A D | sclp_cmd.c | 40 int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) in sclp_sync_request() argument 42 return sclp_sync_request_timeout(cmd, sccb, 0); in sclp_sync_request() 45 int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout) in sclp_sync_request_timeout() argument 57 request->sccb = sccb; in sclp_sync_request_timeout() 90 struct read_cpu_info_sccb *sccb; in _sclp_get_core_info() local 94 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in _sclp_get_core_info() 95 if (!sccb) in _sclp_get_core_info() 97 sccb->header.length = sizeof(*sccb); in _sclp_get_core_info() 120 struct cpu_configure_sccb *sccb; do_core_configure() local 194 struct assign_storage_sccb *sccb; do_assign_storage() local 248 struct attach_storage_sccb *sccb; sclp_attach_storage() local 477 struct read_storage_sccb *sccb; sclp_detect_standby_memory() local 565 struct chp_cfg_sccb *sccb; do_chp_configure() local 639 struct chp_info_sccb *sccb; sclp_chp_read_info() local [all...] |
H A D | sclp_sdias.c | 61 struct sdias_sccb *sccb = sclp_sdias_sccb; in sdias_sclp_send() local 82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send() 84 sccb->evbuf.hdr.flags); in sdias_sclp_send() 88 * for the sync interface the response is in the initial sccb in sdias_sclp_send() 91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send() 108 struct sdias_sccb *sccb = sclp_sdias_sccb; in sclp_sdias_blk_count() local 114 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_blk_count() 117 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_blk_count() 168 struct sdias_sccb *sccb = sclp_sdias_sccb; sclp_sdias_copy() local [all...] |
H A D | sclp_pci.c | 60 struct pci_cfg_sccb *sccb; in do_pci_configure() local 66 sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_pci_configure() 67 if (!sccb) in do_pci_configure() 70 sccb->header.length = PAGE_SIZE; in do_pci_configure() 71 sccb->atype = SCLP_ATYPE_PCI; in do_pci_configure() 72 sccb->aid = fid; in do_pci_configure() 73 rc = sclp_sync_request(cmd, sccb); in do_pci_configure() 76 switch (sccb->header.response_code) { in do_pci_configure() 82 cmd, sccb->header.response_code); in do_pci_configure() 87 free_page((unsigned long) sccb); in do_pci_configure() 133 struct err_notify_sccb *sccb; sclp_pci_report() local [all...] |
H A D | sclp_ftp.c | 41 req->sccb, 24, req->sccb); in sclp_ftp_txcb() 88 struct sclp_diag_sccb *sccb; in sclp_ftp_et7() local 94 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ftp_et7() 95 if (!req || !sccb) { in sclp_ftp_et7() 100 sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN + in sclp_ftp_et7() 102 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7() 103 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7() 104 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7() 105 sccb in sclp_ftp_et7() [all...] |
H A D | sclp_rw.c | 51 struct sccb_header *sccb; in sclp_make_buffer() local 53 sccb = (struct sccb_header *) page; in sclp_make_buffer() 56 * of the sccb page. in sclp_make_buffer() 58 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer() 59 buffer->sccb = sccb; in sclp_make_buffer() 68 /* initialize sccb */ in sclp_make_buffer() 69 memset(sccb, 0, sizeof(struct sccb_header)); in sclp_make_buffer() 70 sccb->length = sizeof(struct sccb_header); in sclp_make_buffer() 82 return buffer->sccb; in sclp_unmake_buffer() 92 struct sccb_header *sccb; sclp_initialize_mto() local 142 struct sccb_header *sccb; sclp_finalize_mto() local 315 struct sccb_header *sccb; sclp_buffer_space() local 368 struct sccb_header *sccb; sclp_writedata_callback() local [all...] |
H A D | sclp_ctl.c | 58 struct sccb_header *sccb; in sclp_ctl_ioctl_sccb() local 66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb() 67 if (!sccb) in sclp_ctl_ioctl_sccb() 70 copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE); in sclp_ctl_ioctl_sccb() 72 sizeof(sccb->length) > copied || sccb->length > copied) { in sclp_ctl_ioctl_sccb() 76 if (sccb->length < 8) { in sclp_ctl_ioctl_sccb() 80 rc = sclp_sync_request(ctl_sccb.cmdw, sccb); in sclp_ctl_ioctl_sccb() 83 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), scc in sclp_ctl_ioctl_sccb() [all...] |
H A D | sclp.h | 131 #define sccb_get_generic_mask(sccb, i) \ 133 __typeof__(sccb) __sccb = sccb; \ 137 #define sccb_get_recv_mask(sccb) sccb_get_generic_mask(sccb, 0) 138 #define sccb_get_send_mask(sccb) sccb_get_generic_mask(sccb, 1) 139 #define sccb_get_sclp_recv_mask(sccb) sccb_get_generic_mask(sccb, 2) 140 #define sccb_get_sclp_send_mask(sccb) sccb_get_generic_mas 214 sclp_fill_core_info(struct sclp_core_info *info, struct read_cpu_info_sccb *sccb) sclp_fill_core_info() argument 254 void *sccb; /* pointer to the sccb to execute */ global() member 336 sclp_service_call(sclp_cmdw_t command, void *sccb) sclp_service_call() argument [all...] |
H A D | sclp_vt220.c | 128 page = request->sclp_req.sccb; in sclp_vt220_process_queue() 160 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local 167 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback() 170 switch (sccb->header.response_code) { in sclp_vt220_callback() 181 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback() 183 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 193 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 228 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local 232 sccb in sclp_vt220_emit_current() 269 struct sclp_vt220_sccb *sccb; sclp_vt220_initialize_page() local 291 struct sclp_vt220_sccb *sccb; sclp_vt220_space_left() local 300 struct sclp_vt220_sccb *sccb; sclp_vt220_chars_stored() local 313 struct sclp_vt220_sccb *sccb; sclp_vt220_add_msg() local [all...] |
H A D | sclp.c | 279 rc = sclp_service_call(req->command, req->sccb); in __sclp_start_request() 316 if (!req->sccb) in sclp_process_queue() 380 if (!req->sccb) { in sclp_add_request() 399 sclp_dispatch_evbufs(struct sccb_header *sccb) in sclp_dispatch_evbufs() argument 410 for (offset = sizeof(struct sccb_header); offset < sccb->length; in sclp_dispatch_evbufs() 412 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs() 441 struct sccb_header *sccb; in sclp_read_cb() local 443 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb() 444 if (req->status == SCLP_REQ_DONE && (sccb in sclp_read_cb() 455 struct sccb_header *sccb; __sclp_make_read_req() local 473 __sclp_find_req(u32 sccb) __sclp_find_req() argument 726 sclp_remove_processed(struct sccb_header *sccb) sclp_remove_processed() argument 756 struct init_sccb *sccb = sclp_init_sccb; __sclp_make_init_req() local 784 struct init_sccb *sccb = sclp_init_sccb; sclp_init_mask() local 949 struct init_sccb *sccb; sclp_check_interface() local [all...] |
H A D | sclp_ap.c | 24 struct ap_cfg_sccb *sccb; in do_ap_configure() local 30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure() 31 if (!sccb) in do_ap_configure() 34 sccb->header.length = PAGE_SIZE; in do_ap_configure() 36 rc = sclp_sync_request(cmd, sccb); in do_ap_configure() 39 switch (sccb->header.response_code) { in do_ap_configure() 44 apid, cmd, sccb->header.response_code); in do_ap_configure() 49 free_page((unsigned long) sccb); in do_ap_configure()
|
H A D | sclp_config.c | 96 struct sclp_ofb_sccb *sccb; in sclp_ofb_send_req() local 101 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ofb_send_req() 102 if (!sccb) in sclp_ofb_send_req() 105 sccb->header.length = sizeof(struct sclp_ofb_sccb); in sclp_ofb_send_req() 106 sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf); in sclp_ofb_send_req() 107 sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA; in sclp_ofb_send_req() 108 sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS; in sclp_ofb_send_req() 109 memcpy(sccb->ofb_evbuf.ev_data, ev_data, len); in sclp_ofb_send_req() 116 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); in sclp_ofb_send_req() 120 response = sccb in sclp_ofb_send_req() [all...] |
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | sclp_early.c | 29 struct read_info_sccb *sccb; in sclp_early_facilities_detect() local 32 sccb = sclp_early_get_info(); in sclp_early_facilities_detect() 33 if (!sccb) in sclp_early_facilities_detect() 36 sclp.facilities = sccb->facilities; in sclp_early_facilities_detect() 37 sclp.has_sprp = !!(sccb->fac84 & 0x02); in sclp_early_facilities_detect() 38 sclp.has_core_type = !!(sccb->fac84 & 0x01); in sclp_early_facilities_detect() 39 sclp.has_gsls = !!(sccb->fac85 & 0x80); in sclp_early_facilities_detect() 40 sclp.has_64bscao = !!(sccb->fac116 & 0x80); in sclp_early_facilities_detect() 41 sclp.has_cmma = !!(sccb->fac116 & 0x40); in sclp_early_facilities_detect() 42 sclp.has_esca = !!(sccb in sclp_early_facilities_detect() 127 struct read_cpu_info_sccb *sccb; sclp_early_get_core_info() local 155 sclp_early_console_detect(struct init_sccb *sccb) sclp_early_console_detect() argument 174 void *sccb = sclp_early_sccb; sclp_early_detect() local [all...] |
H A D | sclp_early_core.c | 64 int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) in sclp_early_cmd() argument 70 rc = sclp_service_call(cmd, sccb); in sclp_early_cmd() 89 struct write_sccb *sccb; in sclp_early_print_lm() local 95 sccb = (struct write_sccb *) sclp_early_sccb; in sclp_early_print_lm() 96 end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1; in sclp_early_print_lm() 97 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_lm() 98 ptr = (unsigned char *) &sccb->msg.mdb.mto; in sclp_early_print_lm() 114 len = ptr - (unsigned char *) sccb; in sclp_early_print_lm() 115 sccb in sclp_early_print_lm() 141 struct vt220_sccb *sccb; sclp_early_print_vt220() local 154 sclp_early_set_event_mask(struct init_sccb *sccb, sccb_mask_t receive_mask, sccb_mask_t send_mask) sclp_early_set_event_mask() argument 178 sclp_early_con_check_linemode(struct init_sccb *sccb) sclp_early_con_check_linemode() argument 187 sclp_early_con_check_vt220(struct init_sccb *sccb) sclp_early_con_check_vt220() argument 197 struct init_sccb *sccb; sclp_early_setup() local 214 sclp_early_set_buffer(void *sccb) sclp_early_set_buffer() argument 280 struct read_info_sccb *sccb = (struct read_info_sccb *)sclp_early_sccb; sclp_early_read_info() local 314 struct read_info_sccb *sccb = &sclp_info_sccb; sclp_early_get_memsize() local 342 struct read_storage_sccb *sccb = (struct read_storage_sccb *)sclp_early_sccb; sclp_early_read_storage_info() local [all...] |
H A D | sclp_cmd.c | 39 int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) in sclp_sync_request() argument 41 return sclp_sync_request_timeout(cmd, sccb, 0); in sclp_sync_request() 44 int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout) in sclp_sync_request_timeout() argument 56 request->sccb = sccb; in sclp_sync_request_timeout() 90 struct read_cpu_info_sccb *sccb; in _sclp_get_core_info() local 95 sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length)); in _sclp_get_core_info() 96 if (!sccb) in _sclp_get_core_info() 98 sccb->header.length = length; in _sclp_get_core_info() 99 sccb in _sclp_get_core_info() 122 struct cpu_configure_sccb *sccb; do_core_configure() local 195 struct assign_storage_sccb *sccb; do_assign_storage() local 249 struct attach_storage_sccb *sccb; sclp_attach_storage() local 452 struct read_storage_sccb *sccb; sclp_detect_standby_memory() local 530 struct chp_cfg_sccb *sccb; do_chp_configure() local 604 struct chp_info_sccb *sccb; sclp_chp_read_info() local [all...] |
H A D | sclp_sdias.c | 61 struct sdias_sccb *sccb = sclp_sdias_sccb; in sdias_sclp_send() local 82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send() 84 sccb->evbuf.hdr.flags); in sdias_sclp_send() 88 * for the sync interface the response is in the initial sccb in sdias_sclp_send() 91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send() 108 struct sdias_sccb *sccb = sclp_sdias_sccb; in sclp_sdias_blk_count() local 114 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_blk_count() 117 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_blk_count() 168 struct sdias_sccb *sccb = sclp_sdias_sccb; sclp_sdias_copy() local [all...] |
H A D | sclp_pci.c | 60 struct pci_cfg_sccb *sccb; in do_pci_configure() local 66 sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_pci_configure() 67 if (!sccb) in do_pci_configure() 70 sccb->header.length = PAGE_SIZE; in do_pci_configure() 71 sccb->atype = SCLP_ATYPE_PCI; in do_pci_configure() 72 sccb->aid = fid; in do_pci_configure() 73 rc = sclp_sync_request(cmd, sccb); in do_pci_configure() 76 switch (sccb->header.response_code) { in do_pci_configure() 82 cmd, sccb->header.response_code); in do_pci_configure() 87 free_page((unsigned long) sccb); in do_pci_configure() 133 struct err_notify_sccb *sccb; sclp_pci_report() local [all...] |
H A D | sclp_ftp.c | 43 req->sccb, 24, req->sccb); in sclp_ftp_txcb() 91 struct sclp_diag_sccb *sccb; in sclp_ftp_et7() local 97 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ftp_et7() 98 if (!req || !sccb) { in sclp_ftp_et7() 103 sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN + in sclp_ftp_et7() 105 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7() 106 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7() 107 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7() 108 sccb in sclp_ftp_et7() [all...] |
H A D | sclp_rw.c | 44 struct sccb_header *sccb; in sclp_make_buffer() local 46 sccb = (struct sccb_header *) page; in sclp_make_buffer() 49 * of the sccb page. in sclp_make_buffer() 51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer() 52 buffer->sccb = sccb; in sclp_make_buffer() 61 /* initialize sccb */ in sclp_make_buffer() 62 memset(sccb, 0, sizeof(struct sccb_header)); in sclp_make_buffer() 63 sccb->length = sizeof(struct sccb_header); in sclp_make_buffer() 75 return buffer->sccb; in sclp_unmake_buffer() 85 struct sccb_header *sccb; sclp_initialize_mto() local 135 struct sccb_header *sccb; sclp_finalize_mto() local 308 struct sccb_header *sccb; sclp_buffer_space() local 361 struct sccb_header *sccb; sclp_writedata_callback() local [all...] |
H A D | sclp_ctl.c | 58 struct sccb_header *sccb; in sclp_ctl_ioctl_sccb() local 66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb() 67 if (!sccb) in sclp_ctl_ioctl_sccb() 70 copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE); in sclp_ctl_ioctl_sccb() 72 sizeof(sccb->length) > copied || sccb->length > copied) { in sclp_ctl_ioctl_sccb() 76 if (sccb->length < 8) { in sclp_ctl_ioctl_sccb() 80 rc = sclp_sync_request(ctl_sccb.cmdw, sccb); in sclp_ctl_ioctl_sccb() 83 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), scc in sclp_ctl_ioctl_sccb() [all...] |
H A D | sclp.h | 123 #define sccb_get_generic_mask(sccb, i) \ 125 __typeof__(sccb) __sccb = sccb; \ 129 #define sccb_get_recv_mask(sccb) sccb_get_generic_mask(sccb, 0) 130 #define sccb_get_send_mask(sccb) sccb_get_generic_mask(sccb, 1) 131 #define sccb_get_sclp_recv_mask(sccb) sccb_get_generic_mask(sccb, 2) 132 #define sccb_get_sclp_send_mask(sccb) sccb_get_generic_mas 210 sclp_fill_core_info(struct sclp_core_info *info, struct read_cpu_info_sccb *sccb) sclp_fill_core_info() argument 250 void *sccb; /* pointer to the sccb to execute */ global() member 326 sclp_service_call(sclp_cmdw_t command, void *sccb) sclp_service_call() argument [all...] |
H A D | sclp_vt220.c | 123 page = request->sclp_req.sccb; in sclp_vt220_process_queue() 155 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local 162 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback() 165 switch (sccb->header.response_code) { in sclp_vt220_callback() 176 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback() 178 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 188 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 223 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local 227 sccb in sclp_vt220_emit_current() 263 struct sclp_vt220_sccb *sccb; sclp_vt220_initialize_page() local 285 struct sclp_vt220_sccb *sccb; sclp_vt220_space_left() local 294 struct sclp_vt220_sccb *sccb; sclp_vt220_chars_stored() local 307 struct sclp_vt220_sccb *sccb; sclp_vt220_add_msg() local [all...] |
H A D | sclp.c | 110 static inline int abbrev_len(sclp_cmdw_t cmd, struct sccb_header *sccb) in abbrev_len() argument 112 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1); in abbrev_len() 113 int len = sccb->length, limit = SCLP_TRACE_MAX_SIZE; in abbrev_len() 128 sclp_cmdw_t cmd, struct sccb_header *sccb, in sclp_trace_sccb() 132 if (sccb) { in sclp_trace_sccb() 133 sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb), in sclp_trace_sccb() 134 err ? sccb->length : 0); in sclp_trace_sccb() 150 struct sccb_header *sccb = req->sccb; in sclp_trace_req() local 127 sclp_trace_sccb(int prio, char *id, u32 a, u64 b, sclp_cmdw_t cmd, struct sccb_header *sccb, bool err) sclp_trace_sccb() argument 382 sclp_service_call_trace(sclp_cmdw_t command, void *sccb) sclp_service_call_trace() argument 529 sclp_dispatch_evbufs(struct sccb_header *sccb) sclp_dispatch_evbufs() argument 576 struct sccb_header *sccb; sclp_read_cb() local 590 struct sccb_header *sccb; __sclp_make_read_req() local 608 __sclp_find_req(u32 sccb) __sclp_find_req() argument 623 struct sccb_header *sccb = (struct sccb_header *)__va(sccb_int); ok_response() local 914 sclp_remove_processed(struct sccb_header *sccb) sclp_remove_processed() argument 944 struct init_sccb *sccb = sclp_init_sccb; __sclp_make_init_req() local 972 struct init_sccb *sccb = sclp_init_sccb; sclp_init_mask() local 1137 struct init_sccb *sccb; sclp_check_interface() local [all...] |
H A D | sclp_ap.c | 24 struct ap_cfg_sccb *sccb; in do_ap_configure() local 30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure() 31 if (!sccb) in do_ap_configure() 34 sccb->header.length = PAGE_SIZE; in do_ap_configure() 36 rc = sclp_sync_request(cmd, sccb); in do_ap_configure() 39 switch (sccb->header.response_code) { in do_ap_configure() 44 apid, cmd, sccb->header.response_code); in do_ap_configure() 49 free_page((unsigned long) sccb); in do_ap_configure()
|