| /drivers/s390/char/ |
| A D | sclp_early.c | 34 if (!sccb) in sclp_early_facilities_detect() 67 sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; in sclp_early_facilities_detect() 68 sclp.rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2; in sclp_early_facilities_detect() 72 if (sccb->hamaxpow && sccb->hamaxpow < 64) in sclp_early_facilities_detect() 77 if (!sccb->hcpua) { in sclp_early_facilities_detect() 87 cpue = (void *)sccb + sccb->cpuoff; in sclp_early_facilities_detect() 107 if (sccb->hsa_size) in sclp_early_facilities_detect() 109 sclp.mtid = (sccb->fac42 & 0x80) ? (sccb->fac42 & 31) : 0; in sclp_early_facilities_detect() 110 sclp.mtid_cp = (sccb->fac42 & 0x80) ? (sccb->fac43 & 31) : 0; in sclp_early_facilities_detect() 111 sclp.mtid_prev = (sccb->fac42 & 0x80) ? (sccb->fac66 & 31) : 0; in sclp_early_facilities_detect() [all …]
|
| A D | sclp_early_core.c | 91 struct write_sccb *sccb; in sclp_early_print_lm() local 99 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_lm() 118 msg = &sccb->msg; in sclp_early_print_lm() 148 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_vt220() 150 sccb->header.length = sizeof(*sccb) + len; in sclp_early_print_vt220() 151 sccb->msg.header.length = sizeof(sccb->msg) + len; in sclp_early_print_vt220() 161 memset(sccb, 0, sizeof(*sccb)); in sclp_early_set_event_mask() 162 sccb->header.length = sizeof(*sccb); in sclp_early_set_event_mask() 199 struct init_sccb *sccb; in sclp_early_setup() local 321 rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; in sclp_early_get_memsize() [all …]
|
| A D | sclp_cmd.c | 61 request->sccb = sccb; in sclp_sync_request_timeout() 101 if (!sccb) in _sclp_get_core_info() 136 sccb = kzalloc(sizeof(*sccb), GFP_KERNEL | GFP_DMA); in do_core_configure() 137 if (!sccb) in do_core_configure() 139 sccb->header.length = sizeof(*sccb); in do_core_configure() 154 kfree(sccb); in do_core_configure() 204 if (!sccb) in do_assign_storage() 259 if (!sccb) in sclp_attach_storage() 489 if (!sccb) in sclp_detect_standby_memory() 567 sccb->header.length = sizeof(*sccb); in do_chp_configure() [all …]
|
| A D | sclp_sdias.c | 114 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_blk_count() 117 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_blk_count() 122 sccb->evbuf.event_id = 4712; in sclp_sdias_blk_count() 123 sccb->evbuf.dbs = 1; in sclp_sdias_blk_count() 125 request.sccb = sccb; in sclp_sdias_blk_count() 174 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_copy() 177 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_copy() 180 sccb->evbuf.hdr.flags = 0; in sclp_sdias_copy() 189 sccb->evbuf.lbn = 0; in sclp_sdias_copy() 190 sccb->evbuf.dbs = 1; in sclp_sdias_copy() [all …]
|
| A D | sclp_pci.c | 42 struct pci_cfg_sccb *sccb; in do_pci_configure() local 49 if (!sccb) in do_pci_configure() 53 sccb->atype = SCLP_ATYPE_PCI; in do_pci_configure() 54 sccb->aid = fid; in do_pci_configure() 116 struct err_notify_sccb *sccb; in sclp_pci_report() local 135 if (!sccb) { in sclp_pci_report() 145 req.sccb = sccb; in sclp_pci_report() 147 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report() 149 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report() 153 sccb->evbuf.fh = fh; in sclp_pci_report() [all …]
|
| A D | sclp.h | 120 __typeof__(sccb) __sccb = sccb; \ 124 #define sccb_get_recv_mask(sccb) sccb_get_generic_mask(sccb, 0) argument 125 #define sccb_get_send_mask(sccb) sccb_get_generic_mask(sccb, 1) argument 126 #define sccb_get_sclp_recv_mask(sccb) sccb_get_generic_mask(sccb, 2) argument 127 #define sccb_get_sclp_send_mask(sccb) sccb_get_generic_mask(sccb, 3) argument 131 __typeof__(sccb) __sccb = sccb; \ 135 #define sccb_set_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 0, val) argument 136 #define sccb_set_send_mask(sccb, val) sccb_set_generic_mask(sccb, 1, val) argument 137 #define sccb_set_sclp_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 2, val) argument 215 info->combined = sccb->nr_configured + sccb->nr_standby; in sclp_fill_core_info() [all …]
|
| 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 98 if (!req || !sccb) { in sclp_ftp_et7() 110 sccb->evbuf.mdd.ftp.srcflg = 0; in sclp_ftp_et7() 111 sccb->evbuf.mdd.ftp.pgsize = 0; in sclp_ftp_et7() 114 sccb->evbuf.mdd.ftp.fsize = 0; in sclp_ftp_et7() 115 sccb->evbuf.mdd.ftp.cmd = ftp->id; in sclp_ftp_et7() 116 sccb->evbuf.mdd.ftp.offset = ftp->ofs; in sclp_ftp_et7() 128 req->sccb = sccb; in sclp_ftp_et7() 144 sccb->hdr.response_code, sccb->evbuf.hdr.flags); in sclp_ftp_et7() [all …]
|
| A D | sclp_rw.c | 44 struct sccb_header *sccb; in sclp_make_buffer() local 52 buffer->sccb = sccb; in sclp_make_buffer() 75 return buffer->sccb; in sclp_unmake_buffer() 85 struct sccb_header *sccb; in sclp_initialize_mto() local 96 sccb = buffer->sccb; in sclp_initialize_mto() 100 msg = (struct msg_buf *)((addr_t) sccb + sccb->length); in sclp_initialize_mto() 135 struct sccb_header *sccb; in sclp_finalize_mto() local 142 sccb = buffer->sccb; in sclp_finalize_mto() 311 sccb = buffer->sccb; in sclp_buffer_space() 364 sccb = buffer->sccb; in sclp_writedata_callback() [all …]
|
| A D | sclp.c | 133 if (sccb) { in sclp_trace_sccb() 134 sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb), in sclp_trace_sccb() 151 struct sccb_header *sccb = req->sccb; in sclp_trace_req() local 163 summary.response = sccb ? sccb->response_code : 0; in sclp_trace_req() 578 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb() 599 sclp_read_req.sccb = sccb; in __sclp_make_read_req() 615 if (sccb == __pa(req->sccb)) in __sclp_find_req() 627 if (!sccb) in ok_response() 953 sclp_init_req.sccb = sccb; in __sclp_make_init_req() 954 sccb->header.length = sizeof(*sccb); in __sclp_make_init_req() [all …]
|
| A D | sclp_vt220.c | 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() 223 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local 263 struct sclp_vt220_sccb *sccb; in sclp_vt220_initialize_page() local 286 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_space_left() 288 sccb->header.length; in sclp_vt220_space_left() 295 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_chars_stored() 318 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_add_msg() 319 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg() 339 sccb->header.length += to; in sclp_vt220_add_msg() [all …]
|
| 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), sccb, sccb->length)) in sclp_ctl_ioctl_sccb() 86 free_page((unsigned long) sccb); in sclp_ctl_ioctl_sccb()
|
| 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()
|
| A D | sclp_config.c | 95 struct sclp_ofb_sccb *sccb; in sclp_ofb_send_req() local 100 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ofb_send_req() 101 if (!sccb) in sclp_ofb_send_req() 104 sccb->header.length = sizeof(struct sclp_ofb_sccb); in sclp_ofb_send_req() 105 sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf); in sclp_ofb_send_req() 106 sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA; in sclp_ofb_send_req() 107 sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS; in sclp_ofb_send_req() 108 memcpy(sccb->ofb_evbuf.ev_data, ev_data, len); in sclp_ofb_send_req() 115 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); in sclp_ofb_send_req() 119 response = sccb->header.response_code; in sclp_ofb_send_req() [all …]
|
| A D | sclp_cpi_sys.c | 82 struct cpi_sccb *sccb; in cpi_prepare_req() local 88 sccb = (struct cpi_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in cpi_prepare_req() 89 if (!sccb) { in cpi_prepare_req() 95 sccb->header.length = sizeof(struct cpi_sccb); in cpi_prepare_req() 96 sccb->cpi_evbuf.header.length = sizeof(struct cpi_evbuf); in cpi_prepare_req() 97 sccb->cpi_evbuf.header.type = EVTYP_CTLPROGIDENT; in cpi_prepare_req() 98 evb = &sccb->cpi_evbuf; in cpi_prepare_req() 114 req->sccb = sccb; in cpi_prepare_req() 122 free_page((unsigned long) req->sccb); in cpi_free_req() 163 response = ((struct cpi_sccb *) req->sccb)->header.response_code; in cpi_req()
|
| A D | sclp_sd.c | 194 struct sclp_sd_sccb *sccb = (void *) page; in sclp_sd_sync() local 203 sclp_sd_listener_init(&listener, __pa(sccb)); in sclp_sd_sync() 207 memset(sccb, 0, PAGE_SIZE); in sclp_sd_sync() 208 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); in sclp_sd_sync() 209 evbuf = &sccb->evbuf; in sclp_sd_sync() 223 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); in sclp_sd_sync() 229 if (sccb->hdr.response_code == 0x73f0) { in sclp_sd_sync() 234 if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { in sclp_sd_sync() 270 eq, di, sccb->hdr.response_code, evbuf->hdr.flags, in sclp_sd_sync()
|
| A D | sclp_rw.h | 68 void *sccb; member
|
| /drivers/scsi/ |
| A D | FlashPoint.c | 28 struct sccb; 74 struct sccb { struct 109 struct sccb *Sccb_backlink; argument 249 struct sccb *currentSCCB; 1714 struct sccb *currSCCB; in FlashPoint_HandleInterrupt() 2282 struct sccb *currSCCB; in FPT_ssel() 2581 struct sccb *currSCCB; in FPT_sres() 2858 struct sccb *currSCCB; in FPT_sdecm() 3107 struct sccb *currSCCB; in FPT_sisyncn() 3188 struct sccb *currSCCB; in FPT_stsyncn() [all …]
|
| /drivers/base/regmap/ |
| A D | Makefile | 20 obj-$(CONFIG_REGMAP_SCCB) += regmap-sccb.o
|