Home
last modified time | relevance | path

Searched refs:sccb (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/s390/char/
H A Dsclp_early_core.c66 int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) in sclp_early_cmd() argument
72 rc = sclp_service_call(cmd, sccb); in sclp_early_cmd()
91 struct write_sccb *sccb; in sclp_early_print_lm() local
97 sccb = (struct write_sccb *) sclp_early_sccb; in sclp_early_print_lm()
98 end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1; in sclp_early_print_lm()
99 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_lm()
100 ptr = (unsigned char *) &sccb->msg.mdb.mto; in sclp_early_print_lm()
116 len = ptr - (unsigned char *) sccb; in sclp_early_print_lm()
117 sccb->header.length = len - offsetof(struct write_sccb, header); in sclp_early_print_lm()
118 msg = &sccb->msg; in sclp_early_print_lm()
[all …]
H A Dsclp_rw.c44 struct sccb_header *sccb; in sclp_make_buffer() local
46 sccb = (struct sccb_header *) 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()
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; in sclp_initialize_mto() local
96 sccb = buffer->sccb; in sclp_initialize_mto()
97 if ((MAX_SCCB_ROOM - sccb->length) < msg_size) in sclp_initialize_mto()
[all …]
H A Dsclp.c118 static inline int abbrev_len(sclp_cmdw_t cmd, struct sccb_header *sccb) in abbrev_len() argument
120 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1); in abbrev_len()
121 int len = sccb->length, limit = SCLP_TRACE_MAX_SIZE; in abbrev_len()
136 sclp_cmdw_t cmd, struct sccb_header *sccb, in sclp_trace_sccb() argument
140 if (sccb) { in sclp_trace_sccb()
141 sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb), in sclp_trace_sccb()
142 err ? sccb->length : 0); in sclp_trace_sccb()
158 struct sccb_header *sccb = req->sccb; in sclp_trace_req() local
170 summary.response = sccb ? sccb->response_code : 0; in sclp_trace_req()
174 sclp_trace(prio, id, __pa(sccb), summary.b, err); in sclp_trace_req()
[all …]
H A Dsclp_vt220.c123 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 = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current()
228 sclp_vt220_current_request->sclp_req.sccb; in sclp_vt220_emit_current()
[all …]
H A Dsclp_mem.c84 struct assign_storage_sccb *sccb; in do_assign_storage() local
87 sccb = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_assign_storage()
88 if (!sccb) in do_assign_storage()
90 sccb->header.length = PAGE_SIZE; in do_assign_storage()
91 sccb->rn = rn; in do_assign_storage()
92 rc = sclp_sync_request_timeout(cmd, sccb, SCLP_QUEUE_INTERVAL); in do_assign_storage()
95 switch (sccb->header.response_code) { in do_assign_storage()
101 cmd, sccb->header.response_code, rn); in do_assign_storage()
106 free_page((unsigned long)sccb); in do_assign_storage()
130 struct attach_storage_sccb *sccb; in sclp_attach_storage() local
[all …]
H A Dsclp_sd.c192 struct sclp_sd_sccb *sccb = (void *) page; in sclp_sd_sync() local
201 sclp_sd_listener_init(&listener, __pa(sccb)); in sclp_sd_sync()
205 memset(sccb, 0, PAGE_SIZE); in sclp_sd_sync()
206 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); in sclp_sd_sync()
207 evbuf = &sccb->evbuf; in sclp_sd_sync()
221 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); in sclp_sd_sync()
227 if (sccb->hdr.response_code == 0x73f0) { in sclp_sd_sync()
232 if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { in sclp_sd_sync()
268 eq, di, sccb->hdr.response_code, evbuf->hdr.flags, in sclp_sd_sync()
H A Dsclp_rw.h68 void *sccb; member
/linux/drivers/scsi/
H A DFlashPoint.c28 struct sccb;
29 typedef void (*CALL_BK_FN) (struct sccb *);
74 struct sccb { struct
108 struct sccb *Sccb_forwardlink; argument
109 struct sccb *Sccb_backlink; argument
212 struct sccb *TarSelQ_Head;
213 struct sccb *TarSelQ_Tail;
249 struct sccb *currentSCCB;
262 struct sccb *discQ_Tbl[QUEUE_DEPTH];
767 struct sccb *pCurrSCCB);
[all …]
/linux/arch/s390/include/uapi/asm/
H A Dsclp_ctl.h17 __u64 sccb; member
/linux/drivers/base/regmap/
H A DMakefile20 obj-$(CONFIG_REGMAP_SCCB) += regmap-sccb.o
/linux/arch/s390/include/asm/
H A Dsclp.h165 void sclp_early_set_buffer(void *sccb);