MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mtk_uart_bus_param

Function mtk_uart_bus_param

freebsd/mips/mediatek/uart_dev_mtk.c:444–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444static int
445mtk_uart_bus_param(struct uart_softc *sc, int baudrate, int databits,
446 int stopbits, int parity)
447{
448 uart_lock(sc->sc_hwmtx);
449 mtk_uart_init(&sc->sc_bas, baudrate, databits, stopbits, parity);
450 uart_unlock(sc->sc_hwmtx);
451 return (0);
452}
453
454static int
455mtk_uart_bus_probe(struct uart_softc *sc)

Callers

nothing calls this directly

Calls 1

mtk_uart_initFunction · 0.85

Tested by

no test coverage detected