Lines Matching refs:view
33 struct raw3270_view view;
38 int active; /* Fullscreen view is active. */
57 * The fullscreen view is in working order if the view
64 fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq)
69 fp = (struct fs3270 *) view;
75 /* Fullscreen view isn't ready yet. */
81 rc = raw3270_start(view, rq);
91 * Switch to the fullscreen view.
98 fp = (struct fs3270 *) rq->view;
108 fp = (struct fs3270 *) rq->view;
119 fs3270_activate(struct raw3270_view *view)
125 fp = (struct fs3270 *) view;
152 rc = fp->init->rc = raw3270_start_locked(view, fp->init);
161 * Shutdown fullscreen view.
168 fp = (struct fs3270 *) rq->view;
191 fs3270_deactivate(struct raw3270_view *view)
195 fp = (struct fs3270 *) view;
216 fp->init->rc = raw3270_start_locked(view, fp->init);
267 rc = fs3270_do_io(&fp->view, rq);
310 rc = fs3270_do_io(&fp->view, rq);
356 iocb.model = fp->view.model;
357 iocb.line_cnt = fp->view.rows;
358 iocb.col_cnt = fp->view.cols;
393 fs3270_free_view(struct raw3270_view *view)
397 fp = (struct fs3270 *) view;
400 raw3270_request_free(((struct fs3270 *) view)->init);
401 kfree(view);
408 fs3270_release(struct raw3270_view *view)
412 fp = (struct fs3270 *) view;
453 raw3270_put_view(&fp->view);
457 /* Allocate fullscreen view structure. */
466 rc = raw3270_add_view(&fp->view, &fs3270_fn, minor,
469 fs3270_free_view(&fp->view);
474 ib = idal_buffer_alloc(2*fp->view.rows*fp->view.cols + 5, 0);
476 raw3270_put_view(&fp->view);
477 raw3270_del_view(&fp->view);
483 rc = raw3270_activate_view(&fp->view);
485 raw3270_put_view(&fp->view);
486 raw3270_del_view(&fp->view);
510 raw3270_reset(&fp->view);
511 raw3270_put_view(&fp->view);
512 raw3270_del_view(&fp->view);