| 442 | } |
| 443 | |
| 444 | static int |
| 445 | mtk_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 | |
| 454 | static int |
| 455 | mtk_uart_bus_probe(struct uart_softc *sc) |
nothing calls this directly
no test coverage detected