Lines Matching refs:mpr_command

213 struct mpr_command;
223 typedef void mpr_command_callback_t(struct mpr_softc *, struct mpr_command *cm);
242 struct mpr_command { struct
243 TAILQ_ENTRY(mpr_command) cm_link;
244 TAILQ_ENTRY(mpr_command) cm_recovery;
375 struct mpr_command *commands;
383 TAILQ_HEAD(, mpr_command) req_list;
384 TAILQ_HEAD(, mpr_command) high_priority_req_list;
387 TAILQ_HEAD(, mpr_command) tm_list;
614 mpr_free_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_command()
651 static __inline struct mpr_command *
654 struct mpr_command *cm; in mpr_alloc_command()
672 mpr_free_high_priority_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_high_priority_command()
699 static __inline struct mpr_command *
702 struct mpr_command *cm; in mpr_alloc_high_priority_command()
826 void mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm,
829 int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
830 int mpr_push_ieee_sge(struct mpr_command *, void *, int);
831 int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
838 void mpr_init_sge(struct mpr_command *cm, void *req, void *sge);
844 int mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm);
845 int mpr_wait_command(struct mpr_softc *sc, struct mpr_command **cm, int timeout,
847 int mpr_request_polled(struct mpr_softc *sc, struct mpr_command **cm);
913 struct mpr_command * mprsas_alloc_tm(struct mpr_softc *sc);
914 void mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm);
916 int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,