Lines Matching refs:sccb

279 	rc = sclp_service_call(req->command, req->sccb);  in __sclp_start_request()
316 if (!req->sccb) in sclp_process_queue()
380 if (!req->sccb) { in sclp_add_request()
399 sclp_dispatch_evbufs(struct sccb_header *sccb) in sclp_dispatch_evbufs() argument
410 for (offset = sizeof(struct sccb_header); offset < sccb->length; in sclp_dispatch_evbufs()
412 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
441 struct sccb_header *sccb; in sclp_read_cb() local
443 sccb = (struct sccb_header *) req->sccb; in sclp_read_cb()
444 if (req->status == SCLP_REQ_DONE && (sccb->response_code == 0x20 || in sclp_read_cb()
445 sccb->response_code == 0x220)) in sclp_read_cb()
446 sclp_dispatch_evbufs(sccb); in sclp_read_cb()
455 struct sccb_header *sccb; in __sclp_make_read_req() local
457 sccb = (struct sccb_header *) sclp_read_sccb; in __sclp_make_read_req()
458 clear_page(sccb); in __sclp_make_read_req()
464 sclp_read_req.sccb = sccb; in __sclp_make_read_req()
465 sccb->length = PAGE_SIZE; in __sclp_make_read_req()
466 sccb->function_code = 0; in __sclp_make_read_req()
467 sccb->control_mask[2] = 0x80; in __sclp_make_read_req()
473 __sclp_find_req(u32 sccb) in __sclp_find_req() argument
480 if (sccb == (u32) (addr_t) req->sccb) in __sclp_find_req()
726 sclp_remove_processed(struct sccb_header *sccb) in sclp_remove_processed() argument
732 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed()
734 remaining = sccb->length - sizeof(struct sccb_header); in sclp_remove_processed()
738 sccb->length -= evbuf->length; in sclp_remove_processed()
756 struct init_sccb *sccb; in __sclp_make_init_req() local
758 sccb = (struct init_sccb *) sclp_init_sccb; in __sclp_make_init_req()
759 clear_page(sccb); in __sclp_make_init_req()
766 sclp_init_req.sccb = sccb; in __sclp_make_init_req()
767 sccb->header.length = sizeof(*sccb); in __sclp_make_init_req()
769 sccb->mask_length = SCLP_MASK_SIZE_COMPAT; in __sclp_make_init_req()
771 sccb->mask_length = sizeof(sccb_mask_t); in __sclp_make_init_req()
772 sccb_set_recv_mask(sccb, receive_mask); in __sclp_make_init_req()
773 sccb_set_send_mask(sccb, send_mask); in __sclp_make_init_req()
774 sccb_set_sclp_recv_mask(sccb, 0); in __sclp_make_init_req()
775 sccb_set_sclp_send_mask(sccb, 0); in __sclp_make_init_req()
785 struct init_sccb *sccb = (struct init_sccb *) sclp_init_sccb; in sclp_init_mask() local
828 sccb->header.response_code == 0x20) { in sclp_init_mask()
831 sclp_receive_mask = sccb_get_sclp_recv_mask(sccb); in sclp_init_mask()
832 sclp_send_mask = sccb_get_sclp_send_mask(sccb); in sclp_init_mask()
950 struct init_sccb *sccb; in sclp_check_interface() local
964 sccb = (struct init_sccb *) sclp_init_req.sccb; in sclp_check_interface()
965 rc = sclp_service_call(sclp_init_req.command, sccb); in sclp_check_interface()
985 if (sccb->header.response_code == 0x20) { in sclp_check_interface()
988 } else if (sccb->header.response_code == 0x74f0) { in sclp_check_interface()