Lines Matching refs:sccb
119 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()
352 if (req->status == SCLP_REQ_DONE && (sccb->response_code == 0x20 || in sclp_read_cb()
353 sccb->response_code == 0x220)) in sclp_read_cb()
354 sclp_dispatch_evbufs(sccb); in sclp_read_cb()
363 struct sccb_header *sccb; in __sclp_make_read_req() local
365 sccb = (struct sccb_header *) sclp_read_sccb; in __sclp_make_read_req()
366 clear_page(sccb); in __sclp_make_read_req()
372 sclp_read_req.sccb = sccb; in __sclp_make_read_req()
373 sccb->length = PAGE_SIZE; in __sclp_make_read_req()
374 sccb->function_code = 0; in __sclp_make_read_req()
375 sccb->control_mask[2] = 0x80; in __sclp_make_read_req()
381 __sclp_find_req(u32 sccb) in __sclp_find_req() argument
388 if (sccb == (u32) (addr_t) req->sccb) in __sclp_find_req()
632 sclp_remove_processed(struct sccb_header *sccb) in sclp_remove_processed() argument
638 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed()
640 remaining = sccb->length - sizeof(struct sccb_header); in sclp_remove_processed()
644 sccb->length -= evbuf->length; in sclp_remove_processed()
672 struct init_sccb *sccb; in __sclp_make_init_req() local
674 sccb = (struct init_sccb *) sclp_init_sccb; in __sclp_make_init_req()
675 clear_page(sccb); in __sclp_make_init_req()
682 sclp_init_req.sccb = sccb; in __sclp_make_init_req()
683 sccb->header.length = sizeof(struct init_sccb); in __sclp_make_init_req()
684 sccb->mask_length = sizeof(sccb_mask_t); in __sclp_make_init_req()
685 sccb->receive_mask = receive_mask; in __sclp_make_init_req()
686 sccb->send_mask = send_mask; in __sclp_make_init_req()
687 sccb->sclp_receive_mask = 0; in __sclp_make_init_req()
688 sccb->sclp_send_mask = 0; in __sclp_make_init_req()
698 struct init_sccb *sccb = (struct init_sccb *) sclp_init_sccb; in sclp_init_mask() local
741 sccb->header.response_code == 0x20) { in sclp_init_mask()
744 sclp_receive_mask = sccb->sclp_receive_mask; in sclp_init_mask()
745 sclp_send_mask = sccb->sclp_send_mask; in sclp_init_mask()
863 struct init_sccb *sccb; in sclp_check_interface() local
877 sccb = (struct init_sccb *) sclp_init_req.sccb; in sclp_check_interface()
878 rc = sclp_service_call(sclp_init_req.command, sccb); in sclp_check_interface()
897 sccb->header.response_code == 0x20) { in sclp_check_interface()