Lines Matching refs:mpr_command
179 struct mpr_command;
189 typedef void mpr_command_callback_t(struct mpr_softc *, struct mpr_command *cm);
208 struct mpr_command { struct
209 TAILQ_ENTRY(mpr_command) cm_link;
210 TAILQ_ENTRY(mpr_command) cm_recovery;
336 struct mpr_command *commands;
348 TAILQ_HEAD(, mpr_command) req_list;
349 TAILQ_HEAD(, mpr_command) high_priority_req_list;
352 TAILQ_HEAD(, mpr_command) tm_list;
568 mpr_free_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_command()
604 static __inline struct mpr_command *
607 struct mpr_command *cm; in mpr_alloc_command()
622 mpr_free_high_priority_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_high_priority_command()
645 static __inline struct mpr_command *
648 struct mpr_command *cm; in mpr_alloc_high_priority_command()
765 void mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm,
768 int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
769 int mpr_push_ieee_sge(struct mpr_command *, void *, int);
770 int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
777 void mpr_init_sge(struct mpr_command *cm, void *req, void *sge);
783 int mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm);
784 int mpr_wait_command(struct mpr_softc *sc, struct mpr_command **cm, int timeout,
786 int mpr_request_polled(struct mpr_softc *sc, struct mpr_command **cm);
850 struct mpr_command * mprsas_alloc_tm(struct mpr_softc *sc);
851 void mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm);
853 int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,