sccb 17 arch/s390/include/uapi/asm/sclp_ctl.h __u64 sccb; sccb 279 drivers/s390/char/sclp.c rc = sclp_service_call(req->command, req->sccb); sccb 316 drivers/s390/char/sclp.c if (!req->sccb) sccb 380 drivers/s390/char/sclp.c if (!req->sccb) { sccb 399 drivers/s390/char/sclp.c sclp_dispatch_evbufs(struct sccb_header *sccb) sccb 410 drivers/s390/char/sclp.c for (offset = sizeof(struct sccb_header); offset < sccb->length; sccb 412 drivers/s390/char/sclp.c evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); sccb 441 drivers/s390/char/sclp.c struct sccb_header *sccb; sccb 443 drivers/s390/char/sclp.c sccb = (struct sccb_header *) req->sccb; sccb 444 drivers/s390/char/sclp.c if (req->status == SCLP_REQ_DONE && (sccb->response_code == 0x20 || sccb 445 drivers/s390/char/sclp.c sccb->response_code == 0x220)) sccb 446 drivers/s390/char/sclp.c sclp_dispatch_evbufs(sccb); sccb 455 drivers/s390/char/sclp.c struct sccb_header *sccb; sccb 457 drivers/s390/char/sclp.c sccb = (struct sccb_header *) sclp_read_sccb; sccb 458 drivers/s390/char/sclp.c clear_page(sccb); sccb 464 drivers/s390/char/sclp.c sclp_read_req.sccb = sccb; sccb 465 drivers/s390/char/sclp.c sccb->length = PAGE_SIZE; sccb 466 drivers/s390/char/sclp.c sccb->function_code = 0; sccb 467 drivers/s390/char/sclp.c sccb->control_mask[2] = 0x80; sccb 473 drivers/s390/char/sclp.c __sclp_find_req(u32 sccb) sccb 480 drivers/s390/char/sclp.c if (sccb == (u32) (addr_t) req->sccb) sccb 726 drivers/s390/char/sclp.c sclp_remove_processed(struct sccb_header *sccb) sccb 732 drivers/s390/char/sclp.c evbuf = (struct evbuf_header *) (sccb + 1); sccb 734 drivers/s390/char/sclp.c remaining = sccb->length - sizeof(struct sccb_header); sccb 738 drivers/s390/char/sclp.c sccb->length -= evbuf->length; sccb 756 drivers/s390/char/sclp.c struct init_sccb *sccb = sclp_init_sccb; sccb 758 drivers/s390/char/sclp.c clear_page(sccb); sccb 765 drivers/s390/char/sclp.c sclp_init_req.sccb = sccb; sccb 766 drivers/s390/char/sclp.c sccb->header.length = sizeof(*sccb); sccb 768 drivers/s390/char/sclp.c sccb->mask_length = SCLP_MASK_SIZE_COMPAT; sccb 770 drivers/s390/char/sclp.c sccb->mask_length = sizeof(sccb_mask_t); sccb 771 drivers/s390/char/sclp.c sccb_set_recv_mask(sccb, receive_mask); sccb 772 drivers/s390/char/sclp.c sccb_set_send_mask(sccb, send_mask); sccb 773 drivers/s390/char/sclp.c sccb_set_sclp_recv_mask(sccb, 0); sccb 774 drivers/s390/char/sclp.c sccb_set_sclp_send_mask(sccb, 0); sccb 784 drivers/s390/char/sclp.c struct init_sccb *sccb = sclp_init_sccb; sccb 827 drivers/s390/char/sclp.c sccb->header.response_code == 0x20) { sccb 830 drivers/s390/char/sclp.c sclp_receive_mask = sccb_get_sclp_recv_mask(sccb); sccb 831 drivers/s390/char/sclp.c sclp_send_mask = sccb_get_sclp_send_mask(sccb); sccb 949 drivers/s390/char/sclp.c struct init_sccb *sccb; sccb 963 drivers/s390/char/sclp.c sccb = (struct init_sccb *) sclp_init_req.sccb; sccb 964 drivers/s390/char/sclp.c rc = sclp_service_call(sclp_init_req.command, sccb); sccb 984 drivers/s390/char/sclp.c if (sccb->header.response_code == 0x20) { sccb 987 drivers/s390/char/sclp.c } else if (sccb->header.response_code == 0x74f0) { sccb 131 drivers/s390/char/sclp.h #define sccb_get_generic_mask(sccb, i) \ sccb 133 drivers/s390/char/sclp.h __typeof__(sccb) __sccb = sccb; \ sccb 137 drivers/s390/char/sclp.h #define sccb_get_recv_mask(sccb) sccb_get_generic_mask(sccb, 0) sccb 138 drivers/s390/char/sclp.h #define sccb_get_send_mask(sccb) sccb_get_generic_mask(sccb, 1) sccb 139 drivers/s390/char/sclp.h #define sccb_get_sclp_recv_mask(sccb) sccb_get_generic_mask(sccb, 2) sccb 140 drivers/s390/char/sclp.h #define sccb_get_sclp_send_mask(sccb) sccb_get_generic_mask(sccb, 3) sccb 142 drivers/s390/char/sclp.h #define sccb_set_generic_mask(sccb, i, val) \ sccb 144 drivers/s390/char/sclp.h __typeof__(sccb) __sccb = sccb; \ sccb 148 drivers/s390/char/sclp.h #define sccb_set_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 0, val) sccb 149 drivers/s390/char/sclp.h #define sccb_set_send_mask(sccb, val) sccb_set_generic_mask(sccb, 1, val) sccb 150 drivers/s390/char/sclp.h #define sccb_set_sclp_recv_mask(sccb, val) sccb_set_generic_mask(sccb, 2, val) sccb 151 drivers/s390/char/sclp.h #define sccb_set_sclp_send_mask(sccb, val) sccb_set_generic_mask(sccb, 3, val) sccb 215 drivers/s390/char/sclp.h struct read_cpu_info_sccb *sccb) sccb 217 drivers/s390/char/sclp.h char *page = (char *) sccb; sccb 220 drivers/s390/char/sclp.h info->configured = sccb->nr_configured; sccb 221 drivers/s390/char/sclp.h info->standby = sccb->nr_standby; sccb 222 drivers/s390/char/sclp.h info->combined = sccb->nr_configured + sccb->nr_standby; sccb 223 drivers/s390/char/sclp.h memcpy(&info->core, page + sccb->offset_configured, sccb 254 drivers/s390/char/sclp.h void *sccb; /* pointer to the sccb to execute */ sccb 303 drivers/s390/char/sclp.h int sclp_remove_processed(struct sccb_header *sccb); sccb 306 drivers/s390/char/sclp.h int sclp_sync_request(sclp_cmdw_t command, void *sccb); sccb 307 drivers/s390/char/sclp.h int sclp_sync_request_timeout(sclp_cmdw_t command, void *sccb, int timeout); sccb 327 drivers/s390/char/sclp.h int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb); sccb 328 drivers/s390/char/sclp.h unsigned int sclp_early_con_check_linemode(struct init_sccb *sccb); sccb 329 drivers/s390/char/sclp.h unsigned int sclp_early_con_check_vt220(struct init_sccb *sccb); sccb 330 drivers/s390/char/sclp.h int sclp_early_set_event_mask(struct init_sccb *sccb, sccb 338 drivers/s390/char/sclp.h static inline int sclp_service_call(sclp_cmdw_t command, void *sccb) sccb 349 drivers/s390/char/sclp.h : "+&d" (cc) : "d" (command), "a" ((unsigned long)sccb) sccb 40 drivers/s390/char/sclp_cmd.c int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) sccb 42 drivers/s390/char/sclp_cmd.c return sclp_sync_request_timeout(cmd, sccb, 0); sccb 45 drivers/s390/char/sclp_cmd.c int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout) sccb 57 drivers/s390/char/sclp_cmd.c request->sccb = sccb; sccb 90 drivers/s390/char/sclp_cmd.c struct read_cpu_info_sccb *sccb; sccb 94 drivers/s390/char/sclp_cmd.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 95 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 97 drivers/s390/char/sclp_cmd.c sccb->header.length = sizeof(*sccb); sccb 98 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request_timeout(SCLP_CMDW_READ_CPU_INFO, sccb, sccb 102 drivers/s390/char/sclp_cmd.c if (sccb->header.response_code != 0x0010) { sccb 104 drivers/s390/char/sclp_cmd.c sccb->header.response_code); sccb 108 drivers/s390/char/sclp_cmd.c sclp_fill_core_info(info, sccb); sccb 110 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 120 drivers/s390/char/sclp_cmd.c struct cpu_configure_sccb *sccb; sccb 129 drivers/s390/char/sclp_cmd.c sccb = kzalloc(sizeof(*sccb), GFP_KERNEL | GFP_DMA); sccb 130 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 132 drivers/s390/char/sclp_cmd.c sccb->header.length = sizeof(*sccb); sccb 133 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request_timeout(cmd, sccb, SCLP_QUEUE_INTERVAL); sccb 136 drivers/s390/char/sclp_cmd.c switch (sccb->header.response_code) { sccb 142 drivers/s390/char/sclp_cmd.c cmd, sccb->header.response_code); sccb 147 drivers/s390/char/sclp_cmd.c kfree(sccb); sccb 194 drivers/s390/char/sclp_cmd.c struct assign_storage_sccb *sccb; sccb 197 drivers/s390/char/sclp_cmd.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 198 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 200 drivers/s390/char/sclp_cmd.c sccb->header.length = PAGE_SIZE; sccb 201 drivers/s390/char/sclp_cmd.c sccb->rn = rn; sccb 202 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request_timeout(cmd, sccb, SCLP_QUEUE_INTERVAL); sccb 205 drivers/s390/char/sclp_cmd.c switch (sccb->header.response_code) { sccb 211 drivers/s390/char/sclp_cmd.c cmd, sccb->header.response_code, rn); sccb 216 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 248 drivers/s390/char/sclp_cmd.c struct attach_storage_sccb *sccb; sccb 252 drivers/s390/char/sclp_cmd.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 253 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 255 drivers/s390/char/sclp_cmd.c sccb->header.length = PAGE_SIZE; sccb 256 drivers/s390/char/sclp_cmd.c sccb->header.function_code = 0x40; sccb 257 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request_timeout(0x00080001 | id << 8, sccb, sccb 261 drivers/s390/char/sclp_cmd.c switch (sccb->header.response_code) { sccb 264 drivers/s390/char/sclp_cmd.c for (i = 0; i < sccb->assigned; i++) { sccb 265 drivers/s390/char/sclp_cmd.c if (sccb->entries[i]) sccb 266 drivers/s390/char/sclp_cmd.c sclp_unassign_storage(sccb->entries[i] >> 16); sccb 274 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 477 drivers/s390/char/sclp_cmd.c struct read_storage_sccb *sccb; sccb 485 drivers/s390/char/sclp_cmd.c sccb = (void *) __get_free_page(GFP_KERNEL | GFP_DMA); sccb 486 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 490 drivers/s390/char/sclp_cmd.c memset(sccb, 0, PAGE_SIZE); sccb 491 drivers/s390/char/sclp_cmd.c sccb->header.length = PAGE_SIZE; sccb 492 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request(SCLP_CMDW_READ_STORAGE_INFO | id << 8, sccb); sccb 495 drivers/s390/char/sclp_cmd.c switch (sccb->header.response_code) { sccb 498 drivers/s390/char/sclp_cmd.c for (i = 0; i < sccb->assigned; i++) { sccb 499 drivers/s390/char/sclp_cmd.c if (!sccb->entries[i]) sccb 502 drivers/s390/char/sclp_cmd.c insert_increment(sccb->entries[i] >> 16, 0, 1); sccb 508 drivers/s390/char/sclp_cmd.c for (i = 0; i < sccb->assigned; i++) { sccb 509 drivers/s390/char/sclp_cmd.c if (!sccb->entries[i]) sccb 512 drivers/s390/char/sclp_cmd.c insert_increment(sccb->entries[i] >> 16, 1, 1); sccb 520 drivers/s390/char/sclp_cmd.c sclp_max_storage_id = sccb->max_id; sccb 541 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 565 drivers/s390/char/sclp_cmd.c struct chp_cfg_sccb *sccb; sccb 571 drivers/s390/char/sclp_cmd.c sccb = (struct chp_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 572 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 574 drivers/s390/char/sclp_cmd.c sccb->header.length = sizeof(*sccb); sccb 575 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request(cmd, sccb); sccb 578 drivers/s390/char/sclp_cmd.c switch (sccb->header.response_code) { sccb 586 drivers/s390/char/sclp_cmd.c cmd, sccb->header.response_code); sccb 591 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 639 drivers/s390/char/sclp_cmd.c struct chp_info_sccb *sccb; sccb 645 drivers/s390/char/sclp_cmd.c sccb = (struct chp_info_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 646 drivers/s390/char/sclp_cmd.c if (!sccb) sccb 648 drivers/s390/char/sclp_cmd.c sccb->header.length = sizeof(*sccb); sccb 649 drivers/s390/char/sclp_cmd.c rc = sclp_sync_request(SCLP_CMDW_READ_CHPATH_INFORMATION, sccb); sccb 652 drivers/s390/char/sclp_cmd.c if (sccb->header.response_code != 0x0010) { sccb 654 drivers/s390/char/sclp_cmd.c sccb->header.response_code); sccb 658 drivers/s390/char/sclp_cmd.c memcpy(info->recognized, sccb->recognized, SCLP_CHP_INFO_MASK_SIZE); sccb 659 drivers/s390/char/sclp_cmd.c memcpy(info->standby, sccb->standby, SCLP_CHP_INFO_MASK_SIZE); sccb 660 drivers/s390/char/sclp_cmd.c memcpy(info->configured, sccb->configured, SCLP_CHP_INFO_MASK_SIZE); sccb 662 drivers/s390/char/sclp_cmd.c free_page((unsigned long) sccb); sccb 96 drivers/s390/char/sclp_config.c struct sclp_ofb_sccb *sccb; sccb 101 drivers/s390/char/sclp_config.c sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 102 drivers/s390/char/sclp_config.c if (!sccb) sccb 105 drivers/s390/char/sclp_config.c sccb->header.length = sizeof(struct sclp_ofb_sccb); sccb 106 drivers/s390/char/sclp_config.c sccb->ofb_evbuf.header.length = sizeof(struct sclp_ofb_evbuf); sccb 107 drivers/s390/char/sclp_config.c sccb->ofb_evbuf.header.type = EVTYP_CONFMGMDATA; sccb 108 drivers/s390/char/sclp_config.c sccb->ofb_evbuf.cm_data.ev_qualifier = EV_QUAL_OPEN4BUSINESS; sccb 109 drivers/s390/char/sclp_config.c memcpy(sccb->ofb_evbuf.ev_data, ev_data, len); sccb 116 drivers/s390/char/sclp_config.c rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); sccb 120 drivers/s390/char/sclp_config.c response = sccb->header.response_code; sccb 127 drivers/s390/char/sclp_config.c free_page((unsigned long)sccb); sccb 82 drivers/s390/char/sclp_cpi_sys.c struct cpi_sccb *sccb; sccb 88 drivers/s390/char/sclp_cpi_sys.c sccb = (struct cpi_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 89 drivers/s390/char/sclp_cpi_sys.c if (!sccb) { sccb 95 drivers/s390/char/sclp_cpi_sys.c sccb->header.length = sizeof(struct cpi_sccb); sccb 96 drivers/s390/char/sclp_cpi_sys.c sccb->cpi_evbuf.header.length = sizeof(struct cpi_evbuf); sccb 97 drivers/s390/char/sclp_cpi_sys.c sccb->cpi_evbuf.header.type = EVTYP_CTLPROGIDENT; sccb 98 drivers/s390/char/sclp_cpi_sys.c evb = &sccb->cpi_evbuf; sccb 114 drivers/s390/char/sclp_cpi_sys.c req->sccb = sccb; sccb 122 drivers/s390/char/sclp_cpi_sys.c free_page((unsigned long) req->sccb); sccb 163 drivers/s390/char/sclp_cpi_sys.c response = ((struct cpi_sccb *) req->sccb)->header.response_code; sccb 58 drivers/s390/char/sclp_ctl.c struct sccb_header *sccb; sccb 66 drivers/s390/char/sclp_ctl.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 67 drivers/s390/char/sclp_ctl.c if (!sccb) sccb 70 drivers/s390/char/sclp_ctl.c copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE); sccb 72 drivers/s390/char/sclp_ctl.c sizeof(sccb->length) > copied || sccb->length > copied) { sccb 76 drivers/s390/char/sclp_ctl.c if (sccb->length < 8) { sccb 80 drivers/s390/char/sclp_ctl.c rc = sclp_sync_request(ctl_sccb.cmdw, sccb); sccb 83 drivers/s390/char/sclp_ctl.c if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length)) sccb 86 drivers/s390/char/sclp_ctl.c free_page((unsigned long) sccb); sccb 23 drivers/s390/char/sclp_early.c static void __init sclp_early_facilities_detect(struct read_info_sccb *sccb) sccb 28 drivers/s390/char/sclp_early.c if (sclp_early_get_info(sccb)) sccb 31 drivers/s390/char/sclp_early.c sclp.facilities = sccb->facilities; sccb 32 drivers/s390/char/sclp_early.c sclp.has_sprp = !!(sccb->fac84 & 0x02); sccb 33 drivers/s390/char/sclp_early.c sclp.has_core_type = !!(sccb->fac84 & 0x01); sccb 34 drivers/s390/char/sclp_early.c sclp.has_gsls = !!(sccb->fac85 & 0x80); sccb 35 drivers/s390/char/sclp_early.c sclp.has_64bscao = !!(sccb->fac116 & 0x80); sccb 36 drivers/s390/char/sclp_early.c sclp.has_cmma = !!(sccb->fac116 & 0x40); sccb 37 drivers/s390/char/sclp_early.c sclp.has_esca = !!(sccb->fac116 & 0x08); sccb 38 drivers/s390/char/sclp_early.c sclp.has_pfmfi = !!(sccb->fac117 & 0x40); sccb 39 drivers/s390/char/sclp_early.c sclp.has_ibs = !!(sccb->fac117 & 0x20); sccb 40 drivers/s390/char/sclp_early.c sclp.has_gisaf = !!(sccb->fac118 & 0x08); sccb 41 drivers/s390/char/sclp_early.c sclp.has_hvs = !!(sccb->fac119 & 0x80); sccb 42 drivers/s390/char/sclp_early.c sclp.has_kss = !!(sccb->fac98 & 0x01); sccb 43 drivers/s390/char/sclp_early.c sclp.has_sipl = !!(sccb->cbl & 0x4000); sccb 44 drivers/s390/char/sclp_early.c if (sccb->fac85 & 0x02) sccb 46 drivers/s390/char/sclp_early.c if (sccb->fac91 & 0x40) sccb 48 drivers/s390/char/sclp_early.c if (sccb->cpuoff > 134) sccb 49 drivers/s390/char/sclp_early.c sclp.has_diag318 = !!(sccb->byte_134 & 0x80); sccb 50 drivers/s390/char/sclp_early.c sclp.rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; sccb 51 drivers/s390/char/sclp_early.c sclp.rzm = sccb->rnsize ? sccb->rnsize : sccb->rnsize2; sccb 53 drivers/s390/char/sclp_early.c sclp.ibc = sccb->ibc; sccb 55 drivers/s390/char/sclp_early.c if (sccb->hamaxpow && sccb->hamaxpow < 64) sccb 56 drivers/s390/char/sclp_early.c sclp.hamax = (1UL << sccb->hamaxpow) - 1; sccb 60 drivers/s390/char/sclp_early.c if (!sccb->hcpua) { sccb 64 drivers/s390/char/sclp_early.c sclp.max_cores = sccb->ncpurl; sccb 66 drivers/s390/char/sclp_early.c sclp.max_cores = sccb->hcpua + 1; sccb 70 drivers/s390/char/sclp_early.c cpue = (void *)sccb + sccb->cpuoff; sccb 71 drivers/s390/char/sclp_early.c for (cpu = 0; cpu < sccb->ncpurl; cpue++, cpu++) { sccb 86 drivers/s390/char/sclp_early.c if (sccb->fac91 & 0x2) sccb 88 drivers/s390/char/sclp_early.c memcpy(&sclp_ipl_info.loadparm, &sccb->loadparm, LOADPARM_LEN); sccb 90 drivers/s390/char/sclp_early.c if (sccb->hsa_size) sccb 91 drivers/s390/char/sclp_early.c sclp.hsa_size = (sccb->hsa_size - 1) * PAGE_SIZE; sccb 92 drivers/s390/char/sclp_early.c sclp.mtid = (sccb->fac42 & 0x80) ? (sccb->fac42 & 31) : 0; sccb 93 drivers/s390/char/sclp_early.c sclp.mtid_cp = (sccb->fac42 & 0x80) ? (sccb->fac43 & 31) : 0; sccb 94 drivers/s390/char/sclp_early.c sclp.mtid_prev = (sccb->fac42 & 0x80) ? (sccb->fac66 & 31) : 0; sccb 96 drivers/s390/char/sclp_early.c sclp.hmfai = sccb->hmfai; sccb 97 drivers/s390/char/sclp_early.c sclp.has_dirq = !!(sccb->cpudirq & 0x80); sccb 113 drivers/s390/char/sclp_early.c static void __init sclp_early_init_core_info(struct read_cpu_info_sccb *sccb) sccb 117 drivers/s390/char/sclp_early.c memset(sccb, 0, sizeof(*sccb)); sccb 118 drivers/s390/char/sclp_early.c sccb->header.length = sizeof(*sccb); sccb 119 drivers/s390/char/sclp_early.c if (sclp_early_cmd(SCLP_CMDW_READ_CPU_INFO, sccb)) sccb 121 drivers/s390/char/sclp_early.c if (sccb->header.response_code != 0x0010) sccb 123 drivers/s390/char/sclp_early.c sclp_fill_core_info(&sclp_early_core_info, sccb); sccb 135 drivers/s390/char/sclp_early.c static void __init sclp_early_console_detect(struct init_sccb *sccb) sccb 137 drivers/s390/char/sclp_early.c if (sccb->header.response_code != 0x20) sccb 140 drivers/s390/char/sclp_early.c if (sclp_early_con_check_vt220(sccb)) sccb 143 drivers/s390/char/sclp_early.c if (sclp_early_con_check_linemode(sccb)) sccb 149 drivers/s390/char/sclp_early.c void *sccb = sclp_early_sccb; sccb 151 drivers/s390/char/sclp_early.c sclp_early_facilities_detect(sccb); sccb 152 drivers/s390/char/sclp_early.c sclp_early_init_core_info(sccb); sccb 158 drivers/s390/char/sclp_early.c sclp_early_set_event_mask(sccb, 0, 0); sccb 159 drivers/s390/char/sclp_early.c sclp_early_console_detect(sccb); sccb 63 drivers/s390/char/sclp_early_core.c int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) sccb 69 drivers/s390/char/sclp_early_core.c rc = sclp_service_call(cmd, sccb); sccb 88 drivers/s390/char/sclp_early_core.c struct write_sccb *sccb; sccb 94 drivers/s390/char/sclp_early_core.c sccb = (struct write_sccb *) sclp_early_sccb; sccb 95 drivers/s390/char/sclp_early_core.c end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1; sccb 96 drivers/s390/char/sclp_early_core.c memset(sccb, 0, sizeof(*sccb)); sccb 97 drivers/s390/char/sclp_early_core.c ptr = (unsigned char *) &sccb->msg.mdb.mto; sccb 113 drivers/s390/char/sclp_early_core.c len = ptr - (unsigned char *) sccb; sccb 114 drivers/s390/char/sclp_early_core.c sccb->header.length = len - offsetof(struct write_sccb, header); sccb 115 drivers/s390/char/sclp_early_core.c msg = &sccb->msg; sccb 126 drivers/s390/char/sclp_early_core.c sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_DATA, sccb); sccb 140 drivers/s390/char/sclp_early_core.c struct vt220_sccb *sccb; sccb 142 drivers/s390/char/sclp_early_core.c sccb = (struct vt220_sccb *) sclp_early_sccb; sccb 143 drivers/s390/char/sclp_early_core.c if (sizeof(*sccb) + len >= EARLY_SCCB_SIZE) sccb 144 drivers/s390/char/sclp_early_core.c len = EARLY_SCCB_SIZE - sizeof(*sccb); sccb 145 drivers/s390/char/sclp_early_core.c memset(sccb, 0, sizeof(*sccb)); sccb 146 drivers/s390/char/sclp_early_core.c memcpy(&sccb->msg.data, str, len); sccb 147 drivers/s390/char/sclp_early_core.c sccb->header.length = sizeof(*sccb) + len; sccb 148 drivers/s390/char/sclp_early_core.c sccb->msg.header.length = sizeof(sccb->msg) + len; sccb 149 drivers/s390/char/sclp_early_core.c sccb->msg.header.type = EVTYP_VT220MSG; sccb 150 drivers/s390/char/sclp_early_core.c sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_DATA, sccb); sccb 153 drivers/s390/char/sclp_early_core.c int sclp_early_set_event_mask(struct init_sccb *sccb, sccb 158 drivers/s390/char/sclp_early_core.c memset(sccb, 0, sizeof(*sccb)); sccb 159 drivers/s390/char/sclp_early_core.c sccb->header.length = sizeof(*sccb); sccb 161 drivers/s390/char/sclp_early_core.c sccb->mask_length = SCLP_MASK_SIZE_COMPAT; sccb 163 drivers/s390/char/sclp_early_core.c sccb->mask_length = sizeof(sccb_mask_t); sccb 164 drivers/s390/char/sclp_early_core.c sccb_set_recv_mask(sccb, receive_mask); sccb 165 drivers/s390/char/sclp_early_core.c sccb_set_send_mask(sccb, send_mask); sccb 166 drivers/s390/char/sclp_early_core.c if (sclp_early_cmd(SCLP_CMDW_WRITE_EVENT_MASK, sccb)) sccb 168 drivers/s390/char/sclp_early_core.c if ((sccb->header.response_code == 0x74f0) && !sclp_mask_compat_mode) { sccb 172 drivers/s390/char/sclp_early_core.c if (sccb->header.response_code != 0x20) sccb 177 drivers/s390/char/sclp_early_core.c unsigned int sclp_early_con_check_linemode(struct init_sccb *sccb) sccb 179 drivers/s390/char/sclp_early_core.c if (!(sccb_get_sclp_send_mask(sccb) & EVTYP_OPCMD_MASK)) sccb 181 drivers/s390/char/sclp_early_core.c if (!(sccb_get_sclp_recv_mask(sccb) & (EVTYP_MSG_MASK | EVTYP_PMSGCMD_MASK))) sccb 186 drivers/s390/char/sclp_early_core.c unsigned int sclp_early_con_check_vt220(struct init_sccb *sccb) sccb 188 drivers/s390/char/sclp_early_core.c if (sccb_get_sclp_send_mask(sccb) & EVTYP_VT220MSG_MASK) sccb 196 drivers/s390/char/sclp_early_core.c struct init_sccb *sccb; sccb 202 drivers/s390/char/sclp_early_core.c sccb = (struct init_sccb *) sclp_early_sccb; sccb 205 drivers/s390/char/sclp_early_core.c rc = sclp_early_set_event_mask(sccb, receive_mask, send_mask); sccb 208 drivers/s390/char/sclp_early_core.c *have_linemode = sclp_early_con_check_linemode(sccb); sccb 209 drivers/s390/char/sclp_early_core.c *have_vt220 = !!(sccb_get_send_mask(sccb) & EVTYP_VT220MSG_MASK); sccb 245 drivers/s390/char/sclp_early_core.c struct read_info_sccb *sccb = &sclp_info_sccb; sccb 250 drivers/s390/char/sclp_early_core.c memset(sccb, 0, sizeof(*sccb)); sccb 251 drivers/s390/char/sclp_early_core.c sccb->header.length = sizeof(*sccb); sccb 252 drivers/s390/char/sclp_early_core.c sccb->header.function_code = 0x80; sccb 253 drivers/s390/char/sclp_early_core.c sccb->header.control_mask[2] = 0x80; sccb 254 drivers/s390/char/sclp_early_core.c if (sclp_early_cmd(commands[i], sccb)) sccb 256 drivers/s390/char/sclp_early_core.c if (sccb->header.response_code == 0x10) { sccb 260 drivers/s390/char/sclp_early_core.c if (sccb->header.response_code != 0x1f0) sccb 279 drivers/s390/char/sclp_early_core.c struct read_info_sccb *sccb = &sclp_info_sccb; sccb 284 drivers/s390/char/sclp_early_core.c rnmax = sccb->rnmax ? sccb->rnmax : sccb->rnmax2; sccb 285 drivers/s390/char/sclp_early_core.c rnsize = sccb->rnsize ? sccb->rnsize : sccb->rnsize2; sccb 307 drivers/s390/char/sclp_early_core.c struct read_storage_sccb *sccb = (struct read_storage_sccb *)sclp_early_sccb; sccb 324 drivers/s390/char/sclp_early_core.c sccb->header.length = EARLY_SCCB_SIZE; sccb 326 drivers/s390/char/sclp_early_core.c rc = sclp_early_cmd(command, sccb); sccb 330 drivers/s390/char/sclp_early_core.c max_id = sccb->max_id; sccb 331 drivers/s390/char/sclp_early_core.c switch (sccb->header.response_code) { sccb 333 drivers/s390/char/sclp_early_core.c for (sn = 0; sn < sccb->assigned; sn++) { sccb 334 drivers/s390/char/sclp_early_core.c if (!sccb->entries[sn]) sccb 336 drivers/s390/char/sclp_early_core.c rn = sccb->entries[sn] >> 16; sccb 41 drivers/s390/char/sclp_ftp.c req->sccb, 24, req->sccb); sccb 88 drivers/s390/char/sclp_ftp.c struct sclp_diag_sccb *sccb; sccb 94 drivers/s390/char/sclp_ftp.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 95 drivers/s390/char/sclp_ftp.c if (!req || !sccb) { sccb 100 drivers/s390/char/sclp_ftp.c sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN + sccb 102 drivers/s390/char/sclp_ftp.c sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; sccb 103 drivers/s390/char/sclp_ftp.c sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; sccb 104 drivers/s390/char/sclp_ftp.c sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ sccb 105 drivers/s390/char/sclp_ftp.c sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; sccb 106 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.pcx = SCLP_DIAG_FTP_XPCX; sccb 107 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.srcflg = 0; sccb 108 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.pgsize = 0; sccb 109 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.asce = _ASCE_REAL_SPACE; sccb 110 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.ldflg = SCLP_DIAG_FTP_LDFAIL; sccb 111 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.fsize = 0; sccb 112 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.cmd = ftp->id; sccb 113 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.offset = ftp->ofs; sccb 114 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.length = ftp->len; sccb 115 drivers/s390/char/sclp_ftp.c sccb->evbuf.mdd.ftp.bufaddr = virt_to_phys(ftp->buf); sccb 117 drivers/s390/char/sclp_ftp.c len = strlcpy(sccb->evbuf.mdd.ftp.fident, ftp->fname, sccb 125 drivers/s390/char/sclp_ftp.c req->sccb = sccb; sccb 141 drivers/s390/char/sclp_ftp.c sccb->hdr.response_code, sccb->evbuf.hdr.flags); sccb 150 drivers/s390/char/sclp_ftp.c (sccb->evbuf.hdr.flags & 0x80) == 0 || /* processed-buffer */ sccb 151 drivers/s390/char/sclp_ftp.c (sccb->hdr.response_code & 0xffU) != 0x20U) { sccb 156 drivers/s390/char/sclp_ftp.c free_page((unsigned long) sccb); sccb 60 drivers/s390/char/sclp_pci.c struct pci_cfg_sccb *sccb; sccb 66 drivers/s390/char/sclp_pci.c sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 67 drivers/s390/char/sclp_pci.c if (!sccb) sccb 70 drivers/s390/char/sclp_pci.c sccb->header.length = PAGE_SIZE; sccb 71 drivers/s390/char/sclp_pci.c sccb->atype = SCLP_ATYPE_PCI; sccb 72 drivers/s390/char/sclp_pci.c sccb->aid = fid; sccb 73 drivers/s390/char/sclp_pci.c rc = sclp_sync_request(cmd, sccb); sccb 76 drivers/s390/char/sclp_pci.c switch (sccb->header.response_code) { sccb 82 drivers/s390/char/sclp_pci.c cmd, sccb->header.response_code); sccb 87 drivers/s390/char/sclp_pci.c free_page((unsigned long) sccb); sccb 133 drivers/s390/char/sclp_pci.c struct err_notify_sccb *sccb; sccb 151 drivers/s390/char/sclp_pci.c sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); sccb 152 drivers/s390/char/sclp_pci.c if (!sccb) { sccb 162 drivers/s390/char/sclp_pci.c req.sccb = sccb; sccb 164 drivers/s390/char/sclp_pci.c sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; sccb 165 drivers/s390/char/sclp_pci.c sccb->evbuf.header.type = EVTYP_ERRNOTIFY; sccb 166 drivers/s390/char/sclp_pci.c sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; sccb 168 drivers/s390/char/sclp_pci.c sccb->evbuf.action = report->action; sccb 169 drivers/s390/char/sclp_pci.c sccb->evbuf.atype = SCLP_ATYPE_PCI; sccb 170 drivers/s390/char/sclp_pci.c sccb->evbuf.fh = fh; sccb 171 drivers/s390/char/sclp_pci.c sccb->evbuf.fid = fid; sccb 173 drivers/s390/char/sclp_pci.c memcpy(sccb->evbuf.data, report->data, report->length); sccb 187 drivers/s390/char/sclp_pci.c if (sccb->header.response_code != 0x0020) { sccb 189 drivers/s390/char/sclp_pci.c sccb->header.response_code); sccb 194 drivers/s390/char/sclp_pci.c free_page((unsigned long) sccb); sccb 51 drivers/s390/char/sclp_rw.c struct sccb_header *sccb; sccb 53 drivers/s390/char/sclp_rw.c sccb = (struct sccb_header *) page; sccb 58 drivers/s390/char/sclp_rw.c buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; sccb 59 drivers/s390/char/sclp_rw.c buffer->sccb = sccb; sccb 69 drivers/s390/char/sclp_rw.c memset(sccb, 0, sizeof(struct sccb_header)); sccb 70 drivers/s390/char/sclp_rw.c sccb->length = sizeof(struct sccb_header); sccb 82 drivers/s390/char/sclp_rw.c return buffer->sccb; sccb 92 drivers/s390/char/sclp_rw.c struct sccb_header *sccb; sccb 103 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; sccb 104 drivers/s390/char/sclp_rw.c if ((MAX_SCCB_ROOM - sccb->length) < msg_size) sccb 107 drivers/s390/char/sclp_rw.c msg = (struct msg_buf *)((addr_t) sccb + sccb->length); sccb 142 drivers/s390/char/sclp_rw.c struct sccb_header *sccb; sccb 149 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; sccb 154 drivers/s390/char/sclp_rw.c sccb->length += msg->header.length; sccb 315 drivers/s390/char/sclp_rw.c struct sccb_header *sccb; sccb 318 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; sccb 319 drivers/s390/char/sclp_rw.c count = MAX_SCCB_ROOM - sccb->length; sccb 386 drivers/s390/char/sclp_rw.c struct sccb_header *sccb; sccb 389 drivers/s390/char/sclp_rw.c sccb = buffer->sccb; sccb 397 drivers/s390/char/sclp_rw.c switch (sccb->response_code) { sccb 409 drivers/s390/char/sclp_rw.c if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { sccb 411 drivers/s390/char/sclp_rw.c sccb->response_code = 0x0000; sccb 427 drivers/s390/char/sclp_rw.c sccb->response_code = 0x0000; sccb 434 drivers/s390/char/sclp_rw.c if (sccb->response_code == 0x71f0) sccb 465 drivers/s390/char/sclp_rw.c buffer->request.sccb = buffer->sccb; sccb 68 drivers/s390/char/sclp_rw.h void *sccb; sccb 191 drivers/s390/char/sclp_sd.c struct sclp_sd_sccb *sccb = (void *) page; sccb 196 drivers/s390/char/sclp_sd.c sclp_sd_listener_init(&listener, (u32) (addr_t) sccb); sccb 200 drivers/s390/char/sclp_sd.c memset(sccb, 0, PAGE_SIZE); sccb 201 drivers/s390/char/sclp_sd.c sccb->hdr.length = sizeof(sccb->hdr) + sizeof(sccb->evbuf); sccb 202 drivers/s390/char/sclp_sd.c evbuf = &sccb->evbuf; sccb 216 drivers/s390/char/sclp_sd.c rc = sclp_sync_request(SCLP_CMDW_WRITE_EVENT_DATA, sccb); sccb 222 drivers/s390/char/sclp_sd.c if (sccb->hdr.response_code == 0x73f0) { sccb 227 drivers/s390/char/sclp_sd.c if (sccb->hdr.response_code != 0x0020 || !(evbuf->hdr.flags & 0x80)) { sccb 260 drivers/s390/char/sclp_sd.c eq, di, sccb->hdr.response_code, evbuf->hdr.flags, sccb 61 drivers/s390/char/sclp_sdias.c struct sdias_sccb *sccb = sclp_sdias_sccb; sccb 82 drivers/s390/char/sclp_sdias.c if (!(sccb->evbuf.hdr.flags & 0x80)) { sccb 84 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.flags); sccb 91 drivers/s390/char/sclp_sdias.c memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); sccb 108 drivers/s390/char/sclp_sdias.c struct sdias_sccb *sccb = sclp_sdias_sccb; sccb 114 drivers/s390/char/sclp_sdias.c memset(sccb, 0, sizeof(*sccb)); sccb 117 drivers/s390/char/sclp_sdias.c sccb->hdr.length = sizeof(*sccb); sccb 118 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); sccb 119 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.type = EVTYP_SDIAS; sccb 120 drivers/s390/char/sclp_sdias.c sccb->evbuf.event_qual = SDIAS_EQ_SIZE; sccb 121 drivers/s390/char/sclp_sdias.c sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; sccb 122 drivers/s390/char/sclp_sdias.c sccb->evbuf.event_id = 4712; sccb 123 drivers/s390/char/sclp_sdias.c sccb->evbuf.dbs = 1; sccb 125 drivers/s390/char/sclp_sdias.c request.sccb = sccb; sccb 135 drivers/s390/char/sclp_sdias.c if (sccb->hdr.response_code != 0x0020) { sccb 136 drivers/s390/char/sclp_sdias.c TRACE("send failed: %x\n", sccb->hdr.response_code); sccb 168 drivers/s390/char/sclp_sdias.c struct sdias_sccb *sccb = sclp_sdias_sccb; sccb 174 drivers/s390/char/sclp_sdias.c memset(sccb, 0, sizeof(*sccb)); sccb 177 drivers/s390/char/sclp_sdias.c sccb->hdr.length = sizeof(*sccb); sccb 178 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); sccb 179 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.type = EVTYP_SDIAS; sccb 180 drivers/s390/char/sclp_sdias.c sccb->evbuf.hdr.flags = 0; sccb 181 drivers/s390/char/sclp_sdias.c sccb->evbuf.event_qual = SDIAS_EQ_STORE_DATA; sccb 182 drivers/s390/char/sclp_sdias.c sccb->evbuf.data_id = SDIAS_DI_FCP_DUMP; sccb 183 drivers/s390/char/sclp_sdias.c sccb->evbuf.event_id = 4712; sccb 184 drivers/s390/char/sclp_sdias.c sccb->evbuf.asa_size = SDIAS_ASA_SIZE_64; sccb 185 drivers/s390/char/sclp_sdias.c sccb->evbuf.event_status = 0; sccb 186 drivers/s390/char/sclp_sdias.c sccb->evbuf.blk_cnt = nr_blks; sccb 187 drivers/s390/char/sclp_sdias.c sccb->evbuf.asa = (unsigned long)dest; sccb 188 drivers/s390/char/sclp_sdias.c sccb->evbuf.fbn = start_blk; sccb 189 drivers/s390/char/sclp_sdias.c sccb->evbuf.lbn = 0; sccb 190 drivers/s390/char/sclp_sdias.c sccb->evbuf.dbs = 1; sccb 192 drivers/s390/char/sclp_sdias.c request.sccb = sccb; sccb 202 drivers/s390/char/sclp_sdias.c if (sccb->hdr.response_code != 0x0020) { sccb 203 drivers/s390/char/sclp_sdias.c TRACE("copy failed: %x\n", sccb->hdr.response_code); sccb 128 drivers/s390/char/sclp_vt220.c page = request->sclp_req.sccb; sccb 160 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 167 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; sccb 170 drivers/s390/char/sclp_vt220.c switch (sccb->header.response_code) { sccb 181 drivers/s390/char/sclp_vt220.c if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { sccb 183 drivers/s390/char/sclp_vt220.c sccb->header.response_code = 0x0000; sccb 193 drivers/s390/char/sclp_vt220.c sccb->header.response_code = 0x0000; sccb 228 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 232 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) sccb 233 drivers/s390/char/sclp_vt220.c sclp_vt220_current_request->sclp_req.sccb; sccb 235 drivers/s390/char/sclp_vt220.c if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) { sccb 269 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 275 drivers/s390/char/sclp_vt220.c request->sclp_req.sccb = page; sccb 277 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) page; sccb 278 drivers/s390/char/sclp_vt220.c memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb)); sccb 279 drivers/s390/char/sclp_vt220.c sccb->header.length = sizeof(struct sclp_vt220_sccb); sccb 280 drivers/s390/char/sclp_vt220.c sccb->header.function_code = SCLP_NORMAL_WRITE; sccb 281 drivers/s390/char/sclp_vt220.c sccb->header.response_code = 0x0000; sccb 282 drivers/s390/char/sclp_vt220.c sccb->evbuf.type = EVTYP_VT220MSG; sccb 283 drivers/s390/char/sclp_vt220.c sccb->evbuf.length = sizeof(struct evbuf_header); sccb 291 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 292 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; sccb 294 drivers/s390/char/sclp_vt220.c sccb->header.length; sccb 300 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 301 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; sccb 302 drivers/s390/char/sclp_vt220.c return sccb->evbuf.length - sizeof(struct evbuf_header); sccb 313 drivers/s390/char/sclp_vt220.c struct sclp_vt220_sccb *sccb; sccb 324 drivers/s390/char/sclp_vt220.c sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; sccb 325 drivers/s390/char/sclp_vt220.c buffer = (void *) ((addr_t) sccb + sccb->header.length); sccb 345 drivers/s390/char/sclp_vt220.c sccb->header.length += to; sccb 346 drivers/s390/char/sclp_vt220.c sccb->evbuf.length += to; sccb 350 drivers/s390/char/sclp_vt220.c sccb->header.length += count; sccb 351 drivers/s390/char/sclp_vt220.c sccb->evbuf.length += count; sccb 387 drivers/s390/char/sclp_vt220.c page = request->sclp_req.sccb; sccb 28 drivers/scsi/FlashPoint.c struct sccb; sccb 29 drivers/scsi/FlashPoint.c typedef void (*CALL_BK_FN) (struct sccb *); sccb 108 drivers/scsi/FlashPoint.c struct sccb *Sccb_forwardlink; sccb 109 drivers/scsi/FlashPoint.c struct sccb *Sccb_backlink; sccb 212 drivers/scsi/FlashPoint.c struct sccb *TarSelQ_Head; sccb 213 drivers/scsi/FlashPoint.c struct sccb *TarSelQ_Tail; sccb 249 drivers/scsi/FlashPoint.c struct sccb *currentSCCB; sccb 262 drivers/scsi/FlashPoint.c struct sccb *discQ_Tbl[QUEUE_DEPTH]; sccb 795 drivers/scsi/FlashPoint.c struct sccb *pCurrSCCB); sccb 814 drivers/scsi/FlashPoint.c static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card); sccb 823 drivers/scsi/FlashPoint.c static void FPT_queueDisconnect(struct sccb *p_SCCB, unsigned char p_card); sccb 825 drivers/scsi/FlashPoint.c struct sccb *p_SCCB, unsigned char p_card); sccb 829 drivers/scsi/FlashPoint.c static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char card); sccb 830 drivers/scsi/FlashPoint.c static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB, sccb 832 drivers/scsi/FlashPoint.c static void FPT_utilUpdateResidual(struct sccb *p_SCCB); sccb 867 drivers/scsi/FlashPoint.c struct sccb *pCurrSCCB); sccb 869 drivers/scsi/FlashPoint.c struct sccb *pCurrSCCB); sccb 871 drivers/scsi/FlashPoint.c struct sccb *pCurrSCCB); sccb 872 drivers/scsi/FlashPoint.c static void FPT_hostDataXferRestart(struct sccb *currSCCB); sccb 1495 drivers/scsi/FlashPoint.c static void FlashPoint_StartCCB(void *curr_card, struct sccb *p_Sccb) sccb 1499 drivers/scsi/FlashPoint.c struct sccb *pSaveSccb; sccb 1609 drivers/scsi/FlashPoint.c static int FlashPoint_AbortCCB(void *pCurrCard, struct sccb *p_Sccb) sccb 1616 drivers/scsi/FlashPoint.c struct sccb *pSaveSCCB; sccb 1743 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 2236 drivers/scsi/FlashPoint.c static unsigned char FPT_sfm(u32 port, struct sccb *pCurrSCCB) sccb 2311 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 2610 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 2888 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3066 drivers/scsi/FlashPoint.c static void FPT_shandem(u32 port, unsigned char p_card, struct sccb *pCurrSCCB) sccb 3136 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3217 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3376 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3432 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3674 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3804 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 3900 drivers/scsi/FlashPoint.c static void FPT_sinits(struct sccb *p_sccb, unsigned char p_card) sccb 4004 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4045 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4088 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4161 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4300 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4346 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4373 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4443 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4645 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4918 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 4949 drivers/scsi/FlashPoint.c static void FPT_busMstrSGDataXferStart(u32 p_port, struct sccb *pcurrSCCB) sccb 5042 drivers/scsi/FlashPoint.c static void FPT_busMstrDataXferStart(u32 p_port, struct sccb *pcurrSCCB) sccb 5135 drivers/scsi/FlashPoint.c struct sccb *pCurrSCCB) sccb 5403 drivers/scsi/FlashPoint.c static void FPT_hostDataXferRestart(struct sccb *currSCCB) sccb 6669 drivers/scsi/FlashPoint.c struct sccb *pOldSccb; sccb 6699 drivers/scsi/FlashPoint.c (struct sccb sccb 6710 drivers/scsi/FlashPoint.c (struct sccb sccb 6716 drivers/scsi/FlashPoint.c (struct sccb sccb 6725 drivers/scsi/FlashPoint.c (struct sccb sccb 6746 drivers/scsi/FlashPoint.c (struct sccb sccb 6775 drivers/scsi/FlashPoint.c (struct sccb *)(pCurrCard->currentSCCB)-> sccb 6784 drivers/scsi/FlashPoint.c Sccb_backlink = (struct sccb *)NULL; sccb 6824 drivers/scsi/FlashPoint.c (unsigned char)(((struct sccb *)(pCurrCard->currentSCCB))-> sccb 6828 drivers/scsi/FlashPoint.c pCurrCard->currentSCCB->Sccb_backlink = (struct sccb *)NULL; sccb 6858 drivers/scsi/FlashPoint.c struct sccb *p_sccb, unsigned char p_card) sccb 6955 drivers/scsi/FlashPoint.c static void FPT_queueDisconnect(struct sccb *p_sccb, unsigned char p_card) sccb 6992 drivers/scsi/FlashPoint.c struct sccb *currSCCB; sccb 7058 drivers/scsi/FlashPoint.c static void FPT_queueAddSccb(struct sccb *p_SCCB, unsigned char p_card) sccb 7090 drivers/scsi/FlashPoint.c static unsigned char FPT_queueFindSccb(struct sccb *p_SCCB, sccb 7093 drivers/scsi/FlashPoint.c struct sccb *q_ptr; sccb 7153 drivers/scsi/FlashPoint.c static void FPT_utilUpdateResidual(struct sccb *p_SCCB) sccb 7545 drivers/scsi/FlashPoint.c FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); sccb 7551 drivers/scsi/FlashPoint.c FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB);