mps_command
static __inline void mps_complete_command(struct mps_command *cm);
static void mps_config_complete(struct mps_softc *sc, struct mps_command *cm);
static void mps_enqueue_request(struct mps_softc *sc, struct mps_command *cm);
struct mps_command *cm;
mps_complete_command(struct mps_command *cm)
struct mps_command *cm = NULL;
mps_reregister_events_complete(struct mps_softc *sc, struct mps_command *cm)
struct mps_command *cm;
struct mps_command *cm;
mps_add_chain(struct mps_command *cm)
mps_push_sge(struct mps_command *cm, void *sgep, size_t len, int segsleft)
mps_add_dmaseg(struct mps_command *cm, vm_paddr_t pa, size_t len, u_int flags,
struct mps_command *cm;
cm = (struct mps_command *)arg;
mps_map_command(struct mps_softc *sc, struct mps_command *cm)
mps_wait_command(struct mps_softc *sc, struct mps_command *cm, int timeout)
mps_request_polled(struct mps_softc *sc, struct mps_command *cm)
struct mps_command *cm;
mps_config_complete(struct mps_softc *sc, struct mps_command *cm)
mps_enqueue_request(struct mps_softc *sc, struct mps_command *cm)
struct mps_command *cm;
struct mps_command *cm;
sc->commands = kmalloc(sizeof(struct mps_command) * sc->num_reqs,
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *cm;
struct mps_command *tm = data;
mpssas_logical_unit_reset_complete(struct mps_softc *sc, struct mps_command *tm)
struct mps_command *cm;
mpssas_target_reset_complete(struct mps_softc *sc, struct mps_command *tm)
mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, uint8_t type)
mpssas_abort_complete(struct mps_softc *sc, struct mps_command *tm)
struct mps_command *cm;
static void mpssas_log_command(struct mps_command *, const char *, ...)
static void mpssas_remove_device(struct mps_softc *, struct mps_command *);
static void mpssas_remove_complete(struct mps_softc *, struct mps_command *);
mpssas_send_abort(struct mps_softc *sc, struct mps_command *tm, struct mps_command *cm)
static void mpssas_abort_complete(struct mps_softc *sc, struct mps_command *cm);
struct mps_command *cm, union ccb *ccb);
struct mps_command *cm;
cm = (struct mps_command *)data;
static void mpssas_scsiio_complete(struct mps_softc *, struct mps_command *);
static void mpssas_smpio_complete(struct mps_softc *sc, struct mps_command *cm);
struct mps_command *cm;
static void mpssas_resetdev_complete(struct mps_softc *, struct mps_command *);
static int mpssas_send_abort(struct mps_softc *sc, struct mps_command *tm, struct mps_command *cm);
static int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, uint8_t type);
struct mps_command *cm);
mpssas_scsiio_complete(struct mps_softc *sc, struct mps_command *cm)
mpssas_direct_drive_io(struct mpssas_softc *sassc, struct mps_command *cm,
struct mps_command *
struct mps_command *tm;
mpssas_smpio_complete(struct mps_softc *sc, struct mps_command *cm)
struct mps_command *cm;
mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm)
struct mps_command *tm;
mpssas_resetdev_complete(struct mps_softc *sc, struct mps_command *tm)
mpssas_log_command(struct mps_command *cm, const char *fmt, ...)
struct mps_command *cm;
mpssas_portenable_complete(struct mps_softc *sc, struct mps_command *cm)
mpssas_remove_volume(struct mps_softc *sc, struct mps_command *tm)
struct mps_command *cm;
struct mps_command *cm;
mpssas_remove_device(struct mps_softc *sc, struct mps_command *tm)
struct mps_command *next_cm;
mpssas_remove_complete(struct mps_softc *sc, struct mps_command *tm)
struct mps_command * mpssas_alloc_tm(struct mps_softc *sc);
void mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm);
TAILQ_HEAD(, mps_command) commands;
struct mps_command *tm;
TAILQ_HEAD(, mps_command) timedout_commands;
struct mps_command *cm;
struct mps_command *cm;
mps_print_sgl(struct mps_softc *sc, struct mps_command *cm, int offset)
mps_print_scsiio_cmd(struct mps_softc *sc, struct mps_command *cm)
void mps_print_sgl(struct mps_softc *, struct mps_command *, int);
void mps_print_scsiio_cmd(struct mps_softc *, struct mps_command *);
typedef int (mps_user_f)(struct mps_command *, struct mps_usr_command *);
struct mps_command *cm = NULL;
struct mps_command *cm = NULL;
static int mps_user_setup_request(struct mps_command *,
mpi_init_sge(struct mps_command *cm, void *req, void *sge)
mpi_pre_ioc_facts(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_port_facts(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_fw_download(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_fw_upload(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_sata_passthrough(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_smp_passthrough(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_config(struct mps_command *cm, struct mps_usr_command *cmd)
mpi_pre_sas_io_unit_control(struct mps_command *cm,
mps_user_setup_request(struct mps_command *cm, struct mps_usr_command *cmd)
struct mps_command *cm = NULL;
struct mps_command *cm = NULL;
struct mps_command;
typedef void mps_command_callback_t(struct mps_softc *, struct mps_command *cm);
TAILQ_ENTRY(mps_command) cm_link;
TAILQ_ENTRY(mps_command) cm_recovery;
struct mps_command *commands;
TAILQ_HEAD(, mps_command) req_list;
TAILQ_HEAD(, mps_command) high_priority_req_list;
TAILQ_HEAD(, mps_command) tm_list;
mps_free_command(struct mps_softc *sc, struct mps_command *cm)
static __inline struct mps_command *
struct mps_command *cm;
mps_free_high_priority_command(struct mps_softc *sc, struct mps_command *cm)
static __inline struct mps_command *
struct mps_command *cm;
int mps_push_sge(struct mps_command *, void *, size_t, int);
int mps_add_dmaseg(struct mps_command *, vm_paddr_t, size_t, u_int, int);
void mpi_init_sge(struct mps_command *cm, void *req, void *sge);
int mps_map_command(struct mps_softc *sc, struct mps_command *cm);
int mps_wait_command(struct mps_softc *sc, struct mps_command *cm, int timeout);
int mps_request_polled(struct mps_softc *sc, struct mps_command *cm);