Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/dev/uart/
Duart_dev_ns8250.h38 struct uart_softc base;
50 int ns8250_bus_attach(struct uart_softc *);
51 int ns8250_bus_detach(struct uart_softc *);
52 int ns8250_bus_flush(struct uart_softc *, int);
53 int ns8250_bus_getsig(struct uart_softc *);
54 int ns8250_bus_ioctl(struct uart_softc *, int, intptr_t);
55 int ns8250_bus_ipend(struct uart_softc *);
56 int ns8250_bus_param(struct uart_softc *, int, int, int, int);
57 int ns8250_bus_probe(struct uart_softc *);
58 int ns8250_bus_receive(struct uart_softc *);
[all …]
Duart_dev_lowrisc.c142 struct uart_softc base;
145 static int lowrisc_uart_bus_attach(struct uart_softc *);
146 static int lowrisc_uart_bus_detach(struct uart_softc *);
147 static int lowrisc_uart_bus_flush(struct uart_softc *, int);
148 static int lowrisc_uart_bus_getsig(struct uart_softc *);
149 static int lowrisc_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
150 static int lowrisc_uart_bus_ipend(struct uart_softc *);
151 static int lowrisc_uart_bus_param(struct uart_softc *, int, int, int, int);
152 static int lowrisc_uart_bus_probe(struct uart_softc *);
153 static int lowrisc_uart_bus_receive(struct uart_softc *);
[all …]
Duart_dev_mu.c254 struct uart_softc bas;
258 static int uart_mu_bus_attach(struct uart_softc *);
259 static int uart_mu_bus_detach(struct uart_softc *);
260 static int uart_mu_bus_flush(struct uart_softc *, int);
261 static int uart_mu_bus_getsig(struct uart_softc *);
262 static int uart_mu_bus_ioctl(struct uart_softc *, int, intptr_t);
263 static int uart_mu_bus_ipend(struct uart_softc *);
264 static int uart_mu_bus_param(struct uart_softc *, int, int, int, int);
265 static int uart_mu_bus_probe(struct uart_softc *);
266 static int uart_mu_bus_receive(struct uart_softc *);
[all …]
Duart_dev_pl011.c288 struct uart_softc base;
292 static int uart_pl011_bus_attach(struct uart_softc *);
293 static int uart_pl011_bus_detach(struct uart_softc *);
294 static int uart_pl011_bus_flush(struct uart_softc *, int);
295 static int uart_pl011_bus_getsig(struct uart_softc *);
296 static int uart_pl011_bus_ioctl(struct uart_softc *, int, intptr_t);
297 static int uart_pl011_bus_ipend(struct uart_softc *);
298 static int uart_pl011_bus_param(struct uart_softc *, int, int, int, int);
299 static int uart_pl011_bus_probe(struct uart_softc *);
300 static int uart_pl011_bus_receive(struct uart_softc *);
[all …]
Duart_dev_mvebu.c278 struct uart_softc base;
282 static int uart_mvebu_bus_attach(struct uart_softc *);
283 static int uart_mvebu_bus_detach(struct uart_softc *);
284 static int uart_mvebu_bus_flush(struct uart_softc *, int);
285 static int uart_mvebu_bus_getsig(struct uart_softc *);
286 static int uart_mvebu_bus_ioctl(struct uart_softc *, int, intptr_t);
287 static int uart_mvebu_bus_ipend(struct uart_softc *);
288 static int uart_mvebu_bus_param(struct uart_softc *, int, int, int, int);
289 static int uart_mvebu_bus_probe(struct uart_softc *);
290 static int uart_mvebu_bus_receive(struct uart_softc *);
[all …]
Duart_dev_msm.c289 struct uart_softc base;
293 static int msm_bus_probe(struct uart_softc *sc);
294 static int msm_bus_attach(struct uart_softc *sc);
295 static int msm_bus_flush(struct uart_softc *, int);
296 static int msm_bus_getsig(struct uart_softc *);
297 static int msm_bus_ioctl(struct uart_softc *, int, intptr_t);
298 static int msm_bus_ipend(struct uart_softc *);
299 static int msm_bus_param(struct uart_softc *, int, int, int, int);
300 static int msm_bus_receive(struct uart_softc *);
301 static int msm_bus_setsig(struct uart_softc *, int);
[all …]
Duart_dev_quicc.c236 struct uart_softc base;
239 static int quicc_bus_attach(struct uart_softc *);
240 static int quicc_bus_detach(struct uart_softc *);
241 static int quicc_bus_flush(struct uart_softc *, int);
242 static int quicc_bus_getsig(struct uart_softc *);
243 static int quicc_bus_ioctl(struct uart_softc *, int, intptr_t);
244 static int quicc_bus_ipend(struct uart_softc *);
245 static int quicc_bus_param(struct uart_softc *, int, int, int, int);
246 static int quicc_bus_probe(struct uart_softc *);
247 static int quicc_bus_receive(struct uart_softc *);
[all …]
Duart_dev_imx.c263 struct uart_softc base;
266 static int imx_uart_bus_attach(struct uart_softc *);
267 static int imx_uart_bus_detach(struct uart_softc *);
268 static int imx_uart_bus_flush(struct uart_softc *, int);
269 static int imx_uart_bus_getsig(struct uart_softc *);
270 static int imx_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
271 static int imx_uart_bus_ipend(struct uart_softc *);
272 static int imx_uart_bus_param(struct uart_softc *, int, int, int, int);
273 static int imx_uart_bus_probe(struct uart_softc *);
274 static int imx_uart_bus_receive(struct uart_softc *);
[all …]
Duart_bus.h75 struct uart_softc { struct
151 void uart_sched_softih(struct uart_softc *, uint32_t); argument
153 int uart_tty_attach(struct uart_softc *);
154 int uart_tty_detach(struct uart_softc *);
155 struct mtx *uart_tty_getlock(struct uart_softc *);
162 uart_rx_empty(struct uart_softc *sc) in uart_rx_empty()
169 uart_rx_full(struct uart_softc *sc) in uart_rx_full()
177 uart_rx_get(struct uart_softc *sc) in uart_rx_get()
190 uart_rx_next(struct uart_softc *sc) in uart_rx_next()
203 uart_rx_peek(struct uart_softc *sc) in uart_rx_peek()
[all …]
Duart_dev_z8530.c270 struct uart_softc base;
275 static int z8530_bus_attach(struct uart_softc *);
276 static int z8530_bus_detach(struct uart_softc *);
277 static int z8530_bus_flush(struct uart_softc *, int);
278 static int z8530_bus_getsig(struct uart_softc *);
279 static int z8530_bus_ioctl(struct uart_softc *, int, intptr_t);
280 static int z8530_bus_ipend(struct uart_softc *);
281 static int z8530_bus_param(struct uart_softc *, int, int, int, int);
282 static int z8530_bus_probe(struct uart_softc *);
283 static int z8530_bus_receive(struct uart_softc *);
[all …]
Duart_dev_sab82532.c356 struct uart_softc base;
359 static int sab82532_bus_attach(struct uart_softc *);
360 static int sab82532_bus_detach(struct uart_softc *);
361 static int sab82532_bus_flush(struct uart_softc *, int);
362 static int sab82532_bus_getsig(struct uart_softc *);
363 static int sab82532_bus_ioctl(struct uart_softc *, int, intptr_t);
364 static int sab82532_bus_ipend(struct uart_softc *);
365 static int sab82532_bus_param(struct uart_softc *, int, int, int, int);
366 static int sab82532_bus_probe(struct uart_softc *);
367 static int sab82532_bus_receive(struct uart_softc *);
[all …]
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()
307 struct uart_softc *sc; in uart_tty_modem()
318 struct uart_softc *sc = arg; in uart_tty_intr()
384 struct uart_softc *sc; in uart_tty_busy()
407 uart_tty_attach(struct uart_softc *sc) in uart_tty_attach()
[all …]
Duart_core.c98 uart_pps_print_mode(struct uart_softc *sc) in uart_pps_print_mode()
126 struct uart_softc *sc; in uart_pps_mode_sysctl()
141 uart_pps_process(struct uart_softc *sc, int ser_sig) in uart_pps_process()
190 uart_pps_init(struct uart_softc *sc) in uart_pps_init()
272 uart_sched_softih(struct uart_softc *sc, uint32_t ipend) in uart_sched_softih()
297 struct uart_softc *sc = arg; in uart_intr_break()
328 struct uart_softc *sc = arg; in uart_intr_overrun()
347 struct uart_softc *sc = arg; in uart_intr_rxready()
378 struct uart_softc *sc = arg; in uart_intr_sigchg()
415 struct uart_softc *sc = arg; in uart_intr_txidle()
[all …]
Duart_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 …]
/freebsd-12-stable/sys/mips/mediatek/
Duart_dev_mtk.c187 struct uart_softc base;
192 static int mtk_uart_bus_attach(struct uart_softc *);
193 static int mtk_uart_bus_detach(struct uart_softc *);
194 static int mtk_uart_bus_flush(struct uart_softc *, int);
195 static int mtk_uart_bus_getsig(struct uart_softc *);
196 static int mtk_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
197 static int mtk_uart_bus_ipend(struct uart_softc *);
198 static int mtk_uart_bus_param(struct uart_softc *, int, int, int, int);
199 static int mtk_uart_bus_probe(struct uart_softc *);
200 static int mtk_uart_bus_receive(struct uart_softc *);
[all …]
/freebsd-12-stable/sys/arm/freescale/vybrid/
Dvf_uart.c123 void uart_reinit(struct uart_softc *,int,int);
197 struct uart_softc base;
201 uart_reinit(struct uart_softc *sc, int clkspeed, int baud) in uart_reinit()
248 static int vf_uart_bus_attach(struct uart_softc *);
249 static int vf_uart_bus_detach(struct uart_softc *);
250 static int vf_uart_bus_flush(struct uart_softc *, int);
251 static int vf_uart_bus_getsig(struct uart_softc *);
252 static int vf_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
253 static int vf_uart_bus_ipend(struct uart_softc *);
254 static int vf_uart_bus_param(struct uart_softc *, int, int, int, int);
[all …]
/freebsd-12-stable/sys/arm/samsung/exynos/
Dexynos_uart.c208 static int exynos4210_bus_probe(struct uart_softc *sc);
209 static int exynos4210_bus_attach(struct uart_softc *sc);
210 static int exynos4210_bus_flush(struct uart_softc *, int);
211 static int exynos4210_bus_getsig(struct uart_softc *);
212 static int exynos4210_bus_ioctl(struct uart_softc *, int, intptr_t);
213 static int exynos4210_bus_ipend(struct uart_softc *);
214 static int exynos4210_bus_param(struct uart_softc *, int, int, int, int);
215 static int exynos4210_bus_receive(struct uart_softc *);
216 static int exynos4210_bus_setsig(struct uart_softc *, int);
217 static int exynos4210_bus_transmit(struct uart_softc *);
[all …]
/freebsd-12-stable/sys/mips/atheros/
Duart_dev_ar933x.c314 struct uart_softc base;
319 static int ar933x_bus_attach(struct uart_softc *);
320 static int ar933x_bus_detach(struct uart_softc *);
321 static int ar933x_bus_flush(struct uart_softc *, int);
322 static int ar933x_bus_getsig(struct uart_softc *);
323 static int ar933x_bus_ioctl(struct uart_softc *, int, intptr_t);
324 static int ar933x_bus_ipend(struct uart_softc *);
325 static int ar933x_bus_param(struct uart_softc *, int, int, int, int);
326 static int ar933x_bus_probe(struct uart_softc *);
327 static int ar933x_bus_receive(struct uart_softc *);
[all …]
/freebsd-12-stable/sys/arm/xilinx/
Duart_dev_cdnc.c391 static int cdnc_uart_bus_probe(struct uart_softc *sc);
392 static int cdnc_uart_bus_attach(struct uart_softc *sc);
393 static int cdnc_uart_bus_flush(struct uart_softc *, int);
394 static int cdnc_uart_bus_getsig(struct uart_softc *);
395 static int cdnc_uart_bus_ioctl(struct uart_softc *, int, intptr_t);
396 static int cdnc_uart_bus_ipend(struct uart_softc *);
397 static int cdnc_uart_bus_param(struct uart_softc *, int, int, int, int);
398 static int cdnc_uart_bus_receive(struct uart_softc *);
399 static int cdnc_uart_bus_setsig(struct uart_softc *, int);
400 static int cdnc_uart_bus_transmit(struct uart_softc *);
[all …]
/freebsd-12-stable/sys/mips/cavium/
Duart_dev_oct16550.c386 struct uart_softc base;
392 static int oct16550_bus_attach(struct uart_softc *);
393 static int oct16550_bus_detach(struct uart_softc *);
394 static int oct16550_bus_flush(struct uart_softc *, int);
395 static int oct16550_bus_getsig(struct uart_softc *);
396 static int oct16550_bus_ioctl(struct uart_softc *, int, intptr_t);
397 static int oct16550_bus_ipend(struct uart_softc *);
398 static int oct16550_bus_param(struct uart_softc *, int, int, int, int);
399 static int oct16550_bus_probe(struct uart_softc *);
400 static int oct16550_bus_receive(struct uart_softc *);
[all …]
/freebsd-12-stable/usr.sbin/bhyve/
Duart_emul.c108 struct uart_softc { struct
178 rxfifo_reset(struct uart_softc *sc, int size) in rxfifo_reset()
209 rxfifo_available(struct uart_softc *sc) in rxfifo_available()
218 rxfifo_putchar(struct uart_softc *sc, uint8_t ch) in rxfifo_putchar()
244 rxfifo_getchar(struct uart_softc *sc) in rxfifo_getchar()
269 rxfifo_numchars(struct uart_softc *sc) in rxfifo_numchars()
277 uart_opentty(struct uart_softc *sc) in uart_opentty()
325 uart_intr_reason(struct uart_softc *sc) in uart_intr_reason()
341 uart_reset(struct uart_softc *sc) in uart_reset()
358 uart_toggle_intr(struct uart_softc *sc) in uart_toggle_intr()
[all …]
Duart_emul.h37 struct uart_softc;
40 struct uart_softc *uart_init(uart_intr_func_t intr_assert,
44 uint8_t uart_read(struct uart_softc *sc, int offset);
45 void uart_write(struct uart_softc *sc, int offset, uint8_t value);
46 int uart_set_backend(struct uart_softc *sc, const char *opt);
Dpci_lpc.c74 struct uart_softc *uart_softc; member
182 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler()
184 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
188 *eax = uart_read(sc->uart_softc, offset); in lpc_uart_io_handler()
189 *eax |= uart_read(sc->uart_softc, offset + 1) << 8; in lpc_uart_io_handler()
191 uart_write(sc->uart_softc, offset, *eax); in lpc_uart_io_handler()
192 uart_write(sc->uart_softc, offset + 1, *eax >> 8); in lpc_uart_io_handler()
228 sc->uart_softc = uart_init(lpc_uart_intr_assert, in lpc_init()
231 if (uart_set_backend(sc->uart_softc, sc->opts) != 0) { in lpc_init()
/freebsd-12-stable/sys/sparc64/pci/
Dsbbc.c612 sizeof(struct uart_softc));
618 struct uart_softc *sc; in sbbc_uart_sbbc_probe()
782 static int sbbc_uart_bus_attach(struct uart_softc *sc);
783 static int sbbc_uart_bus_detach(struct uart_softc *sc);
784 static int sbbc_uart_bus_flush(struct uart_softc *sc, int what);
785 static int sbbc_uart_bus_getsig(struct uart_softc *sc);
786 static int sbbc_uart_bus_ioctl(struct uart_softc *sc, int request,
788 static int sbbc_uart_bus_ipend(struct uart_softc *sc);
789 static int sbbc_uart_bus_param(struct uart_softc *sc, int baudrate,
791 static int sbbc_uart_bus_probe(struct uart_softc *sc);
[all …]
/freebsd-12-stable/sys/arm/amlogic/aml8726/
Duart_dev_aml8726.c311 aml8726_uart_bus_probe(struct uart_softc *sc) in aml8726_uart_bus_probe()
330 aml8726_uart_bus_getsig(struct uart_softc *sc) in aml8726_uart_bus_getsig()
351 aml8726_uart_bus_setsig(struct uart_softc *sc, int sig) in aml8726_uart_bus_setsig()
370 aml8726_uart_bus_attach(struct uart_softc *sc) in aml8726_uart_bus_attach()
436 aml8726_uart_bus_detach(struct uart_softc *sc) in aml8726_uart_bus_detach()
460 aml8726_uart_bus_flush(struct uart_softc *sc, int what) in aml8726_uart_bus_flush()
487 aml8726_uart_bus_ioctl(struct uart_softc *sc, int request, intptr_t data) in aml8726_uart_bus_ioctl()
550 aml8726_uart_bus_ipend(struct uart_softc *sc) in aml8726_uart_bus_ipend()
585 aml8726_uart_bus_param(struct uart_softc *sc, int baudrate, int databits, in aml8726_uart_bus_param()
602 aml8726_uart_bus_receive(struct uart_softc *sc) in aml8726_uart_bus_receive()
[all …]

12