Lines Matching refs:mlx_softc

72 static int			mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
73 static int mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
74 static void mlx_v3_intaction(struct mlx_softc *sc, int action);
75 static int mlx_v3_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int first);
77 static int mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
78 static int mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
79 static void mlx_v4_intaction(struct mlx_softc *sc, int action);
80 static int mlx_v4_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int first);
82 static int mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
83 static int mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
84 static void mlx_v5_intaction(struct mlx_softc *sc, int action);
85 static int mlx_v5_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int first);
92 static void mlx_periodic_eventlog_poll(struct mlx_softc *sc);
99 static void mlx_pause_action(struct mlx_softc *sc);
105 static void *mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize,
107 static int mlx_flush(struct mlx_softc *sc);
108 static int mlx_check(struct mlx_softc *sc, int drive);
109 static int mlx_rebuild(struct mlx_softc *sc, int channel, int target);
115 static void mlx_startio(struct mlx_softc *sc);
117 static int mlx_user_command(struct mlx_softc *sc,
125 static struct mlx_command *mlx_alloccmd(struct mlx_softc *sc);
137 static int mlx_shutdown_locked(struct mlx_softc *sc);
139 static int mlx_done(struct mlx_softc *sc, int startio);
140 static void mlx_complete(struct mlx_softc *sc);
146 static void mlx_describe_controller(struct mlx_softc *sc);
147 static int mlx_fw_message(struct mlx_softc *sc, int status, int param1, int param2);
152 static struct mlx_sysdrive *mlx_findunit(struct mlx_softc *sc, int unit);
166 mlx_free(struct mlx_softc *sc)
229 struct mlx_softc *sc = (struct mlx_softc *)arg;
238 mlx_sglist_map(struct mlx_softc *sc)
307 mlx_attach(struct mlx_softc *sc)
525 mlx_startup(struct mlx_softc *sc)
593 struct mlx_softc *sc = device_get_softc(dev);
638 struct mlx_softc *sc = device_get_softc(dev);
648 mlx_shutdown_locked(struct mlx_softc *sc)
687 struct mlx_softc *sc = device_get_softc(dev);
710 struct mlx_softc *sc = device_get_softc(dev);
729 struct mlx_softc *sc = (struct mlx_softc *)arg;
744 mlx_submit_buf(struct mlx_softc *sc, struct bio *bp)
762 struct mlx_softc *sc = dev->si_drv1;
778 struct mlx_softc *sc = dev->si_drv1;
794 struct mlx_softc *sc = dev->si_drv1;
1002 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd,
1072 struct mlx_softc *sc = (struct mlx_softc *)data;
1146 struct mlx_softc *sc = mc->mc_sc;
1288 mlx_periodic_eventlog_poll(struct mlx_softc *sc)
1349 struct mlx_softc *sc = mc->mc_sc;
1423 struct mlx_softc *sc = mc->mc_sc;
1472 mlx_pause_action(struct mlx_softc *sc)
1532 struct mlx_softc *sc = mc->mc_sc;
1558 struct mlx_softc *sc;
1598 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc))
1653 mlx_flush(struct mlx_softc *sc)
1696 mlx_check(struct mlx_softc *sc, int drive)
1740 mlx_rebuild(struct mlx_softc *sc, int channel, int target)
1785 struct mlx_softc *sc = mc->mc_sc;
1820 struct mlx_softc *sc = mc->mc_sc;
1850 struct mlx_softc *sc;
1918 mlx_startio(struct mlx_softc *sc)
1968 struct mlx_softc *sc = mc->mc_sc;
2051 mlx_user_command(struct mlx_softc *sc, struct mlx_usercommand *mu)
2146 struct mlx_softc *sc = mc->mc_sc;
2195 struct mlx_softc *sc = mc->mc_sc;
2233 struct mlx_softc *sc = mc->mc_sc;
2257 struct mlx_softc *sc = mc->mc_sc;
2300 mlx_done(struct mlx_softc *sc, int startio)
2350 mlx_complete(struct mlx_softc *sc)
2415 mlx_alloccmd(struct mlx_softc *sc)
2463 struct mlx_softc *sc = mc->mc_sc;
2482 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2507 mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status)
2530 mlx_v3_intaction(struct mlx_softc *sc, int action)
2553 mlx_v3_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2,
2597 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2626 mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status)
2649 mlx_v4_intaction(struct mlx_softc *sc, int action)
2672 mlx_v4_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2,
2716 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2741 mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status)
2764 mlx_v5_intaction(struct mlx_softc *sc, int action)
2787 mlx_v5_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2,
2933 mlx_describe_controller(struct mlx_softc *sc)
3007 mlx_fw_message(struct mlx_softc *sc, int error, int param1, int param2)
3061 mlx_findunit(struct mlx_softc *sc, int unit)