Lines Matching defs:view

22 	struct raw3270_view *view;	/* view of this request */
51 * Functions of a 3270 view.
56 void (*intv)(struct raw3270_view *view,
58 void (*release)(struct raw3270_view *view);
59 void (*free)(struct raw3270_view *view);
60 void (*resize)(struct raw3270_view *view,
67 * be embedded at the start of the real view data structure, e.g.:
69 * struct raw3270_view view;
75 spinlock_t lock; /* protects members of view */
82 unsigned int rows, cols; /* # of rows & colums of the view */
86 int raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor, int subclass);
87 int raw3270_view_lock_unavailable(struct raw3270_view *view);
88 int raw3270_activate_view(struct raw3270_view *view);
89 void raw3270_del_view(struct raw3270_view *view);
90 void raw3270_deactivate_view(struct raw3270_view *view);
92 int raw3270_start(struct raw3270_view *view, struct raw3270_request *rq);
93 int raw3270_start_locked(struct raw3270_view *view, struct raw3270_request *rq);
94 int raw3270_start_irq(struct raw3270_view *view, struct raw3270_request *rq);
95 int raw3270_reset(struct raw3270_view *view);
96 struct raw3270_view *raw3270_view(struct raw3270_view *view);
97 int raw3270_view_active(struct raw3270_view *view);
98 int raw3270_start_request(struct raw3270_view *view, struct raw3270_request *rq,
102 /* Reference count inliner for view structures. */
104 raw3270_get_view(struct raw3270_view *view)
106 atomic_inc(&view->ref_count);
112 raw3270_put_view(struct raw3270_view *view)
114 if (atomic_dec_return(&view->ref_count) == 0)