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

Function codec_detach

freebsd/mips/ingenic/jz4780_codec.c:281–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281static int
282codec_detach(device_t dev)
283{
284 struct codec_softc *sc;
285
286 sc = device_get_softc(dev);
287
288 bus_release_resources(dev, codec_spec, sc->res);
289
290 return (0);
291}
292
293static device_method_t codec_methods[] = {
294 /* Device interface */

Callers

nothing calls this directly

Calls 2

device_get_softcFunction · 0.85
bus_release_resourcesFunction · 0.85

Tested by

no test coverage detected