Lines Matching refs:to
4 Your guide to the ancient and twisted locking policies of the tty layer and
7 FIXME: still need to work out the full set of BKL assumptions and document
16 discipline must be ready to use and it is possible it will get used before
19 and writing over an existing ldisc will cause demons to eat your computer.
25 In order to remove a line discipline call tty_unregister_ldisc().
35 about to enter and exit although this detail matters not).
42 open() - Called when the line discipline is attached to
54 The line discipline should cease I/O to the tty.
64 to empty its input buffer.
72 termios semaphore so allowed to sleep. Serialized
75 read() - Move data from the line discipline to the user.
83 ioctl() - Called when an ioctl is handed to the tty layer
87 compat_ioctl() - Called when a 32 bit ioctl is handed to the tty layer
93 receive_buf() - Hand buffers of bytes from the driver to the ldisc
100 ldisc must be careful about setting order and to
105 is permitted to call the driver write method from
108 dcd_change() - Report to the tty line the current DCD pin status
119 write() Write a block of characters to the tty device.
121 character buffer passed to this method is already
124 put_char() Queues a character for writing to the tty device.
129 queueing characters with put_char() in order to
133 will accept for queueing to be written.
136 Expects data pointers to refer to userspace.
147 bits in the request it cannot fulfill to indicate
153 line discipline are close to full, and it should
155 sent to the tty.
158 sent to the tty without fear of overrunning the
161 stop() Ask the tty driver to stop outputting characters
162 to the tty device.
164 start() Ask the tty driver to resume sending characters
165 to the tty device.
167 hangup() Ask the tty driver to hang up the tty device.
169 break_ctl() (Optional) Ask the tty driver to turn on or off
179 send_xchar() Send a high-priority XON/XOFF character to the device.
184 Line discipline methods have access to tty->flags field containing the
188 tty->driver->unthrottle() in order to resume
189 reception when it is ready to process more data.
191 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
192 write_wakeup() method in order to resume
194 to transmit.
197 calls on the tty to fail, returning -EIO.
207 Callers to the line discipline functions from the tty layer are required to
215 takes a handle to the line discipline in the tty and returns it. If no ldisc
222 Returns the ldisc reference and allows the ldisc to be closed. Returning the
223 reference takes away your right to call the ldisc functions until you take
229 ldisc change to complete and then return a reference to the new ldisc.
233 need to take a reference when they push bits up through the driver.
250 write() - Called to write bytes to the device. May not
256 driver is guaranteed following up calls to
259 flush_chars() - Ask the kernel to write put_char queue
275 throttle() - Called by the ldisc to ask the driver to do flow
279 unthrottle() - Called by the ldisc to ask the driver to stop flow
282 stop() - Ldisc notifier to the driver to stop output. As with
284 to the ldisc layer.
286 start() - Ldisc notifier to the driver to start output.
288 hangup() - Ask the tty driver to cause a hangup initiated
295 wait_until_sent() - Wait for characters to exit the hardware queue
299 it in order to get fast flow control responses.