Lines Matching refs:pps_ldisc_ops
96 static struct tty_ldisc_ops pps_ldisc_ops; variable
107 n_tty_inherit_ops(&pps_ldisc_ops); in pps_tty_init()
110 alias_n_tty_open = pps_ldisc_ops.open; in pps_tty_init()
111 alias_n_tty_close = pps_ldisc_ops.close; in pps_tty_init()
114 pps_ldisc_ops.owner = THIS_MODULE; in pps_tty_init()
115 pps_ldisc_ops.num = N_PPS; in pps_tty_init()
116 pps_ldisc_ops.name = "pps_tty"; in pps_tty_init()
117 pps_ldisc_ops.dcd_change = pps_tty_dcd_change; in pps_tty_init()
118 pps_ldisc_ops.open = pps_tty_open; in pps_tty_init()
119 pps_ldisc_ops.close = pps_tty_close; in pps_tty_init()
121 err = tty_register_ldisc(&pps_ldisc_ops); in pps_tty_init()
132 tty_unregister_ldisc(&pps_ldisc_ops); in pps_tty_cleanup()