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

Function as3722_parse_fdt

freebsd/arm/nvidia/as3722.c:250–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250static int
251as3722_parse_fdt(struct as3722_softc *sc, phandle_t node)
252{
253
254 sc->int_pullup =
255 OF_hasprop(node, "ams,enable-internal-int-pullup") ? 1 : 0;
256 sc->i2c_pullup =
257 OF_hasprop(node, "ams,enable-internal-i2c-pullup") ? 1 : 0;
258 return 0;
259}
260
261static void
262as3722_intr(void *arg)

Callers 1

as3722_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected