Lines Matching defs:mpr_command
212 struct mpr_command;
222 typedef void mpr_command_callback_t(struct mpr_softc *, struct mpr_command *cm);
241 struct mpr_command {
242 TAILQ_ENTRY(mpr_command) cm_link;
243 TAILQ_ENTRY(mpr_command) cm_recovery;
372 struct mpr_command *commands;
380 TAILQ_HEAD(, mpr_command) req_list;
381 TAILQ_HEAD(, mpr_command) high_priority_req_list;
384 TAILQ_HEAD(, mpr_command) tm_list;
611 mpr_free_command(struct mpr_softc *sc, struct mpr_command *cm)
647 static __inline struct mpr_command *
650 struct mpr_command *cm;
666 mpr_free_high_priority_command(struct mpr_softc *sc, struct mpr_command *cm)
689 static __inline struct mpr_command *
692 struct mpr_command *cm;
812 void mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm,
815 int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
816 int mpr_push_ieee_sge(struct mpr_command *, void *, int);
817 int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
824 void mpr_init_sge(struct mpr_command *cm, void *req, void *sge);
830 int mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm);
831 int mpr_wait_command(struct mpr_softc *sc, struct mpr_command **cm, int timeout,
833 int mpr_request_polled(struct mpr_softc *sc, struct mpr_command **cm);
899 struct mpr_command * mprsas_alloc_tm(struct mpr_softc *sc);
900 void mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm);
902 int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,