Lines Matching refs:nvme_softc
53 int nvme_ready(struct nvme_softc *, u_int32_t);
54 int nvme_enable(struct nvme_softc *);
55 int nvme_disable(struct nvme_softc *);
56 int nvme_shutdown(struct nvme_softc *);
57 int nvme_resume(struct nvme_softc *);
59 void nvme_dumpregs(struct nvme_softc *);
60 int nvme_identify(struct nvme_softc *, u_int);
61 void nvme_fill_identify(struct nvme_softc *, struct nvme_ccb *, void *);
63 int nvme_ccbs_alloc(struct nvme_softc *, u_int);
64 void nvme_ccbs_free(struct nvme_softc *, u_int);
69 int nvme_poll(struct nvme_softc *, struct nvme_queue *, struct nvme_ccb *,
70 void (*)(struct nvme_softc *, struct nvme_ccb *, void *), u_int32_t);
71 void nvme_poll_fill(struct nvme_softc *, struct nvme_ccb *, void *);
72 void nvme_poll_done(struct nvme_softc *, struct nvme_ccb *,
74 void nvme_sqe_fill(struct nvme_softc *, struct nvme_ccb *, void *);
75 void nvme_empty_done(struct nvme_softc *, struct nvme_ccb *,
79 nvme_q_alloc(struct nvme_softc *, u_int16_t, u_int, u_int);
80 int nvme_q_create(struct nvme_softc *, struct nvme_queue *);
81 int nvme_q_reset(struct nvme_softc *, struct nvme_queue *);
82 int nvme_q_delete(struct nvme_softc *, struct nvme_queue *);
83 void nvme_q_submit(struct nvme_softc *,
85 void (*)(struct nvme_softc *, struct nvme_ccb *, void *));
86 int nvme_q_complete(struct nvme_softc *, struct nvme_queue *);
87 void nvme_q_free(struct nvme_softc *, struct nvme_queue *);
95 int nvme_passthrough_cmd(struct nvme_softc *, struct nvme_pt_cmd *,
109 const char *nvme_bioctl_sdname(const struct nvme_softc *, int);
112 int nvme_bioctl_inq(struct nvme_softc *, struct bioc_inq *);
113 int nvme_bioctl_vol(struct nvme_softc *, struct bioc_vol *);
114 int nvme_bioctl_disk(struct nvme_softc *, struct bioc_disk *);
123 void nvme_scsi_io_fill(struct nvme_softc *, struct nvme_ccb *, void *);
124 void nvme_scsi_io_done(struct nvme_softc *, struct nvme_ccb *,
128 void nvme_scsi_sync_fill(struct nvme_softc *, struct nvme_ccb *, void *);
129 void nvme_scsi_sync_done(struct nvme_softc *, struct nvme_ccb *,
137 uint32_t nvme_op_sq_enter(struct nvme_softc *,
139 void nvme_op_sq_leave(struct nvme_softc *,
141 uint32_t nvme_op_sq_enter_locked(struct nvme_softc *,
143 void nvme_op_sq_leave_locked(struct nvme_softc *,
146 void nvme_op_cq_done(struct nvme_softc *,
168 nvme_read8(struct nvme_softc *sc, bus_size_t r)
179 nvme_write8(struct nvme_softc *sc, bus_size_t r, u_int64_t v)
186 nvme_dumpregs(struct nvme_softc *sc)
224 nvme_ready(struct nvme_softc *sc, u_int32_t rdy)
240 nvme_enable(struct nvme_softc *sc)
278 nvme_disable(struct nvme_softc *sc)
300 nvme_attach(struct nvme_softc *sc)
432 nvme_resume(struct nvme_softc *sc)
475 struct nvme_softc *sc = link->bus->sb_adapter_softc;
523 nvme_shutdown(struct nvme_softc *sc)
558 nvme_activate(struct nvme_softc *sc, int act)
629 struct nvme_softc *sc = link->bus->sb_adapter_softc;
639 struct nvme_softc *sc = link->bus->sb_adapter_softc;
685 nvme_scsi_io_fill(struct nvme_softc *sc, struct nvme_ccb *ccb, void *slot)
718 nvme_scsi_io_done(struct nvme_softc *sc, struct nvme_ccb *ccb,
752 struct nvme_softc *sc = link->bus->sb_adapter_softc;
767 nvme_scsi_sync_fill(struct nvme_softc *sc, struct nvme_ccb *ccb, void *slot)
778 nvme_scsi_sync_done(struct nvme_softc *sc, struct nvme_ccb *ccb,
818 struct nvme_softc *sc = link->bus->sb_adapter_softc;
845 struct nvme_softc *sc = link->bus->sb_adapter_softc;
878 struct nvme_softc *sc = link->bus->sb_adapter_softc;
910 struct nvme_softc *sc = link->bus->sb_adapter_softc;
934 nvme_passthrough_cmd(struct nvme_softc *sc, struct nvme_pt_cmd *pt, int dv_unit,
1012 struct nvme_softc *sc = link->bus->sb_adapter_softc;
1035 nvme_op_sq_enter(struct nvme_softc *sc,
1043 nvme_op_sq_enter_locked(struct nvme_softc *sc,
1050 nvme_op_sq_leave_locked(struct nvme_softc *sc,
1063 nvme_op_sq_leave(struct nvme_softc *sc,
1071 nvme_q_submit(struct nvme_softc *sc, struct nvme_queue *q, struct nvme_ccb *ccb,
1072 void (*fill)(struct nvme_softc *, struct nvme_ccb *, void *))
1098 nvme_poll(struct nvme_softc *sc, struct nvme_queue *q, struct nvme_ccb *ccb,
1099 void (*fill)(struct nvme_softc *, struct nvme_ccb *, void *), u_int32_t ms)
1102 void (*done)(struct nvme_softc *, struct nvme_ccb *, struct nvme_cqe *);
1134 nvme_poll_fill(struct nvme_softc *sc, struct nvme_ccb *ccb, void *slot)
1143 nvme_poll_done(struct nvme_softc *sc, struct nvme_ccb *ccb,
1153 nvme_sqe_fill(struct nvme_softc *sc, struct nvme_ccb *ccb, void *slot)
1162 nvme_empty_done(struct nvme_softc *sc, struct nvme_ccb *ccb,
1168 nvme_op_cq_done(struct nvme_softc *sc,
1175 nvme_q_complete(struct nvme_softc *sc, struct nvme_queue *q)
1218 nvme_identify(struct nvme_softc *sc, u_int mpsmin)
1285 nvme_q_create(struct nvme_softc *sc, struct nvme_queue *q)
1329 nvme_q_delete(struct nvme_softc *sc, struct nvme_queue *q)
1369 nvme_fill_identify(struct nvme_softc *sc, struct nvme_ccb *ccb, void *slot)
1380 nvme_ccbs_alloc(struct nvme_softc *sc, u_int nccbs)
1429 struct nvme_softc *sc = cookie;
1444 struct nvme_softc *sc = cookie;
1453 nvme_ccbs_free(struct nvme_softc *sc, unsigned int nccbs)
1467 nvme_q_alloc(struct nvme_softc *sc, u_int16_t id, u_int entries, u_int dstrd)
1520 nvme_q_reset(struct nvme_softc *sc, struct nvme_queue *q)
1536 nvme_q_free(struct nvme_softc *sc, struct nvme_queue *q)
1552 struct nvme_softc *sc = xsc;
1566 struct nvme_softc *sc = xsc;
1577 nvme_dmamem_alloc(struct nvme_softc *sc, size_t size)
1620 nvme_dmamem_sync(struct nvme_softc *sc, struct nvme_dmamem *mem, int ops)
1627 nvme_dmamem_free(struct nvme_softc *sc, struct nvme_dmamem *ndm)
1639 nvme_hibernate_admin_cmd(struct nvme_softc *sc, struct nvme_sqe *sqe,
1690 struct nvme_softc *sc;
1722 my->sc = (struct nvme_softc *)disk->dv_parent->dv_parent;
1860 struct nvme_softc *sc = (struct nvme_softc *)self;
1901 nvme_bioctl_sdname(const struct nvme_softc *sc, int target)
1921 nvme_bioctl_inq(struct nvme_softc *sc, struct bioc_inq *bi)
1991 nvme_bioctl_vol(struct nvme_softc *sc, struct bioc_vol *bv)
2029 nvme_bioctl_disk(struct nvme_softc *sc, struct bioc_disk *bd)