Searched refs:sccb (Results 1 - 20 of 20) sorted by relevance

/linux-master/drivers/s390/char/
H A Dsclp_early.c29 struct read_info_sccb *sccb; local
32 sccb = sclp_early_get_info();
33 if (!sccb)
36 sclp.facilities = sccb->facilities;
37 sclp.has_sprp = !!(sccb->fac84 & 0x02);
38 sclp.has_core_type = !!(sccb->fac84 & 0x01);
39 sclp.has_gsls = !!(sccb->fac85 & 0x80);
40 sclp.has_64bscao = !!(sccb->fac116 & 0x80);
41 sclp.has_cmma = !!(sccb->fac116 & 0x40);
42 sclp.has_esca = !!(sccb
127 struct read_cpu_info_sccb *sccb; local
155 sclp_early_console_detect(struct init_sccb *sccb) argument
174 void *sccb = sclp_early_sccb; local
[all...]
H A Dsclp_early_core.c65 int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) argument
71 rc = sclp_service_call(cmd, sccb);
90 struct write_sccb *sccb; local
96 sccb = (struct write_sccb *) sclp_early_sccb;
97 end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1;
98 memset(sccb, 0, sizeof(*sccb));
99 ptr = (unsigned char *) &sccb->msg.mdb.mto;
115 len = ptr - (unsigned char *) sccb;
116 sccb
142 struct vt220_sccb *sccb; local
155 sclp_early_set_event_mask(struct init_sccb *sccb, sccb_mask_t receive_mask, sccb_mask_t send_mask) argument
179 sclp_early_con_check_linemode(struct init_sccb *sccb) argument
188 sclp_early_con_check_vt220(struct init_sccb *sccb) argument
198 struct init_sccb *sccb; local
215 sclp_early_set_buffer(void *sccb) argument
281 struct read_info_sccb *sccb = (struct read_info_sccb *)sclp_early_sccb; local
315 struct read_info_sccb *sccb = &sclp_info_sccb; local
343 struct read_storage_sccb *sccb = (struct read_storage_sccb *)sclp_early_sccb; local
[all...]
H A Dsclp_pci.c60 struct pci_cfg_sccb *sccb; local
66 sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
67 if (!sccb)
70 sccb->header.length = PAGE_SIZE;
71 sccb->atype = SCLP_ATYPE_PCI;
72 sccb->aid = fid;
73 rc = sclp_sync_request(cmd, sccb);
76 switch (sccb->header.response_code) {
82 cmd, sccb->header.response_code);
87 free_page((unsigned long) sccb);
133 struct err_notify_sccb *sccb; local
[all...]
H A Dsclp_sdias.c61 struct sdias_sccb *sccb = sclp_sdias_sccb; local
82 if (!(sccb->evbuf.hdr.flags & 0x80)) {
84 sccb->evbuf.hdr.flags);
88 * for the sync interface the response is in the initial sccb
91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf));
108 struct sdias_sccb *sccb = sclp_sdias_sccb; local
114 memset(sccb, 0, sizeof(*sccb));
117 sccb->hdr.length = sizeof(*sccb);
168 struct sdias_sccb *sccb = sclp_sdias_sccb; local
[all...]
H A Dsclp_ctl.c58 struct sccb_header *sccb; local
66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
67 if (!sccb)
70 copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE);
72 sizeof(sccb->length) > copied || sccb->length > copied) {
76 if (sccb->length < 8) {
80 rc = sclp_sync_request(ctl_sccb.cmdw, sccb);
83 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), scc
[all...]
H A Dsclp_ap.c24 struct ap_cfg_sccb *sccb; local
30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
31 if (!sccb)
34 sccb->header.length = PAGE_SIZE;
36 rc = sclp_sync_request(cmd, sccb);
39 switch (sccb->header.response_code) {
44 apid, cmd, sccb->header.response_code);
49 free_page((unsigned long) sccb);
H A Dsclp_cmd.c41 int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) argument
43 return sclp_sync_request_timeout(cmd, sccb, 0);
46 int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout) argument
58 request->sccb = sccb;
92 struct read_cpu_info_sccb *sccb; local
97 sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length));
98 if (!sccb)
100 sccb->header.length = length;
101 sccb
124 struct cpu_configure_sccb *sccb; local
197 struct assign_storage_sccb *sccb; local
251 struct attach_storage_sccb *sccb; local
477 struct read_storage_sccb *sccb; local
555 struct chp_cfg_sccb *sccb; local
629 struct chp_info_sccb *sccb; local
[all...]
H A Dsclp.h123 #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) argument
250 void *sccb; /* pointer to the sccb to execute */ member in struct:sclp_req
326 sclp_service_call(sclp_cmdw_t command, void *sccb) argument
[all...]
H A Dsclp_ftp.c43 req->sccb, 24, req->sccb);
91 struct sclp_diag_sccb *sccb; local
97 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
98 if (!req || !sccb) {
103 sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN +
105 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST;
106 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN;
107 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */
108 sccb
[all...]
H A Dsclp_rw.c44 struct sccb_header *sccb; local
46 sccb = (struct sccb_header *) page;
49 * of the sccb page.
51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1;
52 buffer->sccb = sccb;
61 /* initialize sccb */
62 memset(sccb, 0, sizeof(struct sccb_header));
63 sccb->length = sizeof(struct sccb_header);
75 return buffer->sccb;
85 struct sccb_header *sccb; local
135 struct sccb_header *sccb; local
308 struct sccb_header *sccb; local
361 struct sccb_header *sccb; local
[all...]
H A Dsclp.c110 static inline int abbrev_len(sclp_cmdw_t cmd, struct sccb_header *sccb) argument
112 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1);
113 int len = sccb->length, limit = SCLP_TRACE_MAX_SIZE;
128 sclp_cmdw_t cmd, struct sccb_header *sccb,
132 if (sccb) {
133 sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb),
134 err ? sccb->length : 0);
150 struct sccb_header *sccb = req->sccb; local
127 sclp_trace_sccb(int prio, char *id, u32 a, u64 b, sclp_cmdw_t cmd, struct sccb_header *sccb, bool err) argument
382 sclp_service_call_trace(sclp_cmdw_t command, void *sccb) argument
529 sclp_dispatch_evbufs(struct sccb_header *sccb) argument
576 struct sccb_header *sccb; local
590 struct sccb_header *sccb; local
608 __sclp_find_req(u32 sccb) argument
623 struct sccb_header *sccb = (struct sccb_header *)__va(sccb_int); local
914 sclp_remove_processed(struct sccb_header *sccb) argument
944 struct init_sccb *sccb = sclp_init_sccb; local
972 struct init_sccb *sccb = sclp_init_sccb; local
1137 struct init_sccb *sccb; local
[all...]
H A Dsclp_config.c95 struct sclp_ofb_sccb *sccb; local
100 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
101 if (!sccb)
104 sccb->header.length = sizeof(struct sclp_ofb_sccb);
105 sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf);
106 sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA;
107 sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS;
108 memcpy(sccb->ofb_evbuf.ev_data, ev_data, len);
115 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
119 response = sccb
[all...]
H A Dsclp_vt220.c123 page = request->sclp_req.sccb;
155 struct sclp_vt220_sccb *sccb; local
162 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb;
165 switch (sccb->header.response_code) {
176 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) {
178 sccb->header.response_code = 0x0000;
188 sccb->header.response_code = 0x0000;
223 struct sclp_vt220_sccb *sccb; local
227 sccb
263 struct sclp_vt220_sccb *sccb; local
285 struct sclp_vt220_sccb *sccb; local
294 struct sclp_vt220_sccb *sccb; local
307 struct sclp_vt220_sccb *sccb; local
[all...]
H A Dsclp_cpi_sys.c82 struct cpi_sccb *sccb; local
88 sccb = (struct cpi_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA);
89 if (!sccb) {
95 sccb->header.length = sizeof(struct cpi_sccb);
96 sccb->cpi_evbuf.header.length = sizeof(struct cpi_evbuf);
97 sccb->cpi_evbuf.header.type = EVTYP_CTLPROGIDENT;
98 evb = &sccb->cpi_evbuf;
114 req->sccb = sccb;
122 free_page((unsigned long) req->sccb);
[all...]
H A Dsclp_sd.c192 struct sclp_sd_sccb *sccb = (void *) page; local
197 sclp_sd_listener_init(&listener, __pa(sccb));
201 memset(sccb, 0, PAGE_SIZE);
202 sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf);
203 evbuf = &sccb->evbuf;
217 rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb);
223 if (sccb->hdr.response_code == 0x73f0) {
228 if (sccb
[all...]
H A Dsclp_rw.h57 /* The number of empty mto buffers that can be contained in a single sccb. */
68 void *sccb; member in struct:sclp_buffer
77 unsigned int char_sum; /* # chars in sccb */
78 unsigned int messages; /* # messages in sccb */
/linux-master/arch/s390/include/uapi/asm/
H A Dsclp_ctl.h17 __u64 sccb; member in struct:sclp_ctl_sccb
/linux-master/drivers/base/regmap/
H A DMakefile20 obj-$(CONFIG_REGMAP_SCCB) += regmap-sccb.o
/linux-master/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;
109 struct sccb *Sccb_backlink;
212 struct sccb *TarSelQ_Head;
213 struct sccb *TarSelQ_Tail;
249 struct sccb *currentSCCB;
262 struct sccb *discQ_Tbl[QUEUE_DEPTH];
767 struct sccb *pCurrSCC
[all...]
/linux-master/arch/s390/include/asm/
H A Dsclp.h128 void sclp_early_set_buffer(void *sccb);

Completed in 244 milliseconds