Searched refs:sccb (Results 1 – 10 of 10) sorted by relevance
/drivers/s390/char/ |
D | sclp_cmd.c | 57 static int __init sclp_cmd_sync_early(sclp_cmdw_t cmd, void *sccb) in sclp_cmd_sync_early() argument 62 rc = sclp_service_call(cmd, sccb); in sclp_cmd_sync_early() 79 struct read_info_sccb *sccb; in sclp_read_info_early() local 83 sccb = &early_read_info_sccb; in sclp_read_info_early() 86 memset(sccb, 0, sizeof(*sccb)); in sclp_read_info_early() 87 sccb->header.length = sizeof(*sccb); in sclp_read_info_early() 88 sccb->header.function_code = 0x80; in sclp_read_info_early() 89 sccb->header.control_mask[2] = 0x80; in sclp_read_info_early() 90 rc = sclp_cmd_sync_early(commands[i], sccb); in sclp_read_info_early() 95 if (sccb->header.response_code == 0x10) { in sclp_read_info_early() [all …]
|
D | sclp_sdias.c | 65 static struct sdias_sccb sccb __attribute__((aligned(4096))); variable 114 if (!(sccb.evbuf.hdr.flags & 0x80)) { in sdias_sclp_send() 116 sccb.evbuf.hdr.flags); in sdias_sclp_send() 123 memcpy(&sdias_evbuf, &sccb.evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send() 145 memset(&sccb, 0, sizeof(sccb)); in sclp_sdias_blk_count() 148 sccb.hdr.length = sizeof(sccb); in sclp_sdias_blk_count() 149 sccb.evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count() 150 sccb.evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count() 151 sccb.evbuf.event_qual = EQ_SIZE; in sclp_sdias_blk_count() 152 sccb.evbuf.data_id = DI_FCP_DUMP; in sclp_sdias_blk_count() [all …]
|
D | sclp_rw.c | 50 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 …]
|
D | sclp_async.c | 26 static struct sclp_async_sccb *sccb; variable 128 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait() 129 sccb->evbuf.rtype = 0xA5; in sclp_async_send_wait() 130 sccb->evbuf.otype = 0x00; in sclp_async_send_wait() 131 evb = &sccb->evbuf; in sclp_async_send_wait() 133 request->sccb = sccb; in sclp_async_send_wait() 135 strncpy(sccb->evbuf.data, message, sizeof(sccb->evbuf.data)); in sclp_async_send_wait() 140 strncpy(sccb->evbuf.comp_id, "000000000", sizeof(sccb->evbuf.comp_id)); in sclp_async_send_wait() 141 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait() 142 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait() [all …]
|
D | sclp_vt220.c | 124 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 …]
|
D | sclp.c | 118 sclp_service_call(sclp_cmdw_t command, void *sccb) in sclp_service_call() argument 126 : "=&d" (cc) : "d" (command), "a" (__pa(sccb)) in sclp_service_call() 193 rc = sclp_service_call(req->command, req->sccb); in __sclp_start_request() 230 if (!req->sccb) in sclp_process_queue() 287 if (!req->sccb) { in sclp_add_request() 306 sclp_dispatch_evbufs(struct sccb_header *sccb) in sclp_dispatch_evbufs() argument 317 for (offset = sizeof(struct sccb_header); offset < sccb->length; in sclp_dispatch_evbufs() 319 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs() 348 struct sccb_header *sccb; in sclp_read_cb() local 350 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb() [all …]
|
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 = 0x0b; 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() 164 response = ((struct cpi_sccb *) req->sccb)->header.response_code; in cpi_req()
|
D | sclp.h | 118 void *sccb; /* pointer to the sccb to execute */ member 159 int sclp_remove_processed(struct sccb_header *sccb); 162 int sclp_service_call(sclp_cmdw_t command, void *sccb);
|
D | sclp_rw.h | 71 struct write_sccb *sccb; member
|
/drivers/scsi/ |
D | FlashPoint.c | 28 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 …]
|