Lines Matching +full:uart +full:- +full:state

1 #-
33 #include <dev/uart/uart.h>
34 #include <dev/uart/uart_bus.h>
36 # The UART hardware interface. The core UART code is hardware independent.
37 # The details of the hardware are abstracted by the UART hardware interface.
39 INTERFACE uart;
52 # attach() - attach hardware.
55 # high-level (ie tty) initialization has been done yet.
61 # detach() - detach hardware.
63 # is the first action performed, so even the high-level (ie tty) interface
70 # flush() - flush FIFOs.
78 # getsig() - get line and modem signals.
82 # by the hardware driver are cleared as a side-effect. A second call to
89 # ioctl() - get or set miscellaneous parameters.
92 # used for example to set HW or SW flow-control.
99 # ipend() - query UART for pending interrupts.
103 # interrupt sources. An advantage of this approach is that it allows multi-
112 # param() - set communication parameters.
122 # probe() - detect hardware.
130 # receive() - move data from the receive FIFO to the receive buffer.
137 # setsig() - set line and modem signals.
147 # transmit() - move data from the transmit buffer to the transmit FIFO.
148 # This method is responsible for writing the Tx buffer to the UART and
155 # txbusy() - report if Tx is still busy.
157 # still being drained despite sc_txbusy unset. Non-DEFAULT implementations
165 # grab() - Up call from the console to the upper layers of the driver when
168 # from an interrupt driven state to a polled state that works with the
169 # low-level console interface defined for this device. The kernel
176 # ungrab() - Undoes the effects of grab().