Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/s390/char/
Dsclp_cmd.c56 static int __init sclp_cmd_sync_early(sclp_cmdw_t cmd, void *sccb) in sclp_cmd_sync_early() argument
61 rc = sclp_service_call(cmd, sccb); in sclp_cmd_sync_early()
78 struct read_info_sccb *sccb; in sclp_read_info_early() local
82 sccb = &early_read_info_sccb; in sclp_read_info_early()
85 memset(sccb, 0, sizeof(*sccb)); in sclp_read_info_early()
86 sccb->header.length = sizeof(*sccb); in sclp_read_info_early()
87 sccb->header.function_code = 0x80; in sclp_read_info_early()
88 sccb->header.control_mask[2] = 0x80; in sclp_read_info_early()
89 rc = sclp_cmd_sync_early(commands[i], sccb); in sclp_read_info_early()
94 if (sccb->header.response_code == 0x10) { in sclp_read_info_early()
[all …]
Dsclp_sdias.c64 static struct sdias_sccb sccb __attribute__((aligned(4096))); variable
74 cbsccb = (struct sdias_sccb *) request->sccb; in sdias_callback()
119 memset(&sccb, 0, sizeof(sccb)); in sclp_sdias_blk_count()
122 sccb.hdr.length = sizeof(sccb); in sclp_sdias_blk_count()
123 sccb.evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
124 sccb.evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
125 sccb.evbuf.event_qual = EQ_SIZE; in sclp_sdias_blk_count()
126 sccb.evbuf.data_id = DI_FCP_DUMP; in sclp_sdias_blk_count()
127 sccb.evbuf.event_id = 4712; in sclp_sdias_blk_count()
128 sccb.evbuf.dbs = 1; in sclp_sdias_blk_count()
[all …]
Dsclp_rw.c50 struct write_sccb *sccb; in sclp_make_buffer() local
52 sccb = (struct write_sccb *) page; in sclp_make_buffer()
57 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
58 buffer->sccb = sccb; in sclp_make_buffer()
68 memset(sccb, 0, sizeof(struct write_sccb)); in sclp_make_buffer()
69 sccb->header.length = sizeof(struct write_sccb); in sclp_make_buffer()
70 sccb->msg_buf.header.length = sizeof(struct msg_buf); in sclp_make_buffer()
71 sccb->msg_buf.header.type = EVTYP_MSG; in sclp_make_buffer()
72 sccb->msg_buf.mdb.header.length = sizeof(struct mdb); in sclp_make_buffer()
73 sccb->msg_buf.mdb.header.type = 1; in sclp_make_buffer()
[all …]
Dsclp_async.c26 static struct sclp_async_sccb *sccb; variable
131 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait()
132 sccb->evbuf.rtype = 0xA5; in sclp_async_send_wait()
133 sccb->evbuf.otype = 0x00; in sclp_async_send_wait()
134 evb = &sccb->evbuf; in sclp_async_send_wait()
136 request->sccb = sccb; in sclp_async_send_wait()
138 strncpy(sccb->evbuf.data, message, sizeof(sccb->evbuf.data)); in sclp_async_send_wait()
143 strncpy(sccb->evbuf.comp_id, "000000000", sizeof(sccb->evbuf.comp_id)); in sclp_async_send_wait()
144 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait()
145 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait()
[all …]
Dsclp_vt220.c124 page = request->sclp_req.sccb; in sclp_vt220_process_queue()
159 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local
166 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback()
169 switch (sccb->header.response_code) { in sclp_vt220_callback()
180 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback()
182 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
192 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
231 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local
235 sccb = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current()
236 sclp_vt220_current_request->sclp_req.sccb; in sclp_vt220_emit_current()
[all …]
Dsclp.c119 sclp_service_call(sclp_cmdw_t command, void *sccb) in sclp_service_call() argument
127 : "=&d" (cc) : "d" (command), "a" (__pa(sccb)) in sclp_service_call()
194 rc = sclp_service_call(req->command, req->sccb); in __sclp_start_request()
231 if (!req->sccb) in sclp_process_queue()
288 if (!req->sccb) { in sclp_add_request()
307 sclp_dispatch_evbufs(struct sccb_header *sccb) in sclp_dispatch_evbufs() argument
318 for (offset = sizeof(struct sccb_header); offset < sccb->length; in sclp_dispatch_evbufs()
320 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
349 struct sccb_header *sccb; in sclp_read_cb() local
351 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb()
[all …]
Dsclp_cpi_sys.c81 struct cpi_sccb *sccb; in cpi_prepare_req() local
87 sccb = (struct cpi_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in cpi_prepare_req()
88 if (!sccb) { in cpi_prepare_req()
94 sccb->header.length = sizeof(struct cpi_sccb); in cpi_prepare_req()
95 sccb->cpi_evbuf.header.length = sizeof(struct cpi_evbuf); in cpi_prepare_req()
96 sccb->cpi_evbuf.header.type = 0x0b; in cpi_prepare_req()
97 evb = &sccb->cpi_evbuf; in cpi_prepare_req()
113 req->sccb = sccb; in cpi_prepare_req()
121 free_page((unsigned long) req->sccb); in cpi_free_req()
163 response = ((struct cpi_sccb *) req->sccb)->header.response_code; in cpi_req()
Dsclp.h116 void *sccb; /* pointer to the sccb to execute */ member
157 int sclp_remove_processed(struct sccb_header *sccb);
160 int sclp_service_call(sclp_cmdw_t command, void *sccb);
Dsclp_rw.h71 struct write_sccb *sccb; member
/linux-2.6.39/drivers/scsi/
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;
243 struct sccb *currentSCCB;
256 struct sccb *discQ_Tbl[QUEUE_DEPTH];
789 struct sccb *pCurrSCCB);
[all …]
/linux-2.6.39/arch/s390/kernel/
Dsclp.S102 # R3 = sccb address
106 # R3 = sccb response code if R2 = 0
113 lr %r7,%r3 # save sccb address
146 l %r6,.LsccbS0-.LbaseS3(%r13) # prepare init mask sccb
154 lr %r3,%r6 # get sccb address
206 l %r8,.LsccbS0-.LbaseS4(%r13) # prepare write data sccb
235 lh %r9,0(%r8) # update sccb length
299 # sccb