Searched refs:sccb (Results 1 – 9 of 9) sorted by relevance
/drivers/s390/char/ |
D | sclp_cmd.c | 55 static int __init sclp_cmd_sync_early(sclp_cmdw_t cmd, void *sccb) in sclp_cmd_sync_early() argument 60 rc = sclp_service_call(cmd, sccb); in sclp_cmd_sync_early() 77 struct read_info_sccb *sccb; in sclp_read_info_early() local 81 sccb = &early_read_info_sccb; in sclp_read_info_early() 84 memset(sccb, 0, sizeof(*sccb)); in sclp_read_info_early() 85 sccb->header.length = sizeof(*sccb); in sclp_read_info_early() 86 sccb->header.control_mask[2] = 0x80; in sclp_read_info_early() 87 rc = sclp_cmd_sync_early(commands[i], sccb); in sclp_read_info_early() 92 if (sccb->header.response_code == 0x10) { in sclp_read_info_early() 96 if (sccb->header.response_code != 0x1f0) in sclp_read_info_early() [all …]
|
D | sclp_sdias.c | 64 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 …]
|
D | sclp_rw.c | 44 struct write_sccb *sccb; in sclp_make_buffer() local 46 sccb = (struct write_sccb *) 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 write_sccb)); in sclp_make_buffer() 63 sccb->header.length = sizeof(struct write_sccb); in sclp_make_buffer() 64 sccb->msg_buf.header.length = sizeof(struct msg_buf); in sclp_make_buffer() 65 sccb->msg_buf.header.type = EVTYP_MSG; in sclp_make_buffer() 66 sccb->msg_buf.mdb.header.length = sizeof(struct mdb); in sclp_make_buffer() 67 sccb->msg_buf.mdb.header.type = 1; in sclp_make_buffer() [all …]
|
D | sclp_vt220.c | 119 page = request->sclp_req.sccb; in sclp_vt220_process_queue() 150 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local 157 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback() 160 switch (sccb->header.response_code) { in sclp_vt220_callback() 171 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback() 173 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 183 sccb->header.response_code = 0x0000; in sclp_vt220_callback() 241 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local 246 sccb = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current() 247 sclp_vt220_current_request->sclp_req.sccb; in sclp_vt220_emit_current() [all …]
|
D | sclp.c | 102 sclp_service_call(sclp_cmdw_t command, void *sccb) in sclp_service_call() argument 110 : "=&d" (cc) : "d" (command), "a" (__pa(sccb)) in sclp_service_call() 177 rc = sclp_service_call(req->command, req->sccb); in __sclp_start_request() 270 sclp_dispatch_evbufs(struct sccb_header *sccb) in sclp_dispatch_evbufs() argument 281 for (offset = sizeof(struct sccb_header); offset < sccb->length; in sclp_dispatch_evbufs() 283 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs() 312 struct sccb_header *sccb; in sclp_read_cb() local 314 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb() 315 if (req->status == SCLP_REQ_DONE && (sccb->response_code == 0x20 || in sclp_read_cb() 316 sccb->response_code == 0x220)) in sclp_read_cb() [all …]
|
D | sclp_cpi_sys.c | 81 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()
|
D | sclp.h | 107 void *sccb; /* pointer to the sccb to execute */ member 144 int sclp_remove_processed(struct sccb_header *sccb); 147 int sclp_service_call(sclp_cmdw_t command, void *sccb);
|
D | sclp_rw.h | 72 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 …]
|