Lines Matching refs:fn
363 rc = view->fn->intv(view, rq, irb); in raw3270_irq()
553 if (view->fn->resize) in raw3270_size_device_done()
554 view->fn->resize(view, rp->model, rp->rows, rp->cols); in raw3270_size_device_done()
558 if (view->fn->activate(view) == 0) in raw3270_size_device_done()
743 rp->init_view.fn = &raw3270_init_fn; in raw3270_setup_device()
871 if (rp->view && rp->view->fn->deactivate) { in raw3270_activate_view()
873 oldview->fn->deactivate(oldview); in raw3270_activate_view()
876 rc = view->fn->activate(view); in raw3270_activate_view()
880 if (!oldview || oldview->fn->activate(oldview) != 0) { in raw3270_activate_view()
885 if (nv->fn->activate(nv) == 0) in raw3270_activate_view()
910 view->fn->deactivate(view); in raw3270_deactivate_view()
920 if (view->fn->activate(view) == 0) in raw3270_deactivate_view()
933 raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor) in raw3270_add_view() argument
949 view->fn = fn; in raw3270_add_view()
968 raw3270_find_view(struct raw3270_fn *fn, int minor) in raw3270_find_view() argument
981 if (tmp->fn == fn) { in raw3270_find_view()
1007 view->fn->deactivate(view); in raw3270_del_view()
1015 if (nv->fn->activate(nv) == 0) { in raw3270_del_view()
1025 if (view->fn->free) in raw3270_del_view()
1026 view->fn->free(view); in raw3270_del_view()
1187 if (rp->view->fn->deactivate) in raw3270_remove()
1188 rp->view->fn->deactivate(rp->view); in raw3270_remove()
1193 if (v->fn->release) in raw3270_remove()
1194 v->fn->release(v); in raw3270_remove()
1237 if (rp->view && rp->view->fn->deactivate) in raw3270_pm_stop()
1238 rp->view->fn->deactivate(rp->view); in raw3270_pm_stop()
1245 if (view->fn->release) in raw3270_pm_stop()
1246 view->fn->release(view); in raw3270_pm_stop()
1264 if (rp->view && rp->view->fn->activate) in raw3270_pm_start()
1265 rp->view->fn->activate(rp->view); in raw3270_pm_start()