Lines Matching refs:condev
64 static struct con3270 *condev;
497 cp = condev;
544 cp = condev;
614 condev = kzalloc(sizeof(struct con3270), GFP_KERNEL | GFP_DMA);
615 if (!condev)
617 condev->view.dev = rp;
619 condev->read = raw3270_request_alloc(0);
620 condev->read->callback = con3270_read_callback;
621 condev->read->callback_data = condev;
622 condev->write = raw3270_request_alloc(CON3270_OUTPUT_BUFFER_SIZE);
623 condev->kreset = raw3270_request_alloc(1);
625 INIT_LIST_HEAD(&condev->lines);
626 INIT_LIST_HEAD(&condev->update);
627 timer_setup(&condev->timer, con3270_update, 0);
628 tasklet_init(&condev->readlet,
630 (unsigned long) condev->read);
632 raw3270_add_view(&condev->view, &con3270_fn, 1, RAW3270_VIEW_LOCK_IRQ);
634 INIT_LIST_HEAD(&condev->freemem);
637 add_string_memory(&condev->freemem, cbuf, PAGE_SIZE);
639 condev->cline = alloc_string(&condev->freemem, condev->view.cols);
640 condev->cline->len = 0;
641 con3270_create_status(condev);
642 condev->input = alloc_string(&condev->freemem, 80);