Lines Matching defs:nvme_softc
39 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 *,
129 struct nvme_softc {
139 int (*sc_intr_establish)(struct nvme_softc *,
141 int (*sc_intr_disestablish)(struct nvme_softc *,
188 int nvme_attach(struct nvme_softc *);
189 int nvme_detach(struct nvme_softc *, int flags);
192 int nvme_suspend(struct nvme_softc *);
193 int nvme_resume(struct nvme_softc *);
200 nvme_get_q(struct nvme_softc *sc)
209 nvme_ns_get(struct nvme_softc *sc, uint16_t nsid)
221 nvme_read8(struct nvme_softc *, bus_size_t);
222 void nvme_write8(struct nvme_softc *, bus_size_t, uint64_t);
228 nvme_dmamem_alloc(struct nvme_softc *, size_t);
229 void nvme_dmamem_free(struct nvme_softc *, struct nvme_dmamem *);
230 void nvme_dmamem_sync(struct nvme_softc *, struct nvme_dmamem *, int);
232 int nvme_ns_identify(struct nvme_softc *, uint16_t);
233 void nvme_ns_free(struct nvme_softc *, uint16_t);
234 int nvme_ns_dobio(struct nvme_softc *, uint16_t, void *,
236 int nvme_ns_sync(struct nvme_softc *, uint16_t, int);
237 int nvme_admin_getcache(struct nvme_softc *, int *);
238 int nvme_admin_setcache(struct nvme_softc *, int);