Lines Matching refs:to

4 Your guide to the ancient and twisted locking policies of the tty layer and
13 discipline must be ready to use and it is possible it will get used before
16 and writing over an existing ldisc will cause demons to eat your computer.
22 In order to remove a line discipline call tty_unregister_ldisc().
32 about to enter and exit although this detail matters not).
39 open() - Called when the line discipline is attached to
44 in the tty_struct to the maximum amount of data
45 the line discipline is willing to accept from the
46 driver with a single call to receive_buf().
56 The line discipline should cease I/O to the tty.
66 write() - (optional) A process requests writing data to the
73 to empty its input buffer.
81 termios semaphore so allowed to sleep. Serialized
88 ioctl() - (optional) Called when an ioctl is handed to the
93 to the tty layer that might be for the ldisc.
99 receive_buf() - (optional) Called by the low-level driver to hand
100 a buffer of received bytes to the ldisc for
102 to exceed the current value of tty->receive_room.
105 receive_buf2() - (optional) Called by the low-level driver to hand
106 a buffer of received bytes to the ldisc for
115 ldisc must be careful about setting order and to
120 is permitted to call the driver write method from
123 dcd_change() - Report to the tty line the current DCD pin status
134 write() Write a block of characters to the tty device.
136 character buffer passed to this method is already
139 put_char() Queues a character for writing to the tty device.
144 queueing characters with put_char() in order to
148 will accept for queueing to be written.
151 Expects data pointers to refer to userspace.
162 bits in the request it cannot fulfill to indicate
168 line discipline are close to full, and it should
170 sent to the tty.
173 sent to the tty without fear of overrunning the
176 stop() Ask the tty driver to stop outputting characters
177 to the tty device.
179 start() Ask the tty driver to resume sending characters
180 to the tty device.
182 hangup() Ask the tty driver to hang up the tty device.
184 break_ctl() (Optional) Ask the tty driver to turn on or off
194 send_xchar() Send a high-priority XON/XOFF character to the device.
199 Line discipline methods have access to tty->flags field containing the
203 tty->driver->unthrottle() in order to resume
204 reception when it is ready to process more data.
206 TTY_DO_WRITE_WAKEUP If set, causes the driver to call the ldisc's
207 write_wakeup() method in order to resume
209 to transmit.
212 calls on the tty to fail, returning -EIO.
222 Callers to the line discipline functions from the tty layer are required to
230 takes a handle to the line discipline in the tty and returns it. If no ldisc
237 Returns the ldisc reference and allows the ldisc to be closed. Returning the
238 reference takes away your right to call the ldisc functions until you take
244 ldisc change to complete and then return a reference to the new ldisc.
248 need to take a reference when they push bits up through the driver.
265 write() - Called to write bytes to the device. May not
271 driver is guaranteed following up calls to
274 flush_chars() - Ask the kernel to write put_char queue
290 throttle() - Called by the ldisc to ask the driver to do flow
294 unthrottle() - Called by the ldisc to ask the driver to stop flow
297 stop() - Ldisc notifier to the driver to stop output. As with
299 to the ldisc layer.
301 start() - Ldisc notifier to the driver to start output.
303 hangup() - Ask the tty driver to cause a hangup initiated
310 wait_until_sent() - Wait for characters to exit the hardware queue
314 it in order to get fast flow control responses.