Lines Matching +full:rts +full:- +full:gpios
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 --------
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
194 RTS nor DTR; this will be done via a separate call to set_mctrl.
204 RTS nor DTR; this will have already been done via a separate
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.
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
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
372 Locking: caller is expected to take port->lock
380 If the baud rate is not within min..max, then if old is non-NULL,
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
467 mctrl_gpio_free(dev, gpios):
468 This will free the requested gpios in mctrl_gpio_init().
472 mctrl_gpio_to_gpiod(gpios, gidx)
476 mctrl_gpio_set(gpios, mctrl):
477 This will sets the gpios according to the mctrl state.
479 mctrl_gpio_get(gpios, mctrl):
480 This will update mctrl with the gpios values.
482 mctrl_gpio_enable_ms(gpios):
485 mctrl_gpio_disable_ms(gpios):