Home
last modified time | relevance | path

Searched refs:nvme_softc (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/sys/dev/ic/
Dnvmevar.h39 struct nvme_softc;
77 struct nvme_softc *q_sc;
109 void (*op_enable)(struct nvme_softc *);
111 int (*op_q_alloc)(struct nvme_softc *,
113 void (*op_q_free)(struct nvme_softc *,
116 uint32_t (*op_sq_enter)(struct nvme_softc *,
118 void (*op_sq_leave)(struct nvme_softc *,
120 uint32_t (*op_sq_enter_locked)(struct nvme_softc *,
122 void (*op_sq_leave_locked)(struct nvme_softc *,
125 void (*op_cq_done)(struct nvme_softc *,
[all …]
Dnvme.c53 static int nvme_ready(struct nvme_softc *, uint32_t);
54 static int nvme_enable(struct nvme_softc *, u_int);
55 static int nvme_disable(struct nvme_softc *);
56 static int nvme_shutdown(struct nvme_softc *);
58 uint32_t nvme_op_sq_enter(struct nvme_softc *,
60 void nvme_op_sq_leave(struct nvme_softc *,
62 uint32_t nvme_op_sq_enter_locked(struct nvme_softc *,
64 void nvme_op_sq_leave_locked(struct nvme_softc *,
67 void nvme_op_cq_done(struct nvme_softc *,
80 static void nvme_dumpregs(struct nvme_softc *);
[all …]
Dld_nvme.c49 struct nvme_softc *sc_nvme;
85 struct nvme_softc *nsc = device_private(parent); in ld_nvme_attach()
/netbsd/src/sys/dev/pci/
Dnvme_pci.c74 struct nvme_softc psc_nvme;
92 static int nvme_pci_intr_establish(struct nvme_softc *,
94 static int nvme_pci_intr_disestablish(struct nvme_softc *, uint16_t);
150 struct nvme_softc *sc = &psc->psc_nvme; in nvme_pci_attach()
265 struct nvme_softc *sc = &psc->psc_nvme; in nvme_pci_suspend()
279 struct nvme_softc *sc = &psc->psc_nvme; in nvme_pci_resume()
293 struct nvme_softc *sc = &psc->psc_nvme; in nvme_pci_detach()
313 nvme_pci_intr_establish(struct nvme_softc *sc, uint16_t qid, in nvme_pci_intr_establish()
404 nvme_pci_intr_disestablish(struct nvme_softc *sc, uint16_t qid) in nvme_pci_intr_disestablish()
425 struct nvme_softc *sc = &psc->psc_nvme; in nvme_pci_setup_intr()