arch/s390/include/asm/sclp.h
165
void sclp_early_set_buffer(void *sccb);
arch/s390/include/uapi/asm/sclp_ctl.h
17
__u64 sccb;
drivers/s390/char/sclp.c
1022
sccb->header.response_code == 0x20) {
drivers/s390/char/sclp.c
1025
sclp_receive_mask = sccb_get_sclp_recv_mask(sccb);
drivers/s390/char/sclp.c
1026
sclp_send_mask = sccb_get_sclp_send_mask(sccb);
drivers/s390/char/sclp.c
1144
struct init_sccb *sccb;
drivers/s390/char/sclp.c
1158
sccb = (struct init_sccb *) sclp_init_req.sccb;
drivers/s390/char/sclp.c
1159
rc = sclp_service_call_trace(sclp_init_req.command, sccb);
drivers/s390/char/sclp.c
1179
if (sccb->header.response_code == 0x20) {
drivers/s390/char/sclp.c
118
static inline int abbrev_len(sclp_cmdw_t cmd, struct sccb_header *sccb)
drivers/s390/char/sclp.c
1182
} else if (sccb->header.response_code == 0x74f0) {
drivers/s390/char/sclp.c
120
struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1);
drivers/s390/char/sclp.c
121
int len = sccb->length, limit = SCLP_TRACE_MAX_SIZE;
drivers/s390/char/sclp.c
136
sclp_cmdw_t cmd, struct sccb_header *sccb,
drivers/s390/char/sclp.c
140
if (sccb) {
drivers/s390/char/sclp.c
141
sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb),
drivers/s390/char/sclp.c
142
err ? sccb->length : 0);
drivers/s390/char/sclp.c
158
struct sccb_header *sccb = req->sccb;
drivers/s390/char/sclp.c
170
summary.response = sccb ? sccb->response_code : 0;
drivers/s390/char/sclp.c
174
sclp_trace(prio, id, __pa(sccb), summary.b, err);
drivers/s390/char/sclp.c
389
static int sclp_service_call_trace(sclp_cmdw_t command, void *sccb)
drivers/s390/char/sclp.c
395
sclp_trace_sccb(0, "SRV1", command, (u64)sccb, command, sccb, false);
drivers/s390/char/sclp.c
397
rc = sclp_service_call(command, sccb);
drivers/s390/char/sclp.c
419
rc = sclp_service_call_trace(req->command, req->sccb);
drivers/s390/char/sclp.c
507
sclp_trace(2, "RQAD", __pa(req->sccb), _RET_IP_, false);
drivers/s390/char/sclp.c
536
sclp_dispatch_evbufs(struct sccb_header *sccb)
drivers/s390/char/sclp.c
547
for (offset = sizeof(struct sccb_header); offset < sccb->length;
drivers/s390/char/sclp.c
549
evbuf = (struct evbuf_header *) ((addr_t) sccb + offset);
drivers/s390/char/sclp.c
583
struct sccb_header *sccb;
drivers/s390/char/sclp.c
585
sccb = (struct sccb_header *) req->sccb;
drivers/s390/char/sclp.c
586
if (req->status == SCLP_REQ_DONE && (sccb->response_code == 0x20 ||
drivers/s390/char/sclp.c
587
sccb->response_code == 0x220))
drivers/s390/char/sclp.c
588
sclp_dispatch_evbufs(sccb);
drivers/s390/char/sclp.c
597
struct sccb_header *sccb;
drivers/s390/char/sclp.c
599
sccb = (struct sccb_header *) sclp_read_sccb;
drivers/s390/char/sclp.c
600
clear_page(sccb);
drivers/s390/char/sclp.c
606
sclp_read_req.sccb = sccb;
drivers/s390/char/sclp.c
607
sccb->length = PAGE_SIZE;
drivers/s390/char/sclp.c
608
sccb->function_code = 0;
drivers/s390/char/sclp.c
609
sccb->control_mask[2] = 0x80;
drivers/s390/char/sclp.c
615
__sclp_find_req(u32 sccb)
drivers/s390/char/sclp.c
622
if (sccb == __pa(req->sccb))
drivers/s390/char/sclp.c
630
struct sccb_header *sccb = sclpint_to_sccb(sccb_int);
drivers/s390/char/sclp.c
634
if (!sccb)
drivers/s390/char/sclp.c
638
response = sccb->response_code & 0xff;
drivers/s390/char/sclp.c
644
evbuf = (struct evbuf_header *)(sccb + 1);
drivers/s390/char/sclp.c
921
sclp_remove_processed(struct sccb_header *sccb)
drivers/s390/char/sclp.c
927
evbuf = (struct evbuf_header *) (sccb + 1);
drivers/s390/char/sclp.c
929
remaining = sccb->length - sizeof(struct sccb_header);
drivers/s390/char/sclp.c
933
sccb->length -= evbuf->length;
drivers/s390/char/sclp.c
951
struct init_sccb *sccb = sclp_init_sccb;
drivers/s390/char/sclp.c
953
clear_page(sccb);
drivers/s390/char/sclp.c
960
sclp_init_req.sccb = sccb;
drivers/s390/char/sclp.c
961
sccb->header.length = sizeof(*sccb);
drivers/s390/char/sclp.c
963
sccb->mask_length = SCLP_MASK_SIZE_COMPAT;
drivers/s390/char/sclp.c
965
sccb->mask_length = sizeof(sccb_mask_t);
drivers/s390/char/sclp.c
966
sccb_set_recv_mask(sccb, receive_mask);
drivers/s390/char/sclp.c
967
sccb_set_send_mask(sccb, send_mask);
drivers/s390/char/sclp.c
968
sccb_set_sclp_recv_mask(sccb, 0);
drivers/s390/char/sclp.c
969
sccb_set_sclp_send_mask(sccb, 0);
drivers/s390/char/sclp.c
979
struct init_sccb *sccb = sclp_init_sccb;
drivers/s390/char/sclp.h
118
#define sccb_get_generic_mask(sccb, i) \
drivers/s390/char/sclp.h
120
__typeof__(sccb) __sccb = sccb; \
drivers/s390/char/sclp.h
124
#define sccb_get_recv_mask(sccb) sccb_get_generic_mask(sccb, 0)
drivers/s390/char/sclp.h
125
#define sccb_get_send_mask(sccb) sccb_get_generic_mask(sccb, 1)
drivers/s390/char/sclp.h
126
#define sccb_get_sclp_recv_mask(sccb) sccb_get_generic_mask(sccb, 2)
drivers/s390/char/sclp.h
127
#define sccb_get_sclp_send_mask(sccb) sccb_get_generic_mask(sccb, 3)
drivers/s390/char/sclp.h
129
#define sccb_set_generic_mask(sccb, i, val) \
drivers/s390/char/sclp.h
131
__typeof__(sccb) __sccb = sccb; \
drivers/s390/char/sclp.h
135
#define sccb_set_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 0, val)
drivers/s390/char/sclp.h
136
#define sccb_set_send_mask(sccb, val) sccb_set_generic_mask(sccb, 1, val)
drivers/s390/char/sclp.h
137
#define sccb_set_sclp_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 2, val)
drivers/s390/char/sclp.h
138
#define sccb_set_sclp_send_mask(sccb, val) sccb_set_generic_mask(sccb, 3, val)
drivers/s390/char/sclp.h
208
struct read_cpu_info_sccb *sccb)
drivers/s390/char/sclp.h
210
char *page = (char *) sccb;
drivers/s390/char/sclp.h
213
info->configured = sccb->nr_configured;
drivers/s390/char/sclp.h
214
info->standby = sccb->nr_standby;
drivers/s390/char/sclp.h
215
info->combined = sccb->nr_configured + sccb->nr_standby;
drivers/s390/char/sclp.h
216
memcpy(&info->core, page + sccb->offset_configured,
drivers/s390/char/sclp.h
240
void *sccb; /* pointer to the sccb to execute */
drivers/s390/char/sclp.h
285
int sclp_remove_processed(struct sccb_header *sccb);
drivers/s390/char/sclp.h
288
int sclp_sync_request(sclp_cmdw_t command, void *sccb);
drivers/s390/char/sclp.h
289
int sclp_sync_request_timeout(sclp_cmdw_t command, void *sccb, int timeout);
drivers/s390/char/sclp.h
305
int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb);
drivers/s390/char/sclp.h
306
unsigned int sclp_early_con_check_linemode(struct init_sccb *sccb);
drivers/s390/char/sclp.h
307
unsigned int sclp_early_con_check_vt220(struct init_sccb *sccb);
drivers/s390/char/sclp.h
308
int sclp_early_set_event_mask(struct init_sccb *sccb,
drivers/s390/char/sclp.h
316
static inline int sclp_service_call(sclp_cmdw_t command, void *sccb)
drivers/s390/char/sclp.h
329
: [cmd] "d" (command), [sccb] "a" (__pa(sccb))
drivers/s390/char/sclp_ap.c
23
struct ap_cfg_sccb *sccb;
drivers/s390/char/sclp_ap.c
29
sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_ap.c
30
if (!sccb)
drivers/s390/char/sclp_ap.c
33
sccb->header.length = PAGE_SIZE;
drivers/s390/char/sclp_ap.c
35
rc = sclp_sync_request(cmd, sccb);
drivers/s390/char/sclp_ap.c
38
switch (sccb->header.response_code) {
drivers/s390/char/sclp_ap.c
43
apid, cmd, sccb->header.response_code);
drivers/s390/char/sclp_ap.c
48
free_page((unsigned long) sccb);
drivers/s390/char/sclp_cmd.c
105
sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length));
drivers/s390/char/sclp_cmd.c
106
if (!sccb)
drivers/s390/char/sclp_cmd.c
108
sccb->header.length = length;
drivers/s390/char/sclp_cmd.c
109
sccb->header.control_mask[2] = 0x80;
drivers/s390/char/sclp_cmd.c
110
rc = sclp_sync_request_timeout(SCLP_CMDW_READ_CPU_INFO, sccb,
drivers/s390/char/sclp_cmd.c
114
if (sccb->header.response_code != 0x0010) {
drivers/s390/char/sclp_cmd.c
116
sccb->header.response_code);
drivers/s390/char/sclp_cmd.c
120
sclp_fill_core_info(info, sccb);
drivers/s390/char/sclp_cmd.c
122
free_pages((unsigned long)sccb, get_order(length));
drivers/s390/char/sclp_cmd.c
128
struct cpu_configure_sccb *sccb;
drivers/s390/char/sclp_cmd.c
137
sccb = kzalloc_obj(*sccb, GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_cmd.c
138
if (!sccb)
drivers/s390/char/sclp_cmd.c
140
sccb->header.length = sizeof(*sccb);
drivers/s390/char/sclp_cmd.c
141
rc = sclp_sync_request_timeout(cmd, sccb, SCLP_QUEUE_INTERVAL);
drivers/s390/char/sclp_cmd.c
144
switch (sccb->header.response_code) {
drivers/s390/char/sclp_cmd.c
150
cmd, sccb->header.response_code);
drivers/s390/char/sclp_cmd.c
155
kfree(sccb);
drivers/s390/char/sclp_cmd.c
171
struct chp_cfg_sccb *sccb;
drivers/s390/char/sclp_cmd.c
176
sccb = (struct chp_cfg_sccb *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_cmd.c
177
if (!sccb)
drivers/s390/char/sclp_cmd.c
179
sccb->header.length = sizeof(*sccb);
drivers/s390/char/sclp_cmd.c
180
rc = sclp_sync_request(cmd, sccb);
drivers/s390/char/sclp_cmd.c
183
switch (sccb->header.response_code) {
drivers/s390/char/sclp_cmd.c
191
cmd, sccb->header.response_code);
drivers/s390/char/sclp_cmd.c
196
free_page((unsigned long)sccb);
drivers/s390/char/sclp_cmd.c
234
struct chp_info_sccb *sccb;
drivers/s390/char/sclp_cmd.c
239
sccb = (struct chp_info_sccb *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_cmd.c
240
if (!sccb)
drivers/s390/char/sclp_cmd.c
242
sccb->header.length = sizeof(*sccb);
drivers/s390/char/sclp_cmd.c
243
rc = sclp_sync_request(SCLP_CMDW_READ_CHPATH_INFORMATION, sccb);
drivers/s390/char/sclp_cmd.c
246
if (sccb->header.response_code != 0x0010) {
drivers/s390/char/sclp_cmd.c
248
sccb->header.response_code);
drivers/s390/char/sclp_cmd.c
252
memcpy(info->recognized, sccb->recognized, SCLP_CHP_INFO_MASK_SIZE);
drivers/s390/char/sclp_cmd.c
253
memcpy(info->standby, sccb->standby, SCLP_CHP_INFO_MASK_SIZE);
drivers/s390/char/sclp_cmd.c
254
memcpy(info->configured, sccb->configured, SCLP_CHP_INFO_MASK_SIZE);
drivers/s390/char/sclp_cmd.c
256
free_page((unsigned long)sccb);
drivers/s390/char/sclp_cmd.c
58
int sclp_sync_request(sclp_cmdw_t cmd, void *sccb)
drivers/s390/char/sclp_cmd.c
60
return sclp_sync_request_timeout(cmd, sccb, 0);
drivers/s390/char/sclp_cmd.c
63
int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout)
drivers/s390/char/sclp_cmd.c
75
request->sccb = sccb;
drivers/s390/char/sclp_cmd.c
98
struct read_cpu_info_sccb *sccb;
drivers/s390/char/sclp_config.c
100
if (!sccb)
drivers/s390/char/sclp_config.c
103
sccb->header.length = sizeof(struct sclp_ofb_sccb);
drivers/s390/char/sclp_config.c
104
sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf);
drivers/s390/char/sclp_config.c
105
sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA;
drivers/s390/char/sclp_config.c
106
sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS;
drivers/s390/char/sclp_config.c
107
memcpy(sccb->ofb_evbuf.ev_data, ev_data, len);
drivers/s390/char/sclp_config.c
114
rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
drivers/s390/char/sclp_config.c
118
response = sccb->header.response_code;
drivers/s390/char/sclp_config.c
125
free_page((unsigned long)sccb);
drivers/s390/char/sclp_config.c
94
struct sclp_ofb_sccb *sccb;
drivers/s390/char/sclp_config.c
99
sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_cpi_sys.c
113
req->sccb = sccb;
drivers/s390/char/sclp_cpi_sys.c
121
free_page((unsigned long) req->sccb);
drivers/s390/char/sclp_cpi_sys.c
162
response = ((struct cpi_sccb *) req->sccb)->header.response_code;
drivers/s390/char/sclp_cpi_sys.c
81
struct cpi_sccb *sccb;
drivers/s390/char/sclp_cpi_sys.c
87
sccb = (struct cpi_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_cpi_sys.c
88
if (!sccb) {
drivers/s390/char/sclp_cpi_sys.c
94
sccb->header.length = sizeof(struct cpi_sccb);
drivers/s390/char/sclp_cpi_sys.c
95
sccb->cpi_evbuf.header.length = sizeof(struct cpi_evbuf);
drivers/s390/char/sclp_cpi_sys.c
96
sccb->cpi_evbuf.header.type = EVTYP_CTLPROGIDENT;
drivers/s390/char/sclp_cpi_sys.c
97
evb = &sccb->cpi_evbuf;
drivers/s390/char/sclp_ctl.c
54
struct sccb_header *sccb;
drivers/s390/char/sclp_ctl.c
62
sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_ctl.c
63
if (!sccb)
drivers/s390/char/sclp_ctl.c
66
copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE);
drivers/s390/char/sclp_ctl.c
68
sizeof(sccb->length) > copied || sccb->length > copied) {
drivers/s390/char/sclp_ctl.c
72
if (sccb->length < 8) {
drivers/s390/char/sclp_ctl.c
76
rc = sclp_sync_request(ctl_sccb.cmdw, sccb);
drivers/s390/char/sclp_ctl.c
79
if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length))
drivers/s390/char/sclp_ctl.c
82
free_page((unsigned long) sccb);
drivers/s390/char/sclp_early.c
102
if (sccb->fac91 & 0x2)
drivers/s390/char/sclp_early.c
104
memcpy(&sclp_ipl_info.loadparm, &sccb->loadparm, LOADPARM_LEN);
drivers/s390/char/sclp_early.c
106
if (sccb->hsa_size)
drivers/s390/char/sclp_early.c
107
sclp.hsa_size = (sccb->hsa_size - 1) * PAGE_SIZE;
drivers/s390/char/sclp_early.c
108
sclp.mtid = (sccb->fac42 & 0x80) ? (sccb->fac42 & 31) : 0;
drivers/s390/char/sclp_early.c
109
sclp.mtid_cp = (sccb->fac42 & 0x80) ? (sccb->fac43 & 31) : 0;
drivers/s390/char/sclp_early.c
110
sclp.mtid_prev = (sccb->fac42 & 0x80) ? (sccb->fac66 & 31) : 0;
drivers/s390/char/sclp_early.c
112
sclp.hmfai = sccb->hmfai;
drivers/s390/char/sclp_early.c
113
sclp.has_dirq = !!(sccb->cpudirq & 0x80);
drivers/s390/char/sclp_early.c
128
struct read_cpu_info_sccb *sccb;
drivers/s390/char/sclp_early.c
135
sccb = memblock_alloc_low(length, PAGE_SIZE);
drivers/s390/char/sclp_early.c
136
if (!sccb)
drivers/s390/char/sclp_early.c
139
memset(sccb, 0, length);
drivers/s390/char/sclp_early.c
140
sccb->header.length = length;
drivers/s390/char/sclp_early.c
141
sccb->header.control_mask[2] = 0x80;
drivers/s390/char/sclp_early.c
142
if (sclp_early_cmd(SCLP_CMDW_READ_CPU_INFO, sccb)) {
drivers/s390/char/sclp_early.c
146
if (sccb->header.response_code != 0x0010) {
drivers/s390/char/sclp_early.c
150
sclp_fill_core_info(info, sccb);
drivers/s390/char/sclp_early.c
152
memblock_free(sccb, length);
drivers/s390/char/sclp_early.c
156
static void __init sclp_early_console_detect(struct init_sccb *sccb)
drivers/s390/char/sclp_early.c
158
if (sccb->header.response_code != 0x20)
drivers/s390/char/sclp_early.c
161
if (sclp_early_con_check_vt220(sccb))
drivers/s390/char/sclp_early.c
164
if (sclp_early_con_check_linemode(sccb))
drivers/s390/char/sclp_early.c
175
void *sccb = sclp_early_sccb;
drivers/s390/char/sclp_early.c
183
sclp_early_set_event_mask(sccb, 0, 0);
drivers/s390/char/sclp_early.c
184
sclp_early_console_detect(sccb);
drivers/s390/char/sclp_early.c
29
struct read_info_sccb *sccb;
drivers/s390/char/sclp_early.c
32
sccb = sclp_early_get_info();
drivers/s390/char/sclp_early.c
33
if (!sccb)
drivers/s390/char/sclp_early.c
36
sclp.facilities = sccb->facilities;
drivers/s390/char/sclp_early.c
37
sclp.has_sprp = !!(sccb->fac84 & 0x02);
drivers/s390/char/sclp_early.c
38
sclp.has_core_type = !!(sccb->fac84 & 0x01);
drivers/s390/char/sclp_early.c
39
sclp.has_gsls = !!(sccb->fac85 & 0x80);
drivers/s390/char/sclp_early.c
40
sclp.has_64bscao = !!(sccb->fac116 & 0x80);
drivers/s390/char/sclp_early.c
41
sclp.has_cmma = !!(sccb->fac116 & 0x40);
drivers/s390/char/sclp_early.c
42
sclp.has_esca = !!(sccb->fac116 & 0x08);
drivers/s390/char/sclp_early.c
43
sclp.has_pfmfi = !!(sccb->fac117 & 0x40);
drivers/s390/char/sclp_early.c
44
sclp.has_ibs = !!(sccb->fac117 & 0x20);
drivers/s390/char/sclp_early.c
45
sclp.has_gisaf = !!(sccb->fac118 & 0x08);
drivers/s390/char/sclp_early.c
46
sclp.has_hvs = !!(sccb->fac119 & 0x80);
drivers/s390/char/sclp_early.c
47
sclp.has_wti = !!(sccb->fac119 & 0x40);
drivers/s390/char/sclp_early.c
48
sclp.has_kss = !!(sccb->fac98 & 0x01);
drivers/s390/char/sclp_early.c
49
sclp.has_aisii = !!(sccb->fac118 & 0x40);
drivers/s390/char/sclp_early.c
50
sclp.has_aeni = !!(sccb->fac118 & 0x20);
drivers/s390/char/sclp_early.c
51
sclp.has_aisi = !!(sccb->fac118 & 0x10);
drivers/s390/char/sclp_early.c
52
sclp.has_zpci_lsi = !!(sccb->fac118 & 0x01);
drivers/s390/char/sclp_early.c
53
sclp.has_diag204_bif = !!(sccb->fac98 & 0x80);
drivers/s390/char/sclp_early.c
54
sclp.has_diag310 = !!(sccb->fac91 & 0x80);
drivers/s390/char/sclp_early.c
55
if (sccb->cpuoff > 134) {
drivers/s390/char/sclp_early.c
56
sclp.has_diag318 = !!(sccb->byte_134 & 0x80);
drivers/s390/char/sclp_early.c
57
sclp.has_diag320 = !!(sccb->byte_134 & 0x04);
drivers/s390/char/sclp_early.c
58
sclp.has_iplcc = !!(sccb->byte_134 & 0x02);
drivers/s390/char/sclp_early.c
60
if (sccb->cpuoff > 137) {
drivers/s390/char/sclp_early.c
61
sclp.has_sipl = !!(sccb->cbl & 0x4000);
drivers/s390/char/sclp_early.c
62
sclp.has_sipl_eckd = !!(sccb->cbl & 0x2000);
drivers/s390/char/sclp_early.c
64
if (sccb->cpuoff > 139)
drivers/s390/char/sclp_early.c
65
sclp.has_diag324 = !!(sccb->byte_139 & 0x80);
drivers/s390/char/sclp_early.c
66
sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2;
drivers/s390/char/sclp_early.c
67
sclp.rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2;
drivers/s390/char/sclp_early.c
69
sclp.ibc = sccb->ibc;
drivers/s390/char/sclp_early.c
71
if (sccb->hamaxpow && sccb->hamaxpow < 64)
drivers/s390/char/sclp_early.c
72
sclp.hamax = (1UL << sccb->hamaxpow) - 1;
drivers/s390/char/sclp_early.c
76
if (!sccb->hcpua) {
drivers/s390/char/sclp_early.c
80
sclp.max_cores = sccb->ncpurl;
drivers/s390/char/sclp_early.c
82
sclp.max_cores = sccb->hcpua + 1;
drivers/s390/char/sclp_early.c
86
cpue = (void *)sccb + sccb->cpuoff;
drivers/s390/char/sclp_early.c
87
for (cpu = 0; cpu < sccb->ncpurl; cpue++, cpu++) {
drivers/s390/char/sclp_early_core.c
100
ptr = (unsigned char *) &sccb->msg.mdb.mto;
drivers/s390/char/sclp_early_core.c
116
len = ptr - (unsigned char *) sccb;
drivers/s390/char/sclp_early_core.c
117
sccb->header.length = len - offsetof(struct write_sccb, header);
drivers/s390/char/sclp_early_core.c
118
msg = &sccb->msg;
drivers/s390/char/sclp_early_core.c
129
sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
drivers/s390/char/sclp_early_core.c
143
struct vt220_sccb *sccb;
drivers/s390/char/sclp_early_core.c
145
sccb = (struct vt220_sccb *) sclp_early_sccb;
drivers/s390/char/sclp_early_core.c
146
if (sizeof(*sccb) + len >= EARLY_SCCB_SIZE)
drivers/s390/char/sclp_early_core.c
147
len = EARLY_SCCB_SIZE - sizeof(*sccb);
drivers/s390/char/sclp_early_core.c
148
memset(sccb, 0, sizeof(*sccb));
drivers/s390/char/sclp_early_core.c
149
memcpy(&sccb->msg.data, str, len);
drivers/s390/char/sclp_early_core.c
150
sccb->header.length = sizeof(*sccb) + len;
drivers/s390/char/sclp_early_core.c
151
sccb->msg.header.length = sizeof(sccb->msg) + len;
drivers/s390/char/sclp_early_core.c
152
sccb->msg.header.type = EVTYP_VT220MSG;
drivers/s390/char/sclp_early_core.c
153
sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
drivers/s390/char/sclp_early_core.c
156
int sclp_early_set_event_mask(struct init_sccb *sccb,
drivers/s390/char/sclp_early_core.c
161
memset(sccb, 0, sizeof(*sccb));
drivers/s390/char/sclp_early_core.c
162
sccb->header.length = sizeof(*sccb);
drivers/s390/char/sclp_early_core.c
164
sccb->mask_length = SCLP_MASK_SIZE_COMPAT;
drivers/s390/char/sclp_early_core.c
166
sccb->mask_length = sizeof(sccb_mask_t);
drivers/s390/char/sclp_early_core.c
167
sccb_set_recv_mask(sccb, receive_mask);
drivers/s390/char/sclp_early_core.c
168
sccb_set_send_mask(sccb, send_mask);
drivers/s390/char/sclp_early_core.c
169
if (sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_MASK, sccb))
drivers/s390/char/sclp_early_core.c
171
if ((sccb->header.response_code == 0x74f0) && !sclp_mask_compat_mode) {
drivers/s390/char/sclp_early_core.c
175
if (sccb->header.response_code != 0x20)
drivers/s390/char/sclp_early_core.c
180
unsigned int sclp_early_con_check_linemode(struct init_sccb *sccb)
drivers/s390/char/sclp_early_core.c
182
if (!(sccb_get_sclp_send_mask(sccb) & EVTYP_OPCMD_MASK))
drivers/s390/char/sclp_early_core.c
184
if (!(sccb_get_sclp_recv_mask(sccb) & (EVTYP_MSG_MASK | EVTYP_PMSGCMD_MASK)))
drivers/s390/char/sclp_early_core.c
189
unsigned int sclp_early_con_check_vt220(struct init_sccb *sccb)
drivers/s390/char/sclp_early_core.c
191
if (sccb_get_sclp_send_mask(sccb) & EVTYP_VT220MSG_MASK)
drivers/s390/char/sclp_early_core.c
199
struct init_sccb *sccb;
drivers/s390/char/sclp_early_core.c
205
sccb = (struct init_sccb *) sclp_early_sccb;
drivers/s390/char/sclp_early_core.c
208
rc = sclp_early_set_event_mask(sccb, receive_mask, send_mask);
drivers/s390/char/sclp_early_core.c
211
*have_linemode = sclp_early_con_check_linemode(sccb);
drivers/s390/char/sclp_early_core.c
212
*have_vt220 = !!(sccb_get_send_mask(sccb) & EVTYP_VT220MSG_MASK);
drivers/s390/char/sclp_early_core.c
216
void sclp_early_set_buffer(void *sccb)
drivers/s390/char/sclp_early_core.c
218
sclp_early_sccb = sccb;
drivers/s390/char/sclp_early_core.c
282
struct read_info_sccb *sccb = (struct read_info_sccb *)sclp_early_sccb;
drivers/s390/char/sclp_early_core.c
287
memset(sccb, 0, length);
drivers/s390/char/sclp_early_core.c
288
sccb->header.length = length;
drivers/s390/char/sclp_early_core.c
289
sccb->header.function_code = 0x80;
drivers/s390/char/sclp_early_core.c
290
sccb->header.control_mask[2] = 0x80;
drivers/s390/char/sclp_early_core.c
291
if (sclp_early_cmd(commands[i], sccb))
drivers/s390/char/sclp_early_core.c
293
if (sccb->header.response_code == 0x10) {
drivers/s390/char/sclp_early_core.c
294
memcpy(&sclp_info_sccb, sccb, length);
drivers/s390/char/sclp_early_core.c
298
if (sccb->header.response_code != 0x1f0)
drivers/s390/char/sclp_early_core.c
316
struct read_info_sccb *sccb = &sclp_info_sccb;
drivers/s390/char/sclp_early_core.c
321
rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2;
drivers/s390/char/sclp_early_core.c
322
rnsize = sccb->rnsize ? sccb->rnsize : sccb->rnsize2;
drivers/s390/char/sclp_early_core.c
341
struct read_info_sccb *sccb = &sclp_info_sccb;
drivers/s390/char/sclp_early_core.c
345
if (sccb->fac85 & 0x02)
drivers/s390/char/sclp_early_core.c
347
if (sccb->fac91 & 0x40)
drivers/s390/char/sclp_early_core.c
356
struct read_storage_sccb *sccb = (struct read_storage_sccb *)sclp_early_sccb;
drivers/s390/char/sclp_early_core.c
373
sccb->header.length = EARLY_SCCB_SIZE;
drivers/s390/char/sclp_early_core.c
375
rc = sclp_early_cmd(command, sccb);
drivers/s390/char/sclp_early_core.c
379
max_id = sccb->max_id;
drivers/s390/char/sclp_early_core.c
380
switch (sccb->header.response_code) {
drivers/s390/char/sclp_early_core.c
382
for (sn = 0; sn < sccb->assigned; sn++) {
drivers/s390/char/sclp_early_core.c
383
if (!sccb->entries[sn])
drivers/s390/char/sclp_early_core.c
385
rn = sccb->entries[sn] >> 16;
drivers/s390/char/sclp_early_core.c
66
int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb)
drivers/s390/char/sclp_early_core.c
72
rc = sclp_service_call(cmd, sccb);
drivers/s390/char/sclp_early_core.c
91
struct write_sccb *sccb;
drivers/s390/char/sclp_early_core.c
97
sccb = (struct write_sccb *) sclp_early_sccb;
drivers/s390/char/sclp_early_core.c
98
end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1;
drivers/s390/char/sclp_early_core.c
99
memset(sccb, 0, sizeof(*sccb));
drivers/s390/char/sclp_ftp.c
102
sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN +
drivers/s390/char/sclp_ftp.c
104
sccb->evbuf.hdr.type = EVTYP_DIAG_TEST;
drivers/s390/char/sclp_ftp.c
105
sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN;
drivers/s390/char/sclp_ftp.c
106
sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */
drivers/s390/char/sclp_ftp.c
107
sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE;
drivers/s390/char/sclp_ftp.c
108
sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX;
drivers/s390/char/sclp_ftp.c
109
sccb->evbuf.mdd.ftp.srcflg = 0;
drivers/s390/char/sclp_ftp.c
110
sccb->evbuf.mdd.ftp.pgsize = 0;
drivers/s390/char/sclp_ftp.c
111
sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE;
drivers/s390/char/sclp_ftp.c
112
sccb->evbuf.mdd.ftp.ldflg = SCLP_DIAG_FTP_LDFAIL;
drivers/s390/char/sclp_ftp.c
113
sccb->evbuf.mdd.ftp.fsize = 0;
drivers/s390/char/sclp_ftp.c
114
sccb->evbuf.mdd.ftp.cmd = ftp->id;
drivers/s390/char/sclp_ftp.c
115
sccb->evbuf.mdd.ftp.offset = ftp->ofs;
drivers/s390/char/sclp_ftp.c
116
sccb->evbuf.mdd.ftp.length = ftp->len;
drivers/s390/char/sclp_ftp.c
117
sccb->evbuf.mdd.ftp.bufaddr = virt_to_phys(ftp->buf);
drivers/s390/char/sclp_ftp.c
119
len = strscpy(sccb->evbuf.mdd.ftp.fident, ftp->fname,
drivers/s390/char/sclp_ftp.c
127
req->sccb = sccb;
drivers/s390/char/sclp_ftp.c
143
sccb->hdr.response_code, sccb->evbuf.hdr.flags);
drivers/s390/char/sclp_ftp.c
152
(sccb->evbuf.hdr.flags & 0x80) == 0 || /* processed-buffer */
drivers/s390/char/sclp_ftp.c
153
(sccb->hdr.response_code & 0xffU) != 0x20U) {
drivers/s390/char/sclp_ftp.c
158
free_page((unsigned long) sccb);
drivers/s390/char/sclp_ftp.c
42
req->sccb, 24, req->sccb);
drivers/s390/char/sclp_ftp.c
90
struct sclp_diag_sccb *sccb;
drivers/s390/char/sclp_ftp.c
96
sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_ftp.c
97
if (!req || !sccb) {
drivers/s390/char/sclp_mem.c
101
cmd, sccb->header.response_code, rn);
drivers/s390/char/sclp_mem.c
106
free_page((unsigned long)sccb);
drivers/s390/char/sclp_mem.c
130
struct attach_storage_sccb *sccb;
drivers/s390/char/sclp_mem.c
133
sccb = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_mem.c
134
if (!sccb)
drivers/s390/char/sclp_mem.c
136
sccb->header.length = PAGE_SIZE;
drivers/s390/char/sclp_mem.c
137
sccb->header.function_code = 0x40;
drivers/s390/char/sclp_mem.c
138
rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb,
drivers/s390/char/sclp_mem.c
142
switch (sccb->header.response_code) {
drivers/s390/char/sclp_mem.c
145
for (i = 0; i < sccb->assigned; i++) {
drivers/s390/char/sclp_mem.c
146
if (sccb->entries[i])
drivers/s390/char/sclp_mem.c
147
sclp_unassign_storage(sccb->entries[i] >> 16);
drivers/s390/char/sclp_mem.c
155
free_page((unsigned long)sccb);
drivers/s390/char/sclp_mem.c
482
struct read_storage_sccb *sccb;
drivers/s390/char/sclp_mem.c
491
sccb = (void *)__get_free_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_mem.c
492
if (!sccb)
drivers/s390/char/sclp_mem.c
496
memset(sccb, 0, PAGE_SIZE);
drivers/s390/char/sclp_mem.c
497
sccb->header.length = PAGE_SIZE;
drivers/s390/char/sclp_mem.c
498
rc = sclp_sync_request(SCLP_CMDW_READ_STORAGE_INFO | id << 8, sccb);
drivers/s390/char/sclp_mem.c
501
switch (sccb->header.response_code) {
drivers/s390/char/sclp_mem.c
504
for (i = 0; i < sccb->assigned; i++) {
drivers/s390/char/sclp_mem.c
505
if (!sccb->entries[i])
drivers/s390/char/sclp_mem.c
508
insert_increment(sccb->entries[i] >> 16, 0, 1);
drivers/s390/char/sclp_mem.c
514
for (i = 0; i < sccb->assigned; i++) {
drivers/s390/char/sclp_mem.c
515
if (!sccb->entries[i])
drivers/s390/char/sclp_mem.c
518
insert_increment(sccb->entries[i] >> 16, 1, 1);
drivers/s390/char/sclp_mem.c
526
sclp_max_storage_id = sccb->max_id;
drivers/s390/char/sclp_mem.c
534
free_page((unsigned long)sccb);
drivers/s390/char/sclp_mem.c
84
struct assign_storage_sccb *sccb;
drivers/s390/char/sclp_mem.c
87
sccb = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_mem.c
88
if (!sccb)
drivers/s390/char/sclp_mem.c
90
sccb->header.length = PAGE_SIZE;
drivers/s390/char/sclp_mem.c
91
sccb->rn = rn;
drivers/s390/char/sclp_mem.c
92
rc = sclp_sync_request_timeout(cmd, sccb, SCLP_QUEUE_INTERVAL);
drivers/s390/char/sclp_mem.c
95
switch (sccb->header.response_code) {
drivers/s390/char/sclp_pci.c
115
struct err_notify_sccb *sccb;
drivers/s390/char/sclp_pci.c
133
sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_pci.c
134
if (!sccb) {
drivers/s390/char/sclp_pci.c
144
req.sccb = sccb;
drivers/s390/char/sclp_pci.c
146
sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length;
drivers/s390/char/sclp_pci.c
147
sccb->evbuf.header.type = EVTYP_ERRNOTIFY;
drivers/s390/char/sclp_pci.c
148
sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length;
drivers/s390/char/sclp_pci.c
150
sccb->evbuf.action = report->action;
drivers/s390/char/sclp_pci.c
151
sccb->evbuf.atype = SCLP_ATYPE_PCI;
drivers/s390/char/sclp_pci.c
152
sccb->evbuf.fh = fh;
drivers/s390/char/sclp_pci.c
153
sccb->evbuf.fid = fid;
drivers/s390/char/sclp_pci.c
155
memcpy(sccb->evbuf.data, report->data, report->length);
drivers/s390/char/sclp_pci.c
169
if (sccb->header.response_code != 0x0020) {
drivers/s390/char/sclp_pci.c
171
sccb->header.response_code);
drivers/s390/char/sclp_pci.c
176
free_page((unsigned long) sccb);
drivers/s390/char/sclp_pci.c
41
struct pci_cfg_sccb *sccb;
drivers/s390/char/sclp_pci.c
47
sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
drivers/s390/char/sclp_pci.c
48
if (!sccb)
drivers/s390/char/sclp_pci.c
51
sccb->header.length = PAGE_SIZE;
drivers/s390/char/sclp_pci.c
52
sccb->atype = SCLP_ATYPE_PCI;
drivers/s390/char/sclp_pci.c
53
sccb->aid = fid;
drivers/s390/char/sclp_pci.c
54
rc = sclp_sync_request(cmd, sccb);
drivers/s390/char/sclp_pci.c
57
switch (sccb->header.response_code) {
drivers/s390/char/sclp_pci.c
63
cmd, sccb->header.response_code);
drivers/s390/char/sclp_pci.c
68
free_page((unsigned long) sccb);
drivers/s390/char/sclp_rw.c
100
msg = (struct msg_buf *)((addr_t) sccb + sccb->length);
drivers/s390/char/sclp_rw.c
135
struct sccb_header *sccb;
drivers/s390/char/sclp_rw.c
142
sccb = buffer->sccb;
drivers/s390/char/sclp_rw.c
147
sccb->length += msg->header.length;
drivers/s390/char/sclp_rw.c
308
struct sccb_header *sccb;
drivers/s390/char/sclp_rw.c
311
sccb = buffer->sccb;
drivers/s390/char/sclp_rw.c
312
count = MAX_SCCB_ROOM - sccb->length;
drivers/s390/char/sclp_rw.c
361
struct sccb_header *sccb;
drivers/s390/char/sclp_rw.c
364
sccb = buffer->sccb;
drivers/s390/char/sclp_rw.c
372
switch (sccb->response_code) {
drivers/s390/char/sclp_rw.c
384
if (sclp_remove_processed((struct sccb_header *) sccb) > 0) {
drivers/s390/char/sclp_rw.c
386
sccb->response_code = 0x0000;
drivers/s390/char/sclp_rw.c
402
sccb->response_code = 0x0000;
drivers/s390/char/sclp_rw.c
409
if (sccb->response_code == 0x71f0)
drivers/s390/char/sclp_rw.c
44
struct sccb_header *sccb;
drivers/s390/char/sclp_rw.c
440
buffer->request.sccb = buffer->sccb;
drivers/s390/char/sclp_rw.c
46
sccb = (struct sccb_header *) page;
drivers/s390/char/sclp_rw.c
51
buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1;
drivers/s390/char/sclp_rw.c
52
buffer->sccb = sccb;
drivers/s390/char/sclp_rw.c
62
memset(sccb, 0, sizeof(struct sccb_header));
drivers/s390/char/sclp_rw.c
63
sccb->length = sizeof(struct sccb_header);
drivers/s390/char/sclp_rw.c
75
return buffer->sccb;
drivers/s390/char/sclp_rw.c
85
struct sccb_header *sccb;
drivers/s390/char/sclp_rw.c
96
sccb = buffer->sccb;
drivers/s390/char/sclp_rw.c
97
if ((MAX_SCCB_ROOM - sccb->length) < msg_size)
drivers/s390/char/sclp_rw.h
68
void *sccb;
drivers/s390/char/sclp_sd.c
192
struct sclp_sd_sccb *sccb = (void *) page;
drivers/s390/char/sclp_sd.c
201
sclp_sd_listener_init(&listener, __pa(sccb));
drivers/s390/char/sclp_sd.c
205
memset(sccb, 0, PAGE_SIZE);
drivers/s390/char/sclp_sd.c
206
sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf);
drivers/s390/char/sclp_sd.c
207
evbuf = &sccb->evbuf;
drivers/s390/char/sclp_sd.c
221
rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
drivers/s390/char/sclp_sd.c
227
if (sccb->hdr.response_code == 0x73f0) {
drivers/s390/char/sclp_sd.c
232
if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) {
drivers/s390/char/sclp_sd.c
268
eq, di, sccb->hdr.response_code, evbuf->hdr.flags,
drivers/s390/char/sclp_sdias.c
107
struct sdias_sccb *sccb = sclp_sdias_sccb;
drivers/s390/char/sclp_sdias.c
113
memset(sccb, 0, sizeof(*sccb));
drivers/s390/char/sclp_sdias.c
116
sccb->hdr.length = sizeof(*sccb);
drivers/s390/char/sclp_sdias.c
117
sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf);
drivers/s390/char/sclp_sdias.c
118
sccb->evbuf.hdr.type = EVTYP_SDIAS;
drivers/s390/char/sclp_sdias.c
119
sccb->evbuf.event_qual = SDIAS_EQ_SIZE;
drivers/s390/char/sclp_sdias.c
120
sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP;
drivers/s390/char/sclp_sdias.c
121
sccb->evbuf.event_id = 4712;
drivers/s390/char/sclp_sdias.c
122
sccb->evbuf.dbs = 1;
drivers/s390/char/sclp_sdias.c
124
request.sccb = sccb;
drivers/s390/char/sclp_sdias.c
134
if (sccb->hdr.response_code != 0x0020) {
drivers/s390/char/sclp_sdias.c
135
TRACE("send failed: %x\n", sccb->hdr.response_code);
drivers/s390/char/sclp_sdias.c
167
struct sdias_sccb *sccb = sclp_sdias_sccb;
drivers/s390/char/sclp_sdias.c
173
memset(sccb, 0, sizeof(*sccb));
drivers/s390/char/sclp_sdias.c
176
sccb->hdr.length = sizeof(*sccb);
drivers/s390/char/sclp_sdias.c
177
sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf);
drivers/s390/char/sclp_sdias.c
178
sccb->evbuf.hdr.type = EVTYP_SDIAS;
drivers/s390/char/sclp_sdias.c
179
sccb->evbuf.hdr.flags = 0;
drivers/s390/char/sclp_sdias.c
180
sccb->evbuf.event_qual = SDIAS_EQ_STORE_DATA;
drivers/s390/char/sclp_sdias.c
181
sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP;
drivers/s390/char/sclp_sdias.c
182
sccb->evbuf.event_id = 4712;
drivers/s390/char/sclp_sdias.c
183
sccb->evbuf.asa_size = SDIAS_ASA_SIZE_64;
drivers/s390/char/sclp_sdias.c
184
sccb->evbuf.event_status = 0;
drivers/s390/char/sclp_sdias.c
185
sccb->evbuf.blk_cnt = nr_blks;
drivers/s390/char/sclp_sdias.c
186
sccb->evbuf.asa = __pa(dest);
drivers/s390/char/sclp_sdias.c
187
sccb->evbuf.fbn = start_blk;
drivers/s390/char/sclp_sdias.c
188
sccb->evbuf.lbn = 0;
drivers/s390/char/sclp_sdias.c
189
sccb->evbuf.dbs = 1;
drivers/s390/char/sclp_sdias.c
191
request.sccb = sccb;
drivers/s390/char/sclp_sdias.c
201
if (sccb->hdr.response_code != 0x0020) {
drivers/s390/char/sclp_sdias.c
202
TRACE("copy failed: %x\n", sccb->hdr.response_code);
drivers/s390/char/sclp_sdias.c
60
struct sdias_sccb *sccb = sclp_sdias_sccb;
drivers/s390/char/sclp_sdias.c
81
if (!(sccb->evbuf.hdr.flags & 0x80)) {
drivers/s390/char/sclp_sdias.c
83
sccb->evbuf.hdr.flags);
drivers/s390/char/sclp_sdias.c
90
memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf));
drivers/s390/char/sclp_vt220.c
123
page = request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
155
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
162
sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
165
switch (sccb->header.response_code) {
drivers/s390/char/sclp_vt220.c
176
if (sclp_remove_processed((struct sccb_header *) sccb) > 0) {
drivers/s390/char/sclp_vt220.c
178
sccb->header.response_code = 0x0000;
drivers/s390/char/sclp_vt220.c
188
sccb->header.response_code = 0x0000;
drivers/s390/char/sclp_vt220.c
223
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
227
sccb = (struct sclp_vt220_sccb *)
drivers/s390/char/sclp_vt220.c
228
sclp_vt220_current_request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
230
if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) {
drivers/s390/char/sclp_vt220.c
263
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
269
request->sclp_req.sccb = page;
drivers/s390/char/sclp_vt220.c
271
sccb = (struct sclp_vt220_sccb *) page;
drivers/s390/char/sclp_vt220.c
272
memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb));
drivers/s390/char/sclp_vt220.c
273
sccb->header.length = sizeof(struct sclp_vt220_sccb);
drivers/s390/char/sclp_vt220.c
274
sccb->header.function_code = SCLP_NORMAL_WRITE;
drivers/s390/char/sclp_vt220.c
275
sccb->header.response_code = 0x0000;
drivers/s390/char/sclp_vt220.c
276
sccb->evbuf.type = EVTYP_VT220MSG;
drivers/s390/char/sclp_vt220.c
277
sccb->evbuf.length = sizeof(struct evbuf_header);
drivers/s390/char/sclp_vt220.c
285
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
286
sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
288
sccb->header.length;
drivers/s390/char/sclp_vt220.c
294
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
295
sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
296
return sccb->evbuf.length - sizeof(struct evbuf_header);
drivers/s390/char/sclp_vt220.c
307
struct sclp_vt220_sccb *sccb;
drivers/s390/char/sclp_vt220.c
318
sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb;
drivers/s390/char/sclp_vt220.c
319
buffer = (void *) ((addr_t) sccb + sccb->header.length);
drivers/s390/char/sclp_vt220.c
339
sccb->header.length += to;
drivers/s390/char/sclp_vt220.c
340
sccb->evbuf.length += to;
drivers/s390/char/sclp_vt220.c
344
sccb->header.length += count;
drivers/s390/char/sclp_vt220.c
345
sccb->evbuf.length += count;
drivers/s390/char/sclp_vt220.c
381
page = request->sclp_req.sccb;
drivers/scsi/FlashPoint.c
108
struct sccb *Sccb_forwardlink;
drivers/scsi/FlashPoint.c
109
struct sccb *Sccb_backlink;
drivers/scsi/FlashPoint.c
1470
static void FlashPoint_StartCCB(void *curr_card, struct sccb *p_Sccb)
drivers/scsi/FlashPoint.c
1474
struct sccb *pSaveSccb;
drivers/scsi/FlashPoint.c
1584
static int FlashPoint_AbortCCB(void *pCurrCard, struct sccb *p_Sccb)
drivers/scsi/FlashPoint.c
1590
struct sccb *pSaveSCCB;
drivers/scsi/FlashPoint.c
1714
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
212
struct sccb *TarSelQ_Head;
drivers/scsi/FlashPoint.c
213
struct sccb *TarSelQ_Tail;
drivers/scsi/FlashPoint.c
2207
static unsigned char FPT_sfm(u32 port, struct sccb *pCurrSCCB)
drivers/scsi/FlashPoint.c
2282
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
249
struct sccb *currentSCCB;
drivers/scsi/FlashPoint.c
2581
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
262
struct sccb *discQ_Tbl[QUEUE_DEPTH];
drivers/scsi/FlashPoint.c
28
struct sccb;
drivers/scsi/FlashPoint.c
2858
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
29
typedef void (*CALL_BK_FN) (struct sccb *);
drivers/scsi/FlashPoint.c
3037
static void FPT_shandem(u32 port, unsigned char p_card, struct sccb *pCurrSCCB)
drivers/scsi/FlashPoint.c
3107
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3188
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3349
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3405
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3649
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3779
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
3875
static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card)
drivers/scsi/FlashPoint.c
3975
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4016
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4059
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4132
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4271
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4317
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4344
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4414
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4616
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4889
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
4920
static void FPT_busMstrSGDataXferStart(u32 p_port, struct sccb *pcurrSCCB)
drivers/scsi/FlashPoint.c
5013
static void FPT_busMstrDataXferStart(u32 p_port, struct sccb *pcurrSCCB)
drivers/scsi/FlashPoint.c
5106
struct sccb *pCurrSCCB)
drivers/scsi/FlashPoint.c
5374
static void FPT_hostDataXferRestart(struct sccb *currSCCB)
drivers/scsi/FlashPoint.c
6640
struct sccb *pOldSccb;
drivers/scsi/FlashPoint.c
6670
(struct sccb
drivers/scsi/FlashPoint.c
6681
(struct sccb
drivers/scsi/FlashPoint.c
6687
(struct sccb
drivers/scsi/FlashPoint.c
6696
(struct sccb
drivers/scsi/FlashPoint.c
6717
(struct sccb
drivers/scsi/FlashPoint.c
6746
(struct sccb *)(pCurrCard->currentSCCB)->
drivers/scsi/FlashPoint.c
6755
Sccb_backlink = (struct sccb *)NULL;
drivers/scsi/FlashPoint.c
6795
(unsigned char)(((struct sccb *)(pCurrCard->currentSCCB))->
drivers/scsi/FlashPoint.c
6799
pCurrCard->currentSCCB->Sccb_backlink = (struct sccb *)NULL;
drivers/scsi/FlashPoint.c
6829
struct sccb *p_sccb, unsigned char p_card)
drivers/scsi/FlashPoint.c
6926
static void FPT_queueDisconnect(struct sccb *p_sccb, unsigned char p_card)
drivers/scsi/FlashPoint.c
6963
struct sccb *currSCCB;
drivers/scsi/FlashPoint.c
7029
static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char p_card)
drivers/scsi/FlashPoint.c
7061
static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB,
drivers/scsi/FlashPoint.c
7064
struct sccb *q_ptr;
drivers/scsi/FlashPoint.c
7124
static void FPT_utilUpdateResidual(struct sccb *p_SCCB)
drivers/scsi/FlashPoint.c
7516
FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB);
drivers/scsi/FlashPoint.c
7522
FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB);
drivers/scsi/FlashPoint.c
767
struct sccb *pCurrSCCB);
drivers/scsi/FlashPoint.c
786
static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card);
drivers/scsi/FlashPoint.c
795
static void FPT_queueDisconnect(struct sccb *p_SCCB, unsigned char p_card);
drivers/scsi/FlashPoint.c
797
struct sccb *p_SCCB, unsigned char p_card);
drivers/scsi/FlashPoint.c
801
static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char card);
drivers/scsi/FlashPoint.c
802
static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB,
drivers/scsi/FlashPoint.c
804
static void FPT_utilUpdateResidual(struct sccb *p_SCCB);
drivers/scsi/FlashPoint.c
839
struct sccb *pCurrSCCB);
drivers/scsi/FlashPoint.c
841
struct sccb *pCurrSCCB);
drivers/scsi/FlashPoint.c
843
struct sccb *pCurrSCCB);
drivers/scsi/FlashPoint.c
844
static void FPT_hostDataXferRestart(struct sccb *currSCCB);