Searched refs:ldisc (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/pps/clients/
H A DMakefile7 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
/linux-master/drivers/tty/
H A Dtty_ldisc.c42 * callers who will do ldisc lookups and cannot sleep.
51 * @new_ldisc: pointer to the ldisc object
56 * Locking: takes %tty_ldiscs_lock to guard against ldisc races
75 * @ldisc: ldisc number
80 * Locking: takes %tty_ldiscs_lock to guard against ldisc races
83 void tty_unregister_ldisc(struct tty_ldisc_ops *ldisc) argument
88 tty_ldiscs[ldisc->num] = NULL;
122 * tty_ldisc_get - take a reference to an ldisc
124 * @disc: ldisc numbe
[all...]
H A Dtty_ioctl.c898 /* Caller guarantees ldisc reference is held */
901 struct tty_ldisc *ld = tty->ldisc;
H A Dtty_io.c655 * We don't want to have driver/ldisc interactions beyond the ones
657 * from the ldisc side, which is now guaranteed.
840 * Iterate on the ldisc ->read() function until we've gotten all
841 * the data the ldisc has for us.
843 * The "cookie" is something that the ldisc read function can fill
846 * We promise to continue to call the ldisc until it stops returning
848 * ldisc maintains state for and needs to free.
888 * call if we had a cookie to let the ldisc clear up.
1365 if (!tty->ldisc)
1442 * Structures all installed ... call the ldisc ope
[all...]
/linux-master/include/linux/
H A Dtty_ldisc.h59 * struct tty_ldisc_ops - ldisc operations
61 * @name: name of this ldisc rendered in /proc/tty/ldiscs
62 * @num: ``N_*`` number (%N_TTY, %N_HDLC, ...) reserved to this ldisc
69 * by the ldisc, and set @tty->receive_room to the maximum amount of data
71 * call to @receive_buf(). Returning an error will prevent the ldisc from
81 * further users will enter the ldisc code for this tty.
99 * an %EIO error. Multiple read calls may occur in parallel and the ldisc
160 * calls into the ldisc code will occur.
221 * @owner: module containting this ldisc (for reference counting)
274 #define MODULE_ALIAS_LDISC(ldisc) \
[all...]
H A Dtty.h130 * @ldisc_sem: protects line discipline changes (@ldisc) -- lock tty not pty
131 * @ldisc: the current line discipline for this tty (n_tty by default)
167 * @receive_room: bytes permitted to feed to @ldisc without any being lost
177 * @disc_data: pointer to @ldisc's private data (e.g. to &struct n_tty_data)
200 struct tty_ldisc *ldisc; member in struct:tty_struct
270 * Driver input is throttled. The ldisc should call
276 * fail, returning -%EIO. (May be no ldisc too.)
311 * this ldisc.

Completed in 235 milliseconds