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