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

Function ccp_hw_detach

freebsd/crypto/ccp/ccp_hardware.c:830–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

828}
829
830void
831ccp_hw_detach(device_t dev)
832{
833 struct ccp_softc *sc;
834 unsigned i;
835
836 sc = device_get_softc(dev);
837
838 for (i = 0; i < nitems(sc->queues); i++)
839 ccp_hw_detach_queue(dev, i);
840
841 ccp_release_interrupts(sc);
842 pci_disable_busmaster(dev);
843 ccp_unmap_pci_bar(dev);
844}
845
846static int __must_check
847ccp_passthrough(struct ccp_queue *qp, bus_addr_t dst,

Callers 1

ccp_detachFunction · 0.85

Calls 4

device_get_softcFunction · 0.85
ccp_hw_detach_queueFunction · 0.85
ccp_release_interruptsFunction · 0.85
ccp_unmap_pci_barFunction · 0.85

Tested by

no test coverage detected