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

Function ccp_unmap_pci_bar

freebsd/crypto/ccp/ccp_hardware.c:369–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static void
370ccp_unmap_pci_bar(device_t dev)
371{
372 struct ccp_softc *sc;
373
374 sc = device_get_softc(dev);
375
376 bus_release_resource(dev, SYS_RES_MEMORY, sc->pci_resource_id_msix,
377 sc->pci_resource_msix);
378 bus_release_resource(dev, SYS_RES_MEMORY, sc->pci_resource_id,
379 sc->pci_resource);
380}
381
382const static struct ccp_error_code {
383 uint8_t ce_code;

Callers 2

ccp_hw_attachFunction · 0.85
ccp_hw_detachFunction · 0.85

Calls 2

device_get_softcFunction · 0.85
bus_release_resourceFunction · 0.85

Tested by

no test coverage detected