• Home
  • Raw
  • Download

Lines Matching +full:max +full:- +full:bits +full:- +full:per +full:- +full:word

3 			--------------------
15 --------------------------------
25 ---------------
38 -------
41 necessary locking using port->lock. There are some exceptions (which
44 There are two locks. A per-port spinlock, and an overall semaphore.
46 From the core driver perspective, the port->lock locks the following
49 port->mctrl
50 port->icount
51 port->state->xmit.head (circ_buf->head)
52 port->state->xmit.tail (circ_buf->tail)
64 --------
83 by 'port' to the state described by mctrl. The relevant bits
85 - TIOCM_RTS RTS signal.
86 - TIOCM_DTR DTR signal.
87 - TIOCM_OUT1 OUT1 signal.
88 - TIOCM_OUT2 OUT2 signal.
89 - TIOCM_LOOP Set the port into loopback mode.
94 Locking: port->lock taken.
102 - TIOCM_CAR state of DCD signal
103 - TIOCM_CTS state of CTS signal
104 - TIOCM_DSR state of DSR signal
105 - TIOCM_RI state of RI signal
111 Locking: port->lock taken.
123 Locking: port->lock taken.
130 Locking: port->lock taken.
168 Locking: port->lock taken.
179 Locking: port->lock taken.
189 Locking: caller holds tty_port->mutex
207 Drivers must not access port->state once this call has completed.
219 This will be called whenever the port->state->xmit circular
222 Locking: port->lock taken.
227 Change the port parameters, including word length, parity, stop
228 bits. Update read_status_mask and ignore_status_mask to indicate
230 termios->c_cflag bits are:
231 CSIZE - word size
232 CSTOPB - 2 stop bits
233 PARENB - parity enable
234 PARODD - odd parity (when PARENB is in force)
235 CREAD - enable reception of characters (if not set,
238 CRTSCTS - if set, enable CTS status change reporting
239 CLOCAL - if not set, enable modem status change
241 Relevant termios->c_iflag bits are:
242 INPCK - enable frame and parity error events to be
245 PARMRK - both of these enable break events to be
248 IGNPAR - ignore parity and framing errors
249 IGNBRK - ignore break errors, If IGNPAR is also
251 The interaction of the iflag bits is as follows (parity error
265 Locking: caller holds tty_port->mutex
272 Locking: caller holds tty_port->mutex
306 returns, and it should return -EBUSY on failure.
315 port->type should be set to the type found, or PORT_UNKNOWN if
342 to support poll_put_char() and poll_get_char(). Unlike ->startup()
345 Locking: tty_mutex and tty_port->mutex taken.
366 ---------------
369 Update the FIFO drain timeout, port->timeout, according to the
370 number of bits, parity, stop bits and baud rate.
372 Locking: caller is expected to take port->lock
375 uart_get_baud_rate(port,termios,old,min,max)
380 If the baud rate is not within min..max, then if old is non-NULL,
382 min..max constraint, 9600 baud will be returned. termios will
385 Note: min..max must always allow 9600 baud to be selected.
411 Locking: port->lock should be held.
416 with the tty layer, and initialise the core driver per-port state.
418 drv->port should be NULL, and the per-port structures should be
441 -----------
455 ----------------------------
460 This will get the {cts,rts,...}-gpios from device tree if they are