Lines Matching refs:sccb

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()
238 if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) { in sclp_vt220_emit_current()
272 struct sclp_vt220_sccb *sccb; in sclp_vt220_initialize_page() local
278 request->sclp_req.sccb = page; in sclp_vt220_initialize_page()
280 sccb = (struct sclp_vt220_sccb *) page; in sclp_vt220_initialize_page()
281 memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb)); in sclp_vt220_initialize_page()
282 sccb->header.length = sizeof(struct sclp_vt220_sccb); in sclp_vt220_initialize_page()
283 sccb->header.function_code = SCLP_NORMAL_WRITE; in sclp_vt220_initialize_page()
284 sccb->header.response_code = 0x0000; in sclp_vt220_initialize_page()
285 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page()
286 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page()
294 struct sclp_vt220_sccb *sccb; in sclp_vt220_space_left() local
295 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_space_left()
297 sccb->header.length; in sclp_vt220_space_left()
303 struct sclp_vt220_sccb *sccb; in sclp_vt220_chars_stored() local
304 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_chars_stored()
305 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored()
316 struct sclp_vt220_sccb *sccb; in sclp_vt220_add_msg() local
327 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_add_msg()
328 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg()
348 sccb->header.length += to; in sclp_vt220_add_msg()
349 sccb->evbuf.length += to; in sclp_vt220_add_msg()
353 sccb->header.length += count; in sclp_vt220_add_msg()
354 sccb->evbuf.length += count; in sclp_vt220_add_msg()