mfi_command
static void mfi_add_ld_complete(struct mfi_command *);
struct mfi_command *cm = NULL;
static void mfi_add_sys_pd_complete(struct mfi_command *);
static struct mfi_command * mfi_bio_command(struct mfi_softc *);
static void mfi_bio_complete(struct mfi_command *);
static struct mfi_command *mfi_build_ldio(struct mfi_softc *,struct bio*);
struct mfi_command *cm = NULL;
static struct mfi_command *mfi_build_syspdio(struct mfi_softc *,struct bio*);
static int mfi_send_frame(struct mfi_softc *, struct mfi_command *);
static int mfi_std_send_frame(struct mfi_softc *, struct mfi_command *);
static int mfi_abort(struct mfi_softc *, struct mfi_command **);
mfi_wait_command(struct mfi_softc *sc, struct mfi_command *cm)
struct mfi_command *cm;
static int mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm);
static void mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm);
struct mfi_command *cm;
static int mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm);
struct mfi_command *cm;
struct mfi_command *cm = NULL;
struct mfi_command *cm = NULL;
struct mfi_command *cm;
mfi_aen_complete(struct mfi_command *cm)
struct mfi_command *cm;
struct mfi_command *cm;
mfi_add_ld_complete(struct mfi_command *cm)
struct mfi_command *cm;
mfi_add_sys_pd_complete(struct mfi_command *cm)
static struct mfi_command *
struct mfi_command *cm = NULL;
static struct mfi_command *
struct mfi_command *cm;
static struct mfi_command *
struct mfi_command *cm;
mfi_bio_complete(struct mfi_command *cm)
struct mfi_command *cm;
mfi_mapcmd(struct mfi_softc *sc, struct mfi_command *cm)
struct mfi_command *cm;
cm = (struct mfi_command *)arg;
mfi_send_frame(struct mfi_softc *sc, struct mfi_command *cm)
mfi_std_send_frame(struct mfi_softc *sc, struct mfi_command *cm)
mfi_complete(struct mfi_softc *sc, struct mfi_command *cm)
mfi_abort(struct mfi_softc *sc, struct mfi_command **cm_abort)
struct mfi_command *cm;
struct mfi_command *cm;
struct mfi_command *cm;
mfi_check_command_pre(struct mfi_softc *sc, struct mfi_command *cm)
mfi_check_command_post(struct mfi_softc *sc, struct mfi_command *cm)
mfi_check_for_sscd(struct mfi_softc *sc, struct mfi_command *cm)
struct mfi_command *ld_cm = NULL;
mfi_stp_cmd(struct mfi_softc *sc, struct mfi_command *cm,caddr_t arg)
struct mfi_command *cm;
struct mfi_command *cm = NULL;
struct mfi_command *cm = NULL;
struct mfi_command *cm;
struct mfi_command *cm, *tmp;
struct mfi_command *cm;
mfi_release_command(struct mfi_command *cm)
mfi_dcmd_command(struct mfi_softc *sc, struct mfi_command **cmp,
struct mfi_command *cm;
struct mfi_command *cm;
static void mfi_aen_complete(struct mfi_command *);
static struct mfi_command *
struct mfi_command *cm;
mfip_done(struct mfi_command *cm)
static struct mfi_command * mfip_start(void *);
static void mfip_done(struct mfi_command *cm);
mfi_print_ldio(struct mfi_softc *sc, device_t dev, struct mfi_command *cm)
mfi_print_dcmd(struct mfi_softc *sc, device_t dev, struct mfi_command *cm)
mfi_print_generic_frame(struct mfi_softc *sc, struct mfi_command *cm)
mfi_print_cmd(struct mfi_command *cm)
mfi_validate_sg(struct mfi_softc *sc, struct mfi_command *cm,
mfi_build_and_issue_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd)
mfi_tbolt_build_mpt_cmd(struct mfi_softc *sc, struct mfi_command *cmd)
mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm)
struct mfi_command *cm, *tmp;
struct mfi_command *cmd = NULL;
struct mfi_command *cm = NULL;
mfi_sync_map_complete(struct mfi_command *cm)
struct mfi_command *cm, cmd_tmp;
struct mfi_cmd_tbolt *mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *);
map_tbolt_cmd_status(struct mfi_command *mfi_cmd, uint8_t status,
int mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
*sc, struct mfi_command *cmd);
struct mfi_command *mfi_cmd)
struct mfi_command *cmd_mfi; /* For MFA Cmds */
mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd);
*sc, struct mfi_command *mfi_cmd);
void mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
static int mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command
map_tbolt_cmd_status(struct mfi_command *mfi_cmd, uint8_t status,
mfi_tbolt_get_cmd(struct mfi_softc *sc, struct mfi_command *mfi_cmd)
static void mfi_sync_map_complete(struct mfi_command *);
mfi_build_mpt_pass_thru(struct mfi_softc *sc, struct mfi_command *mfi_cmd)
mfi_tbolt_build_ldio(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
mfi_tbolt_build_io(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
mfi_tbolt_make_sgl(struct mfi_softc *sc, struct mfi_command *mfi_cmd,
void (* cm_complete)(struct mfi_command *cm);
TAILQ_HEAD(,mfi_command) mfi_free;
TAILQ_HEAD(,mfi_command) mfi_ready;
TAILQ_HEAD(BUSYQ,mfi_command) mfi_busy;
struct mfi_command *mfi_aen_cm;
struct mfi_command *mfi_skinny_cm;
struct mfi_command *mfi_map_sync_cm;
struct mfi_command *mfi_commands;
struct mfi_command * (* mfi_cam_start)(void *);
extern void mfi_complete(struct mfi_softc *sc, struct mfi_command *cm);
extern int mfi_mapcmd(struct mfi_softc *sc,struct mfi_command *cm);
extern int mfi_wait_command(struct mfi_softc *sc, struct mfi_command *cm);
extern int mfi_tbolt_send_frame(struct mfi_softc *sc, struct mfi_command *cm);
extern int mfi_dcmd_command(struct mfi_softc *, struct mfi_command **,
mfi_enqueue_ ## name (struct mfi_command *cm) \
mfi_requeue_ ## name (struct mfi_command *cm) \
static __inline struct mfi_command * \
struct mfi_command *cm; \
mfi_remove_ ## name (struct mfi_command *cm) \
extern void mfi_print_cmd(struct mfi_command *cm);
extern void mfi_validate_sg(struct mfi_softc *, struct mfi_command *,
extern void mfi_release_command(struct mfi_command *);
struct mfi_cmd_tbolt *, struct mfi_command *);
TAILQ_ENTRY(mfi_command) cm_link;