Home
last modified time | relevance | path

Searched refs:DEVICE2SOFTC (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/nvme/
H A Dnvme_pci.c117 struct nvme_controller *ctrlr = DEVICE2SOFTC(device); in nvme_pci_probe()
186 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_pci_attach()
225 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_pci_detach()
346 ctrlr = DEVICE2SOFTC(dev); in nvme_pci_suspend()
355 ctrlr = DEVICE2SOFTC(dev); in nvme_pci_resume()
H A Dnvme.c76 ctrlr = DEVICE2SOFTC(dev); in nvme_shutdown()
85 struct nvme_controller *ctrlr = DEVICE2SOFTC(dev); in nvme_attach()
106 struct nvme_controller *ctrlr = DEVICE2SOFTC(dev); in nvme_detach()
191 ctrlr = DEVICE2SOFTC(devlist[dev_idx]); in nvme_notify_new_consumer()
H A Dnvme_ahci.c66 struct nvme_controller*ctrlr = DEVICE2SOFTC(dev); in nvme_ahci_attach()
H A Dnvme_private.h52 #define DEVICE2SOFTC(dev) ((struct nvme_controller *) device_get_softc(dev)) macro
/freebsd/share/examples/drivers/
H A Dmake_device_driver.sh520 struct ${1}_softc *scp = DEVICE2SOFTC(device);
537 struct ${1}_softc *scp = DEVICE2SOFTC(device);
613 struct ${1}_softc *scp = DEVICE2SOFTC(device);
625 struct ${1}_softc *scp = DEVICE2SOFTC(device);
734 struct ${1}_softc *scp = DEVICE2SOFTC(device);
768 struct ${1}_softc *scp = DEVICE2SOFTC(device);
/freebsd/sys/dev/isci/
H A Disci.c160 struct isci_softc *isci = DEVICE2SOFTC(device); in isci_attach()
185 struct isci_softc *isci = DEVICE2SOFTC(device); in isci_detach()
H A Disci.h68 #define DEVICE2SOFTC(dev) ((struct isci_softc *) device_get_softc(dev)) macro
/freebsd/sys/dev/ioat/
H A Dioat.c294 ioat = DEVICE2SOFTC(device); in ioat_attach()
377 ioat = DEVICE2SOFTC(device); in ioat_detach()
537 ioat = DEVICE2SOFTC(device); in ioat3_attach()
1938 ioat = DEVICE2SOFTC(device); in ioat_setup_sysctl()
H A Dioat_internal.h31 #define DEVICE2SOFTC(dev) ((struct ioat_softc *) device_get_softc(dev)) macro