Lines Matching refs:st_ldisc_ops
919 static struct tty_ldisc_ops *st_ldisc_ops;
922 st_ldisc_ops = kzalloc(sizeof(*st_ldisc_ops), GFP_KERNEL);
923 if (!st_ldisc_ops) {
928 st_ldisc_ops->magic = TTY_LDISC_MAGIC;
929 st_ldisc_ops->name = "n_st"; /*"n_hci"; */
930 st_ldisc_ops->open = st_tty_open;
931 st_ldisc_ops->close = st_tty_close;
932 st_ldisc_ops->receive_buf = st_tty_receive;
933 st_ldisc_ops->write_wakeup = st_tty_wakeup;
934 st_ldisc_ops->flush_buffer = st_tty_flush_buffer;
935 st_ldisc_ops->owner = THIS_MODULE;
937 err = tty_register_ldisc(N_TI_WL, st_ldisc_ops);
941 kfree(st_ldisc_ops);
952 kfree(st_ldisc_ops);
967 st_gdata->ldisc_ops = st_ldisc_ops;
977 kfree(st_ldisc_ops);