Home
last modified time | relevance | path

Searched refs:uart_softc (Results 1 – 25 of 57) sorted by relevance

123

/trueos/sys/dev/uart/
HDuart_dev_ns8250.h36 struct uart_softc base;
48 int ns8250_bus_attach(struct uart_softc *);
49 int ns8250_bus_detach(struct uart_softc *);
50 int ns8250_bus_flush(struct uart_softc *, int);
51 int ns8250_bus_getsig(struct uart_softc *);
52 int ns8250_bus_ioctl(struct uart_softc *, int, intptr_t);
53 int ns8250_bus_ipend(struct uart_softc *);
54 int ns8250_bus_param(struct uart_softc *, int, int, int, int);
55 int ns8250_bus_probe(struct uart_softc *);
56 int ns8250_bus_receive(struct uart_softc *);
[all …]
HDuart_dev_pl011.c229 struct uart_softc base;
238 static int uart_pl011_bus_attach(struct uart_softc *);
239 static int uart_pl011_bus_detach(struct uart_softc *);
240 static int uart_pl011_bus_flush(struct uart_softc *, int);
241 static int uart_pl011_bus_getsig(struct uart_softc *);
242 static int uart_pl011_bus_ioctl(struct uart_softc *, int, intptr_t);
243 static int uart_pl011_bus_ipend(struct uart_softc *);
244 static int uart_pl011_bus_param(struct uart_softc *, int, int, int, int);
245 static int uart_pl011_bus_probe(struct uart_softc *);
246 static int uart_pl011_bus_receive(struct uart_softc *);
[all …]
HDuart_dev_msm.c291 struct uart_softc base;
295 static int msm_bus_probe(struct uart_softc *sc);
296 static int msm_bus_attach(struct uart_softc *sc);
297 static int msm_bus_flush(struct uart_softc *, int);
298 static int msm_bus_getsig(struct uart_softc *);
299 static int msm_bus_ioctl(struct uart_softc *, int, intptr_t);
300 static int msm_bus_ipend(struct uart_softc *);
301 static int msm_bus_param(struct uart_softc *, int, int, int, int);
302 static int msm_bus_receive(struct uart_softc *);
303 static int msm_bus_setsig(struct uart_softc *, int);
[all …]
HDuart_dev_quicc.c234 struct uart_softc base;
237 static int quicc_bus_attach(struct uart_softc *);
238 static int quicc_bus_detach(struct uart_softc *);
239 static int quicc_bus_flush(struct uart_softc *, int);
240 static int quicc_bus_getsig(struct uart_softc *);
241 static int quicc_bus_ioctl(struct uart_softc *, int, intptr_t);
242 static int quicc_bus_ipend(struct uart_softc *);
243 static int quicc_bus_param(struct uart_softc *, int, int, int, int);
244 static int quicc_bus_probe(struct uart_softc *);
245 static int quicc_bus_receive(struct uart_softc *);
[all …]
HDuart_dev_imx.c261 struct uart_softc base;
264 static int imx_uart_bus_attach(struct uart_softc *);
265 static int imx_uart_bus_detach(struct uart_softc *);
266 static int imx_uart_bus_flush(struct uart_softc *, int);
267 static int imx_uart_bus_getsig(struct uart_softc *);
268 static int imx_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
269 static int imx_uart_bus_ipend(struct uart_softc *);
270 static int imx_uart_bus_param(struct uart_softc *, int, int, int, int);
271 static int imx_uart_bus_probe(struct uart_softc *);
272 static int imx_uart_bus_receive(struct uart_softc *);
[all …]
HDuart_bus.h75 struct uart_softc { struct
147 void uart_sched_softih(struct uart_softc *, uint32_t); argument
149 int uart_tty_attach(struct uart_softc *);
150 int uart_tty_detach(struct uart_softc *);
157 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty()
163 uart_rx_full(struct uart_softc *sc) in uart_rx_full()
170 uart_rx_get(struct uart_softc *sc) in uart_rx_get()
183 uart_rx_next(struct uart_softc *sc) in uart_rx_next()
196 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek()
205 uart_rx_put(struct uart_softc *sc, int xc) in uart_rx_put()
HDuart_dev_z8530.c268 struct uart_softc base;
273 static int z8530_bus_attach(struct uart_softc *);
274 static int z8530_bus_detach(struct uart_softc *);
275 static int z8530_bus_flush(struct uart_softc *, int);
276 static int z8530_bus_getsig(struct uart_softc *);
277 static int z8530_bus_ioctl(struct uart_softc *, int, intptr_t);
278 static int z8530_bus_ipend(struct uart_softc *);
279 static int z8530_bus_param(struct uart_softc *, int, int, int, int);
280 static int z8530_bus_probe(struct uart_softc *);
281 static int z8530_bus_receive(struct uart_softc *);
[all …]
HDuart_dev_sab82532.c354 struct uart_softc base;
357 static int sab82532_bus_attach(struct uart_softc *);
358 static int sab82532_bus_detach(struct uart_softc *);
359 static int sab82532_bus_flush(struct uart_softc *, int);
360 static int sab82532_bus_getsig(struct uart_softc *);
361 static int sab82532_bus_ioctl(struct uart_softc *, int, intptr_t);
362 static int sab82532_bus_ipend(struct uart_softc *);
363 static int sab82532_bus_param(struct uart_softc *, int, int, int, int);
364 static int sab82532_bus_probe(struct uart_softc *);
365 static int sab82532_bus_receive(struct uart_softc *);
[all …]
HDuart_dev_lpc.c385 struct uart_softc base;
394 static int lpc_ns8250_bus_attach(struct uart_softc *);
395 static int lpc_ns8250_bus_detach(struct uart_softc *);
396 static int lpc_ns8250_bus_flush(struct uart_softc *, int);
397 static int lpc_ns8250_bus_getsig(struct uart_softc *);
398 static int lpc_ns8250_bus_ioctl(struct uart_softc *, int, intptr_t);
399 static int lpc_ns8250_bus_ipend(struct uart_softc *);
400 static int lpc_ns8250_bus_param(struct uart_softc *, int, int, int, int);
401 static int lpc_ns8250_bus_probe(struct uart_softc *);
402 static int lpc_ns8250_bus_receive(struct uart_softc *);
[all …]
HDuart_tty.c143 struct uart_softc *sc; in uart_tty_open()
157 struct uart_softc *sc; in uart_tty_close()
178 struct uart_softc *sc; in uart_tty_outwakeup()
203 struct uart_softc *sc; in uart_tty_inwakeup()
220 struct uart_softc *sc; in uart_tty_ioctl()
239 struct uart_softc *sc; in uart_tty_param()
290 struct uart_softc *sc; in uart_tty_modem()
301 struct uart_softc *sc = arg; in uart_tty_intr()
377 uart_tty_attach(struct uart_softc *sc) in uart_tty_attach()
401 uart_tty_detach(struct uart_softc *sc) in uart_tty_detach()
HDuart_core.c96 uart_sched_softih(struct uart_softc *sc, uint32_t ipend) in uart_sched_softih()
121 struct uart_softc *sc = arg; in uart_intr_break()
152 struct uart_softc *sc = arg; in uart_intr_overrun()
170 struct uart_softc *sc = arg; in uart_intr_rxready()
201 struct uart_softc *sc = arg; in uart_intr_sigchg()
238 struct uart_softc *sc = arg; in uart_intr_txidle()
250 struct uart_softc *sc = arg; in uart_intr()
302 struct uart_softc *sc; in uart_bus_ipend()
311 struct uart_softc *sc; in uart_bus_sysdev()
320 struct uart_softc *sc; in uart_bus_probe()
[all …]
HDuart_if.m48 struct uart_softc *this;
57 struct uart_softc *this;
64 struct uart_softc *this;
76 struct uart_softc *this;
84 struct uart_softc *this;
99 struct uart_softc *this;
105 struct uart_softc *this;
117 struct uart_softc *this;
124 struct uart_softc *this;
133 struct uart_softc *this;
[all …]
/trueos/sys/mips/adm5120/
HDuart_dev_adm5120.c138 struct uart_softc base;
141 static int adm5120_uart_bus_attach(struct uart_softc *);
142 static int adm5120_uart_bus_detach(struct uart_softc *);
143 static int adm5120_uart_bus_flush(struct uart_softc *, int);
144 static int adm5120_uart_bus_getsig(struct uart_softc *);
145 static int adm5120_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
146 static int adm5120_uart_bus_ipend(struct uart_softc *);
147 static int adm5120_uart_bus_param(struct uart_softc *, int, int, int, int);
148 static int adm5120_uart_bus_probe(struct uart_softc *);
149 static int adm5120_uart_bus_receive(struct uart_softc *);
[all …]
/trueos/sys/arm/samsung/s3c2xx0/
HDuart_dev_s3c2410.c206 static int s3c2410_bus_probe(struct uart_softc *sc);
207 static int s3c2410_bus_attach(struct uart_softc *sc);
208 static int s3c2410_bus_flush(struct uart_softc *, int);
209 static int s3c2410_bus_getsig(struct uart_softc *);
210 static int s3c2410_bus_ioctl(struct uart_softc *, int, intptr_t);
211 static int s3c2410_bus_ipend(struct uart_softc *);
212 static int s3c2410_bus_param(struct uart_softc *, int, int, int, int);
213 static int s3c2410_bus_receive(struct uart_softc *);
214 static int s3c2410_bus_setsig(struct uart_softc *, int);
215 static int s3c2410_bus_transmit(struct uart_softc *);
[all …]
/trueos/sys/mips/rt305x/
HDuart_dev_rt305x.c184 struct uart_softc base;
187 static int rt305x_uart_bus_attach(struct uart_softc *);
188 static int rt305x_uart_bus_detach(struct uart_softc *);
189 static int rt305x_uart_bus_flush(struct uart_softc *, int);
190 static int rt305x_uart_bus_getsig(struct uart_softc *);
191 static int rt305x_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
192 static int rt305x_uart_bus_ipend(struct uart_softc *);
193 static int rt305x_uart_bus_param(struct uart_softc *, int, int, int, int);
194 static int rt305x_uart_bus_probe(struct uart_softc *);
195 static int rt305x_uart_bus_receive(struct uart_softc *);
[all …]
/trueos/sys/arm/freescale/vybrid/
HDvf_uart.c122 void uart_reinit(struct uart_softc *,int,int);
196 struct uart_softc base;
200 uart_reinit(struct uart_softc *sc, int clkspeed, int baud) in uart_reinit()
247 static int vf_uart_bus_attach(struct uart_softc *);
248 static int vf_uart_bus_detach(struct uart_softc *);
249 static int vf_uart_bus_flush(struct uart_softc *, int);
250 static int vf_uart_bus_getsig(struct uart_softc *);
251 static int vf_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
252 static int vf_uart_bus_ipend(struct uart_softc *);
253 static int vf_uart_bus_param(struct uart_softc *, int, int, int, int);
[all …]
/trueos/sys/arm/samsung/exynos/
HDexynos_uart.c209 static int exynos4210_bus_probe(struct uart_softc *sc);
210 static int exynos4210_bus_attach(struct uart_softc *sc);
211 static int exynos4210_bus_flush(struct uart_softc *, int);
212 static int exynos4210_bus_getsig(struct uart_softc *);
213 static int exynos4210_bus_ioctl(struct uart_softc *, int, intptr_t);
214 static int exynos4210_bus_ipend(struct uart_softc *);
215 static int exynos4210_bus_param(struct uart_softc *, int, int, int, int);
216 static int exynos4210_bus_receive(struct uart_softc *);
217 static int exynos4210_bus_setsig(struct uart_softc *, int);
218 static int exynos4210_bus_transmit(struct uart_softc *);
[all …]
/trueos/sys/mips/atheros/
HDuart_dev_ar933x.c312 struct uart_softc base;
317 static int ar933x_bus_attach(struct uart_softc *);
318 static int ar933x_bus_detach(struct uart_softc *);
319 static int ar933x_bus_flush(struct uart_softc *, int);
320 static int ar933x_bus_getsig(struct uart_softc *);
321 static int ar933x_bus_ioctl(struct uart_softc *, int, intptr_t);
322 static int ar933x_bus_ipend(struct uart_softc *);
323 static int ar933x_bus_param(struct uart_softc *, int, int, int, int);
324 static int ar933x_bus_probe(struct uart_softc *);
325 static int ar933x_bus_receive(struct uart_softc *);
[all …]
/trueos/sys/arm/xilinx/
HDuart_dev_cdnc.c392 static int cdnc_uart_bus_probe(struct uart_softc *sc);
393 static int cdnc_uart_bus_attach(struct uart_softc *sc);
394 static int cdnc_uart_bus_flush(struct uart_softc *, int);
395 static int cdnc_uart_bus_getsig(struct uart_softc *);
396 static int cdnc_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
397 static int cdnc_uart_bus_ipend(struct uart_softc *);
398 static int cdnc_uart_bus_param(struct uart_softc *, int, int, int, int);
399 static int cdnc_uart_bus_receive(struct uart_softc *);
400 static int cdnc_uart_bus_setsig(struct uart_softc *, int);
401 static int cdnc_uart_bus_transmit(struct uart_softc *);
[all …]
/trueos/sys/mips/cavium/
HDuart_dev_oct16550.c384 struct uart_softc base;
390 static int oct16550_bus_attach(struct uart_softc *);
391 static int oct16550_bus_detach(struct uart_softc *);
392 static int oct16550_bus_flush(struct uart_softc *, int);
393 static int oct16550_bus_getsig(struct uart_softc *);
394 static int oct16550_bus_ioctl(struct uart_softc *, int, intptr_t);
395 static int oct16550_bus_ipend(struct uart_softc *);
396 static int oct16550_bus_param(struct uart_softc *, int, int, int, int);
397 static int oct16550_bus_probe(struct uart_softc *);
398 static int oct16550_bus_receive(struct uart_softc *);
[all …]
/trueos/sys/arm/at91/
HDuart_dev_at91usart.c72 struct uart_softc base;
348 static int at91_usart_bus_probe(struct uart_softc *sc);
349 static int at91_usart_bus_attach(struct uart_softc *sc);
350 static int at91_usart_bus_flush(struct uart_softc *, int);
351 static int at91_usart_bus_getsig(struct uart_softc *);
352 static int at91_usart_bus_ioctl(struct uart_softc *, int, intptr_t);
353 static int at91_usart_bus_ipend(struct uart_softc *);
354 static int at91_usart_bus_param(struct uart_softc *, int, int, int, int);
355 static int at91_usart_bus_receive(struct uart_softc *);
356 static int at91_usart_bus_setsig(struct uart_softc *, int);
[all …]
/trueos/usr.sbin/bhyve/
HDuart_emul.c98 struct uart_softc { struct
168 rxfifo_reset(struct uart_softc *sc, int size) in rxfifo_reset()
199 rxfifo_available(struct uart_softc *sc) in rxfifo_available()
208 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar()
234 rxfifo_getchar(struct uart_softc *sc) in rxfifo_getchar()
259 rxfifo_numchars(struct uart_softc *sc) in rxfifo_numchars()
267 uart_opentty(struct uart_softc *sc) in uart_opentty()
284 uart_intr_reason(struct uart_softc *sc) in uart_intr_reason()
300 uart_reset(struct uart_softc *sc) in uart_reset()
316 uart_toggle_intr(struct uart_softc *sc) in uart_toggle_intr()
[all …]
HDuart_emul.h35 struct uart_softc;
38 struct uart_softc *uart_init(uart_intr_func_t intr_assert,
42 uint8_t uart_read(struct uart_softc *sc, int offset);
43 void uart_write(struct uart_softc *sc, int offset, uint8_t value);
44 int uart_set_backend(struct uart_softc *sc, const char *opt);
HDpci_lpc.c67 struct uart_softc *uart_softc; member
138 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler()
140 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
144 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler()
145 *eax |= uart_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler()
147 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
148 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler()
178 sc->uart_softc = uart_init(lpc_uart_intr_assert, in lpc_init()
181 if (uart_set_backend(sc->uart_softc, sc->opts) != 0) { in lpc_init()
/trueos/sys/sparc64/pci/
HDsbbc.c610 sizeof(struct uart_softc));
616 struct uart_softc *sc; in sbbc_uart_sbbc_probe()
780 static int sbbc_uart_bus_attach(struct uart_softc *sc);
781 static int sbbc_uart_bus_detach(struct uart_softc *sc);
782 static int sbbc_uart_bus_flush(struct uart_softc *sc, int what);
783 static int sbbc_uart_bus_getsig(struct uart_softc *sc);
784 static int sbbc_uart_bus_ioctl(struct uart_softc *sc, int request,
786 static int sbbc_uart_bus_ipend(struct uart_softc *sc);
787 static int sbbc_uart_bus_param(struct uart_softc *sc, int baudrate,
789 static int sbbc_uart_bus_probe(struct uart_softc *sc);
[all …]

123