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

Function bcm_fb_resync_sysctl

freebsd/arm/broadcom/bcm2835/bcm2835_fbd.c:173–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static int
174bcm_fb_resync_sysctl(SYSCTL_HANDLER_ARGS)
175{
176 struct bcmsc_softc *sc = arg1;
177 struct bcm2835_fb_config fb;
178 int val;
179 int err;
180
181 val = 0;
182 err = sysctl_handle_int(oidp, &val, 0, req);
183 if (err || !req->newptr) /* error || read request */
184 return (err);
185
186 bcm_fb_init(sc, &fb);
187
188 return (0);
189}
190
191static void
192bcm_fb_sysctl_init(struct bcmsc_softc *sc)

Callers

nothing calls this directly

Calls 2

sysctl_handle_intFunction · 0.85
bcm_fb_initFunction · 0.85

Tested by

no test coverage detected