Lines Matching defs:imxuart_softc
38 struct imxuart_softc { struct
39 device_t sc_dev;
41 int sc_unit;
42 struct imxuart_regs {
50 } sc_regs;
55 uint32_t sc_intrspec_enb;
56 uint32_t sc_ucr2_d; /* target value for UCR2 */
57 uint32_t sc_ucr[4]; /* cached value of UCRn */
63 uint sc_init_cnt;
65 bus_addr_t sc_addr;
66 bus_size_t sc_size;
67 int sc_intr;
69 u_char sc_hwflags;
76 bool enabled;
78 u_char sc_swflags;
80 u_char sc_rx_flags;
89 bool sc_tx_busy, sc_tx_done, sc_tx_stopped;
90 bool sc_rx_ready,sc_st_check;
91 u_short sc_txfifo_len, sc_txfifo_thresh;
93 uint16_t *sc_rbuf;
94 u_int sc_rbuf_size;
95 u_int sc_rbuf_in;
96 u_int sc_rbuf_out;
128 int (*enable)(struct imxuart_softc *); argument
129 void (*disable)(struct imxuart_softc *); argument
131 struct {
137 } sc_errors;
139 struct imxuart_baudrate_ratio {
165 void imxuart_attach_subr(struct imxuart_softc *); argument