Lines Matching defs:uart_softc

73 struct uart_softc {  struct
75 struct uart_class *sc_class;
76 struct uart_bas sc_bas;
77 device_t sc_dev;
79 struct mtx sc_hwmtx_s; /* Spinlock protecting hardware. */
80 struct mtx *sc_hwmtx;
82 struct resource *sc_rres; /* Register resource. */
83 int sc_rrid;
84 int sc_rtype; /* SYS_RES_{IOPORT|MEMORY}. */
85 struct resource *sc_ires; /* Interrupt resource. */
86 void *sc_icookie;
87 int sc_irid;
88 struct callout sc_timer;
90 bool sc_callout:1; /* This UART is opened for callout. */
91 bool sc_fastintr:1; /* This UART uses fast interrupts. */
92 bool sc_hwiflow:1; /* This UART has HW input flow ctl. */
93 bool sc_hwoflow:1; /* This UART has HW output flow ctl. */
94 bool sc_leaving:1; /* This UART is going away. */
95 bool sc_opened:1; /* This UART is open for business. */
96 bool sc_polled:1; /* This UART has no interrupts. */
97 bool sc_txbusy:1; /* This UART is transmitting. */
98 bool sc_isquelch:1; /* This UART has input squelched. */
99 bool sc_testintr:1; /* This UART is under int. testing. */
101 struct uart_devinfo *sc_sysdev; /* System device (or NULL). */
103 int sc_altbrk; /* State for alt break sequence. */
104 uint32_t sc_hwsig; /* Signal state. Used by HW driver. */
107 uint16_t *sc_rxbuf;
108 int sc_rxbufsz;
109 int sc_rxput;
110 int sc_rxget;
111 int sc_rxfifosz; /* Size of RX FIFO. */
112 int sc_rxoverruns;
115 uint8_t *sc_txbuf;
116 int sc_txdatasz;
117 int sc_txfifosz; /* Size of TX FIFO and buffer. */
120 struct pps_state sc_pps;
121 int sc_pps_mode;
122 sbintime_t sc_pps_captime;
148 void uart_sched_softih(struct uart_softc *, uint32_t); argument