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;
376 struct mpr_command *commands;
384 TAILQ_HEAD(, mpr_command) req_list;
385 TAILQ_HEAD(, mpr_command) high_priority_req_list;
388 TAILQ_HEAD(, mpr_command) tm_list;
615 mpr_free_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_command()
652 static __inline struct mpr_command *
655 struct mpr_command *cm; in mpr_alloc_command()
673 mpr_free_high_priority_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_high_priority_command()
700 static __inline struct mpr_command *
703 struct mpr_command *cm; in mpr_alloc_high_priority_command()
827 void mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm,
830 int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
831 int mpr_push_ieee_sge(struct mpr_command *, void *, int);
832 int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
839 void mpr_init_sge(struct mpr_command *cm, void *req, void *sge);
845 int mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm);
846 int mpr_wait_command(struct mpr_softc *sc, struct mpr_command **cm, int timeout,
848 int mpr_request_polled(struct mpr_softc *sc, struct mpr_command **cm);
914 struct mpr_command * mprsas_alloc_tm(struct mpr_softc *sc);
915 void mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm);
917 int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,