Lines Matching refs:mps_command
185 struct mps_command;
195 typedef void mps_command_callback_t(struct mps_softc *, struct mps_command *cm);
208 struct mps_command { struct
209 TAILQ_ENTRY(mps_command) cm_link;
210 TAILQ_ENTRY(mps_command) cm_recovery;
333 struct mps_command *commands;
340 TAILQ_HEAD(, mps_command) req_list;
341 TAILQ_HEAD(, mps_command) high_priority_req_list;
343 TAILQ_HEAD(, mps_command) tm_list;
545 mps_free_command(struct mps_softc *sc, struct mps_command *cm) in mps_free_command()
576 static __inline struct mps_command *
579 struct mps_command *cm; in mps_alloc_command()
595 mps_free_high_priority_command(struct mps_softc *sc, struct mps_command *cm) in mps_free_high_priority_command()
619 static __inline struct mps_command *
622 struct mps_command *cm; in mps_alloc_high_priority_command()
749 int mps_push_sge(struct mps_command *, void *, size_t, int);
750 int mps_add_dmaseg(struct mps_command *, vm_paddr_t, size_t, u_int, int);
757 void mpi_init_sge(struct mps_command *cm, void *req, void *sge);
763 int mps_map_command(struct mps_softc *sc, struct mps_command *cm);
764 int mps_wait_command(struct mps_softc *sc, struct mps_command **cm, int timeout,
824 struct mps_command * mpssas_alloc_tm(struct mps_softc *sc);
825 void mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm);
827 int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm,