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

Function uart_chipc_probe

freebsd/mips/broadcom/uart_bus_chipc.c:53–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51#include "bcm_machdep.h"
52
53static int
54uart_chipc_probe(device_t dev)
55{
56 struct uart_softc *sc;
57 u_int rclk;
58
59 sc = device_get_softc(dev);
60 sc->sc_class = &uart_ns8250_class;
61
62 rclk = bcm_get_uart_rclk(bcm_get_platform());
63 return (uart_bus_probe(dev, 0, 0, rclk, 0, 0, 0));
64}
65
66static device_method_t uart_chipc_methods[] = {
67 /* Device interface */

Callers

nothing calls this directly

Calls 3

device_get_softcFunction · 0.85
bcm_get_uart_rclkFunction · 0.85
bcm_get_platformFunction · 0.85

Tested by

no test coverage detected