Lines Matching refs:mlx_softc

68 static int			mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
69 static int mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
70 static void mlx_v3_intaction(struct mlx_softc *sc, int action);
71 static int mlx_v3_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int fi…
73 static int mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
74 static int mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
75 static void mlx_v4_intaction(struct mlx_softc *sc, int action);
76 static int mlx_v4_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int fi…
78 static int mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
79 static int mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status);
80 static void mlx_v5_intaction(struct mlx_softc *sc, int action);
81 static int mlx_v5_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, int fi…
88 static void mlx_periodic_eventlog_poll(struct mlx_softc *sc);
95 static void mlx_pause_action(struct mlx_softc *sc);
101 static void *mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize,
103 static int mlx_flush(struct mlx_softc *sc);
104 static int mlx_check(struct mlx_softc *sc, int drive);
105 static int mlx_rebuild(struct mlx_softc *sc, int channel, int target);
111 static void mlx_startio(struct mlx_softc *sc);
113 static int mlx_user_command(struct mlx_softc *sc,
121 static struct mlx_command *mlx_alloccmd(struct mlx_softc *sc);
133 static int mlx_shutdown_locked(struct mlx_softc *sc);
135 static int mlx_done(struct mlx_softc *sc, int startio);
136 static void mlx_complete(struct mlx_softc *sc);
142 static void mlx_describe_controller(struct mlx_softc *sc);
143 static int mlx_fw_message(struct mlx_softc *sc, int status, int param1, int param2);
148 static struct mlx_sysdrive *mlx_findunit(struct mlx_softc *sc, int unit);
162 mlx_free(struct mlx_softc *sc) in mlx_free()
225 struct mlx_softc *sc = (struct mlx_softc *)arg; in mlx_dma_map_sg()
234 mlx_sglist_map(struct mlx_softc *sc) in mlx_sglist_map()
303 mlx_attach(struct mlx_softc *sc) in mlx_attach()
521 mlx_startup(struct mlx_softc *sc) in mlx_startup()
588 struct mlx_softc *sc = device_get_softc(dev); in mlx_detach()
633 struct mlx_softc *sc = device_get_softc(dev); in mlx_shutdown()
643 mlx_shutdown_locked(struct mlx_softc *sc) in mlx_shutdown_locked()
676 struct mlx_softc *sc = device_get_softc(dev); in mlx_suspend()
699 struct mlx_softc *sc = device_get_softc(dev); in mlx_resume()
718 struct mlx_softc *sc = (struct mlx_softc *)arg; in mlx_intr()
733 mlx_submit_buf(struct mlx_softc *sc, struct bio *bp) in mlx_submit_buf()
751 struct mlx_softc *sc = dev->si_drv1; in mlx_open()
767 struct mlx_softc *sc = dev->si_drv1; in mlx_close()
783 struct mlx_softc *sc = dev->si_drv1; in mlx_ioctl()
991 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd, in mlx_submit_ioctl()
1061 struct mlx_softc *sc = (struct mlx_softc *)data; in mlx_periodic()
1135 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_enquiry()
1277 mlx_periodic_eventlog_poll(struct mlx_softc *sc) in mlx_periodic_eventlog_poll()
1338 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_eventlog_respond()
1412 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_rebuild()
1461 mlx_pause_action(struct mlx_softc *sc) in mlx_pause_action()
1521 struct mlx_softc *sc = mc->mc_sc; in mlx_pause_done()
1547 struct mlx_softc *sc; in mlx_enquire_cb()
1587 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command… in mlx_enquire()
1642 mlx_flush(struct mlx_softc *sc) in mlx_flush()
1685 mlx_check(struct mlx_softc *sc, int drive) in mlx_check()
1729 mlx_rebuild(struct mlx_softc *sc, int channel, int target) in mlx_rebuild()
1774 struct mlx_softc *sc = mc->mc_sc; in mlx_wait_command()
1809 struct mlx_softc *sc = mc->mc_sc; in mlx_poll_command()
1839 struct mlx_softc *sc; in mlx_startio_cb()
1907 mlx_startio(struct mlx_softc *sc) in mlx_startio()
1957 struct mlx_softc *sc = mc->mc_sc; in mlx_completeio()
2040 mlx_user_command(struct mlx_softc *sc, struct mlx_usercommand *mu) in mlx_user_command()
2135 struct mlx_softc *sc = mc->mc_sc; in mlx_getslot()
2184 struct mlx_softc *sc = mc->mc_sc; in mlx_setup_dmamap()
2222 struct mlx_softc *sc = mc->mc_sc; in mlx_unmapcmd()
2246 struct mlx_softc *sc = mc->mc_sc; in mlx_start()
2289 mlx_done(struct mlx_softc *sc, int startio) in mlx_done()
2339 mlx_complete(struct mlx_softc *sc) in mlx_complete()
2404 mlx_alloccmd(struct mlx_softc *sc) in mlx_alloccmd()
2452 struct mlx_softc *sc = mc->mc_sc; in mlx_freecmd()
2471 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v3_tryqueue()
2496 mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v3_findcomplete()
2519 mlx_v3_intaction(struct mlx_softc *sc, int action) in mlx_v3_intaction()
2542 mlx_v3_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v3_fw_handshake()
2586 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v4_tryqueue()
2615 mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v4_findcomplete()
2638 mlx_v4_intaction(struct mlx_softc *sc, int action) in mlx_v4_intaction()
2661 mlx_v4_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v4_fw_handshake()
2705 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v5_tryqueue()
2730 mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v5_findcomplete()
2753 mlx_v5_intaction(struct mlx_softc *sc, int action) in mlx_v5_intaction()
2776 mlx_v5_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v5_fw_handshake()
2922 mlx_describe_controller(struct mlx_softc *sc) in mlx_describe_controller()
2996 mlx_fw_message(struct mlx_softc *sc, int error, int param1, int param2) in mlx_fw_message()
3050 mlx_findunit(struct mlx_softc *sc, int unit) in mlx_findunit()