Lines Matching refs:mpr_command

215 struct mpr_command;
225 typedef void mpr_command_callback_t(struct mpr_softc *, struct mpr_command *cm);
244 struct mpr_command { struct
245 TAILQ_ENTRY(mpr_command) cm_link;
246 TAILQ_ENTRY(mpr_command) cm_recovery;
377 struct mpr_command *commands;
385 TAILQ_HEAD(, mpr_command) req_list;
386 TAILQ_HEAD(, mpr_command) high_priority_req_list;
389 TAILQ_HEAD(, mpr_command) tm_list;
616 mpr_free_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_command()
653 static __inline struct mpr_command *
656 struct mpr_command *cm; in mpr_alloc_command()
674 mpr_free_high_priority_command(struct mpr_softc *sc, struct mpr_command *cm) in mpr_free_high_priority_command()
701 static __inline struct mpr_command *
704 struct mpr_command *cm; in mpr_alloc_high_priority_command()
828 void mpr_build_nvme_prp(struct mpr_softc *sc, struct mpr_command *cm,
831 int mpr_push_sge(struct mpr_command *, MPI2_SGE_SIMPLE64 *, size_t, int);
832 int mpr_push_ieee_sge(struct mpr_command *, void *, int);
833 int mpr_add_dmaseg(struct mpr_command *, vm_paddr_t, size_t, u_int, int);
840 void mpr_init_sge(struct mpr_command *cm, void *req, void *sge);
846 int mpr_map_command(struct mpr_softc *sc, struct mpr_command *cm);
847 int mpr_wait_command(struct mpr_softc *sc, struct mpr_command **cm, int timeout,
849 int mpr_request_polled(struct mpr_softc *sc, struct mpr_command **cm);
915 struct mpr_command * mprsas_alloc_tm(struct mpr_softc *sc);
916 void mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm);
918 int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,