Lines Matching full:sccb

49 /* VT220 SCCB */
123 page = request->sclp_req.sccb; in sclp_vt220_process_queue()
155 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local
162 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback()
165 switch (sccb->header.response_code) { in sclp_vt220_callback()
176 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback()
178 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
188 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
223 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local
227 sccb = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current()
228 sclp_vt220_current_request->sclp_req.sccb; in sclp_vt220_emit_current()
230 if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) { in sclp_vt220_emit_current()
263 struct sclp_vt220_sccb *sccb; in sclp_vt220_initialize_page() local
269 request->sclp_req.sccb = page; in sclp_vt220_initialize_page()
270 /* SCCB goes at start of page */ in sclp_vt220_initialize_page()
271 sccb = (struct sclp_vt220_sccb *) page; in sclp_vt220_initialize_page()
272 memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb)); in sclp_vt220_initialize_page()
273 sccb->header.length = sizeof(struct sclp_vt220_sccb); in sclp_vt220_initialize_page()
274 sccb->header.function_code = SCLP_NORMAL_WRITE; in sclp_vt220_initialize_page()
275 sccb->header.response_code = 0x0000; in sclp_vt220_initialize_page()
276 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page()
277 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page()
285 struct sclp_vt220_sccb *sccb; in sclp_vt220_space_left() local
286 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_space_left()
288 sccb->header.length; in sclp_vt220_space_left()
294 struct sclp_vt220_sccb *sccb; in sclp_vt220_chars_stored() local
295 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_chars_stored()
296 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored()
307 struct sclp_vt220_sccb *sccb; in sclp_vt220_add_msg() local
318 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_add_msg()
319 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg()
339 sccb->header.length += to; in sclp_vt220_add_msg()
340 sccb->evbuf.length += to; in sclp_vt220_add_msg()
344 sccb->header.length += count; in sclp_vt220_add_msg()
345 sccb->evbuf.length += count; in sclp_vt220_add_msg()
381 page = request->sclp_req.sccb; in sclp_vt220_drop_buffer()