Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/uart/
H A Duart_dev_ns8250.h36 struct uart_softc base;
49 int ns8250_bus_attach(struct uart_softc *);
50 int ns8250_bus_detach(struct uart_softc *);
51 int ns8250_bus_flush(struct uart_softc *, int);
52 int ns8250_bus_getsig(struct uart_softc *);
53 int ns8250_bus_ioctl(struct uart_softc *, int, intptr_t);
54 int ns8250_bus_ipend(struct uart_softc *);
55 int ns8250_bus_param(struct uart_softc *, int, int, int, int);
56 int ns8250_bus_probe(struct uart_softc *);
57 int ns8250_bus_receive(struct uart_softc *);
[all …]
H A Duart_dev_lowrisc.c140 struct uart_softc base;
143 static int lowrisc_uart_bus_attach(struct uart_softc *);
144 static int lowrisc_uart_bus_detach(struct uart_softc *);
145 static int lowrisc_uart_bus_flush(struct uart_softc *, int);
146 static int lowrisc_uart_bus_getsig(struct uart_softc *);
147 static int lowrisc_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
148 static int lowrisc_uart_bus_ipend(struct uart_softc *);
149 static int lowrisc_uart_bus_param(struct uart_softc *, int, int, int, int);
150 static int lowrisc_uart_bus_probe(struct uart_softc *);
151 static int lowrisc_uart_bus_receive(struct uart_softc *);
[all …]
H A Duart_dev_mu.c251 struct uart_softc bas;
255 static int uart_mu_bus_attach(struct uart_softc *);
256 static int uart_mu_bus_detach(struct uart_softc *);
257 static int uart_mu_bus_flush(struct uart_softc *, int);
258 static int uart_mu_bus_getsig(struct uart_softc *);
259 static int uart_mu_bus_ioctl(struct uart_softc *, int, intptr_t);
260 static int uart_mu_bus_ipend(struct uart_softc *);
261 static int uart_mu_bus_param(struct uart_softc *, int, int, int, int);
262 static int uart_mu_bus_probe(struct uart_softc *);
263 static int uart_mu_bus_receive(struct uart_softc *);
[all …]
H A Duart_dev_pl011.c338 struct uart_softc base;
342 static int uart_pl011_bus_attach(struct uart_softc *);
343 static int uart_pl011_bus_detach(struct uart_softc *);
344 static int uart_pl011_bus_flush(struct uart_softc *, int);
345 static int uart_pl011_bus_getsig(struct uart_softc *);
346 static int uart_pl011_bus_ioctl(struct uart_softc *, int, intptr_t);
347 static int uart_pl011_bus_ipend(struct uart_softc *);
348 static int uart_pl011_bus_param(struct uart_softc *, int, int, int, int);
349 static int uart_pl011_bus_probe(struct uart_softc *);
350 static int uart_pl011_bus_receive(struct uart_softc *);
[all …]
H A Duart_dev_mvebu.c270 struct uart_softc base;
274 static int uart_mvebu_bus_attach(struct uart_softc *);
275 static int uart_mvebu_bus_detach(struct uart_softc *);
276 static int uart_mvebu_bus_flush(struct uart_softc *, int);
277 static int uart_mvebu_bus_getsig(struct uart_softc *);
278 static int uart_mvebu_bus_ioctl(struct uart_softc *, int, intptr_t);
279 static int uart_mvebu_bus_ipend(struct uart_softc *);
280 static int uart_mvebu_bus_param(struct uart_softc *, int, int, int, int);
281 static int uart_mvebu_bus_probe(struct uart_softc *);
282 static int uart_mvebu_bus_receive(struct uart_softc *);
[all …]
H A Duart_dev_msm.c287 struct uart_softc base;
291 static int msm_bus_probe(struct uart_softc *sc);
292 static int msm_bus_attach(struct uart_softc *sc);
293 static int msm_bus_flush(struct uart_softc *, int);
294 static int msm_bus_getsig(struct uart_softc *);
295 static int msm_bus_ioctl(struct uart_softc *, int, intptr_t);
296 static int msm_bus_ipend(struct uart_softc *);
297 static int msm_bus_param(struct uart_softc *, int, int, int, int);
298 static int msm_bus_receive(struct uart_softc *);
299 static int msm_bus_setsig(struct uart_softc *, int);
[all …]
H A Duart_dev_imx.c268 struct uart_softc base;
271 static int imx_uart_bus_attach(struct uart_softc *);
272 static int imx_uart_bus_detach(struct uart_softc *);
273 static int imx_uart_bus_flush(struct uart_softc *, int);
274 static int imx_uart_bus_getsig(struct uart_softc *);
275 static int imx_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
276 static int imx_uart_bus_ipend(struct uart_softc *);
277 static int imx_uart_bus_param(struct uart_softc *, int, int, int, int);
278 static int imx_uart_bus_probe(struct uart_softc *);
279 static int imx_uart_bus_receive(struct uart_softc *);
[all …]
H A Duart_bus.h75 struct uart_softc { struct
150 void uart_sched_softih(struct uart_softc *, uint32_t); argument
152 int uart_tty_attach(struct uart_softc *);
153 int uart_tty_detach(struct uart_softc *);
154 struct mtx *uart_tty_getlock(struct uart_softc *);
161 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty()
168 uart_rx_full(struct uart_softc *sc) in uart_rx_full()
176 uart_rx_get(struct uart_softc *sc) in uart_rx_get()
189 uart_rx_next(struct uart_softc *sc) in uart_rx_next()
202 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek()
[all …]
H A Duart_tty.c166 struct uart_softc *sc; in uart_tty_open()
180 struct uart_softc *sc; in uart_tty_close()
200 struct uart_softc *sc; in uart_tty_outwakeup()
225 struct uart_softc *sc; in uart_tty_inwakeup()
243 struct uart_softc *sc; in uart_tty_ioctl()
262 struct uart_softc *sc; in uart_tty_param()
310 struct uart_softc *sc; in uart_tty_modem()
321 struct uart_softc *sc = arg; in uart_tty_intr()
387 struct uart_softc *sc; in uart_tty_busy()
420 uart_tty_attach(struct uart_softc *sc) in uart_tty_attach()
[all …]
H A Duart_core.c94 uart_pps_print_mode(struct uart_softc *sc) in uart_pps_print_mode()
122 struct uart_softc *sc; in uart_pps_mode_sysctl()
137 uart_pps_process(struct uart_softc *sc, int ser_sig) in uart_pps_process()
186 uart_pps_init(struct uart_softc *sc) in uart_pps_init()
268 uart_sched_softih(struct uart_softc *sc, uint32_t ipend) in uart_sched_softih()
293 struct uart_softc *sc = arg; in uart_intr_break()
324 struct uart_softc *sc = arg; in uart_intr_overrun()
343 struct uart_softc *sc = arg; in uart_intr_rxready()
376 struct uart_softc *sc = arg; in uart_intr_sigchg()
413 struct uart_softc *sc = arg; in uart_intr_txidle()
[all …]
H A Duart_if.m45 uart_default_txbusy(struct uart_softc *this __unused)
58 struct uart_softc *this;
67 struct uart_softc *this;
74 struct uart_softc *this;
86 struct uart_softc *this;
94 struct uart_softc *this;
109 struct uart_softc *this;
115 struct uart_softc *this;
127 struct uart_softc *this;
134 struct uart_softc *this;
[all …]
H A Duart_bus_pci.c63 sizeof(struct uart_softc),
249 struct uart_softc *sc; in uart_pci_unique_console_match()
279 struct uart_softc *sc; in uart_pci_probe()
329 struct uart_softc *sc; in uart_pci_attach()
355 struct uart_softc *sc; in uart_pci_detach()
H A Duart_cpu.h36 struct uart_softc;
76 int (*attach)(struct uart_softc*);
77 int (*detach)(struct uart_softc*);
80 struct uart_softc *sc; /* valid only from start of attach */
H A Duart_bus_scc.c62 sizeof(struct uart_softc),
69 struct uart_softc *sc; in uart_scc_attach()
85 struct uart_softc *sc; in uart_scc_probe()
H A Duart_dev_ns8250.c563 ns8250_bus_attach(struct uart_softc *sc) in ns8250_bus_attach()
642 ns8250_bus_detach(struct uart_softc *sc) in ns8250_bus_detach()
658 ns8250_bus_flush(struct uart_softc *sc, int what) in ns8250_bus_flush()
678 ns8250_bus_getsig(struct uart_softc *sc) in ns8250_bus_getsig()
715 ns8250_bus_ioctl(struct uart_softc *sc, int request, intptr_t data) in ns8250_bus_ioctl()
781 ns8250_bus_ipend(struct uart_softc *sc) in ns8250_bus_ipend()
827 ns8250_bus_param(struct uart_softc *sc, int baudrate, int databits, in ns8250_bus_param()
865 ns8250_bus_probe(struct uart_softc *sc) in ns8250_bus_probe()
1017 ns8250_bus_receive(struct uart_softc *sc) in ns8250_bus_receive()
1062 ns8250_bus_setsig(struct uart_softc *sc, int sig) in ns8250_bus_setsig()
[all …]
H A Duart_bus_puc.c61 sizeof(struct uart_softc),
68 struct uart_softc *sc; in uart_puc_probe()
H A Duart_bus_acpi.c58 sizeof(struct uart_softc),
84 struct uart_softc *sc; in uart_acpi_probe()
/freebsd/usr.sbin/bhyve/
H A Duart_backend.h37 struct uart_softc;
40 void uart_rxfifo_drain(struct uart_softc *sc, bool loopback);
41 int uart_rxfifo_getchar(struct uart_softc *sc);
42 int uart_rxfifo_numchars(struct uart_softc *sc);
43 int uart_rxfifo_putchar(struct uart_softc *sc, uint8_t ch, bool loopback);
44 void uart_rxfifo_reset(struct uart_softc *sc, int size);
45 int uart_rxfifo_size(struct uart_softc *sc);
47 int uart_rxfifo_snapshot(struct uart_softc *sc,
51 struct uart_softc *uart_init(void);
52 int uart_tty_open(struct uart_softc *s
[all...]
H A Duart_backend.c72 struct uart_softc { struct
80 struct uart_softc *softc; argument
88 static void uart_tcp_disconnect(struct uart_softc *);
133 rxfifo_available(struct uart_softc *sc) in rxfifo_available()
139 uart_rxfifo_getchar(struct uart_softc *sc) in uart_rxfifo_getchar()
164 uart_rxfifo_numchars(struct uart_softc *sc) in uart_rxfifo_numchars()
170 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar()
196 uart_rxfifo_drain(struct uart_softc *sc, bool loopback) in uart_rxfifo_drain()
220 uart_rxfifo_putchar(struct uart_softc *sc, uint8_t ch, bool loopback) in uart_rxfifo_putchar()
236 uart_rxfifo_reset(struct uart_softc *sc, int size) in uart_rxfifo_reset()
[all …]
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_uart.c121 void uart_reinit(struct uart_softc *,int,int);
195 struct uart_softc base;
199 uart_reinit(struct uart_softc *sc, int clkspeed, int baud) in uart_reinit()
246 static int vf_uart_bus_attach(struct uart_softc *);
247 static int vf_uart_bus_detach(struct uart_softc *);
248 static int vf_uart_bus_flush(struct uart_softc *, int);
249 static int vf_uart_bus_getsig(struct uart_softc *);
250 static int vf_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
251 static int vf_uart_bus_ipend(struct uart_softc *);
252 static int vf_uart_bus_param(struct uart_softc *, int, int, int, int);
[all …]
/freebsd/sys/arm/xilinx/
H A Duart_dev_cdnc.c385 static int cdnc_uart_bus_probe(struct uart_softc *sc);
386 static int cdnc_uart_bus_attach(struct uart_softc *sc);
387 static int cdnc_uart_bus_flush(struct uart_softc *, int);
388 static int cdnc_uart_bus_getsig(struct uart_softc *);
389 static int cdnc_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
390 static int cdnc_uart_bus_ipend(struct uart_softc *);
391 static int cdnc_uart_bus_param(struct uart_softc *, int, int, int, int);
392 static int cdnc_uart_bus_receive(struct uart_softc *);
393 static int cdnc_uart_bus_setsig(struct uart_softc *, int);
394 static int cdnc_uart_bus_transmit(struct uart_softc *);
[all …]
/freebsd/sys/riscv/sifive/
H A Dsifive_uart.c83 struct uart_softc uart_softc; member
168 sfuart_bus_probe(struct uart_softc *sc) in sfuart_bus_probe()
187 sfuart_bus_attach(struct uart_softc *sc) in sfuart_bus_attach()
235 sfuart_bus_detach(struct uart_softc *sc) in sfuart_bus_detach()
256 sfuart_bus_flush(struct uart_softc *sc, int what) in sfuart_bus_flush()
289 sfuart_bus_getsig(struct uart_softc *sc) in sfuart_bus_getsig()
306 sfuart_bus_setsig(struct uart_softc *sc, int sig) in sfuart_bus_setsig()
325 sfuart_bus_ioctl(struct uart_softc *sc, int request, intptr_t data) in sfuart_bus_ioctl()
357 sfuart_bus_ipend(struct uart_softc *sc) in sfuart_bus_ipend()
388 sfuart_bus_param(struct uart_softc *sc, int baudrate, int databits, in sfuart_bus_param()
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c72 struct uart_ns16550_softc *uart_softc; member
222 *eax = uart_ns16550_read(sc->uart_softc, offset); in lpc_uart_io_handler()
224 uart_ns16550_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
228 *eax = uart_ns16550_read(sc->uart_softc, offset); in lpc_uart_io_handler()
230 uart_ns16550_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler()
232 uart_ns16550_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
233 uart_ns16550_write(sc->uart_softc, offset + 1, in lpc_uart_io_handler()
265 sc->uart_softc = uart_ns16550_init(lpc_uart_intr_assert, in lpc_init()
272 uart_ns16550_tty_open(sc->uart_softc, backend) != 0) { in lpc_init()
582 sc = lpc_uart_softc[unit].uart_softc; in pci_lpc_snapshot()
/freebsd/sys/powerpc/psim/
H A Duart_iobus.c65 sizeof(struct uart_softc),
71 struct uart_softc *sc; in uart_iobus_probe()
/freebsd/sys/arm/nvidia/
H A Dtegra_uart.c68 tegra_uart_attach(struct uart_softc *sc) in tegra_uart_attach()
88 tegra_uart_grab(struct uart_softc *sc) in tegra_uart_grab()
112 tegra_uart_ungrab(struct uart_softc *sc) in tegra_uart_ungrab()

12