Lines Matching refs:sccb

128 		page = request->sclp_req.sccb;  in sclp_vt220_process_queue()
160 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local
167 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback()
170 switch (sccb->header.response_code) { in sclp_vt220_callback()
181 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback()
183 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
193 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
228 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local
232 sccb = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current()
233 sclp_vt220_current_request->sclp_req.sccb; in sclp_vt220_emit_current()
235 if (sccb->header.length != sizeof(struct sclp_vt220_sccb)) { in sclp_vt220_emit_current()
269 struct sclp_vt220_sccb *sccb; in sclp_vt220_initialize_page() local
275 request->sclp_req.sccb = page; in sclp_vt220_initialize_page()
277 sccb = (struct sclp_vt220_sccb *) page; in sclp_vt220_initialize_page()
278 memset((void *) sccb, 0, sizeof(struct sclp_vt220_sccb)); in sclp_vt220_initialize_page()
279 sccb->header.length = sizeof(struct sclp_vt220_sccb); in sclp_vt220_initialize_page()
280 sccb->header.function_code = SCLP_NORMAL_WRITE; in sclp_vt220_initialize_page()
281 sccb->header.response_code = 0x0000; in sclp_vt220_initialize_page()
282 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page()
283 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page()
291 struct sclp_vt220_sccb *sccb; in sclp_vt220_space_left() local
292 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_space_left()
294 sccb->header.length; in sclp_vt220_space_left()
300 struct sclp_vt220_sccb *sccb; in sclp_vt220_chars_stored() local
301 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_chars_stored()
302 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored()
313 struct sclp_vt220_sccb *sccb; in sclp_vt220_add_msg() local
324 sccb = (struct sclp_vt220_sccb *) request->sclp_req.sccb; in sclp_vt220_add_msg()
325 buffer = (void *) ((addr_t) sccb + sccb->header.length); in sclp_vt220_add_msg()
345 sccb->header.length += to; in sclp_vt220_add_msg()
346 sccb->evbuf.length += to; in sclp_vt220_add_msg()
350 sccb->header.length += count; in sclp_vt220_add_msg()
351 sccb->evbuf.length += count; in sclp_vt220_add_msg()
387 page = request->sclp_req.sccb; in sclp_vt220_drop_buffer()