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()
589 struct mlx_softc *sc = device_get_softc(dev); in mlx_detach()
634 struct mlx_softc *sc = device_get_softc(dev); in mlx_shutdown()
644 mlx_shutdown_locked(struct mlx_softc *sc) in mlx_shutdown_locked()
683 struct mlx_softc *sc = device_get_softc(dev); in mlx_suspend()
706 struct mlx_softc *sc = device_get_softc(dev); in mlx_resume()
725 struct mlx_softc *sc = (struct mlx_softc *)arg; in mlx_intr()
740 mlx_submit_buf(struct mlx_softc *sc, struct bio *bp) in mlx_submit_buf()
758 struct mlx_softc *sc = dev->si_drv1; in mlx_open()
774 struct mlx_softc *sc = dev->si_drv1; in mlx_close()
790 struct mlx_softc *sc = dev->si_drv1; in mlx_ioctl()
998 mlx_submit_ioctl(struct mlx_softc *sc, struct mlx_sysdrive *drive, u_long cmd, in mlx_submit_ioctl()
1068 struct mlx_softc *sc = (struct mlx_softc *)data; in mlx_periodic()
1142 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_enquiry()
1284 mlx_periodic_eventlog_poll(struct mlx_softc *sc) in mlx_periodic_eventlog_poll()
1345 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_eventlog_respond()
1419 struct mlx_softc *sc = mc->mc_sc; in mlx_periodic_rebuild()
1468 mlx_pause_action(struct mlx_softc *sc) in mlx_pause_action()
1528 struct mlx_softc *sc = mc->mc_sc; in mlx_pause_done()
1554 struct mlx_softc *sc; in mlx_enquire_cb()
1594 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command… in mlx_enquire()
1649 mlx_flush(struct mlx_softc *sc) in mlx_flush()
1692 mlx_check(struct mlx_softc *sc, int drive) in mlx_check()
1736 mlx_rebuild(struct mlx_softc *sc, int channel, int target) in mlx_rebuild()
1781 struct mlx_softc *sc = mc->mc_sc; in mlx_wait_command()
1816 struct mlx_softc *sc = mc->mc_sc; in mlx_poll_command()
1846 struct mlx_softc *sc; in mlx_startio_cb()
1914 mlx_startio(struct mlx_softc *sc) in mlx_startio()
1964 struct mlx_softc *sc = mc->mc_sc; in mlx_completeio()
2047 mlx_user_command(struct mlx_softc *sc, struct mlx_usercommand *mu) in mlx_user_command()
2142 struct mlx_softc *sc = mc->mc_sc; in mlx_getslot()
2191 struct mlx_softc *sc = mc->mc_sc; in mlx_setup_dmamap()
2229 struct mlx_softc *sc = mc->mc_sc; in mlx_unmapcmd()
2253 struct mlx_softc *sc = mc->mc_sc; in mlx_start()
2296 mlx_done(struct mlx_softc *sc, int startio) in mlx_done()
2346 mlx_complete(struct mlx_softc *sc) in mlx_complete()
2411 mlx_alloccmd(struct mlx_softc *sc) in mlx_alloccmd()
2459 struct mlx_softc *sc = mc->mc_sc; in mlx_freecmd()
2478 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v3_tryqueue()
2503 mlx_v3_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v3_findcomplete()
2526 mlx_v3_intaction(struct mlx_softc *sc, int action) in mlx_v3_intaction()
2549 mlx_v3_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v3_fw_handshake()
2593 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v4_tryqueue()
2622 mlx_v4_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v4_findcomplete()
2645 mlx_v4_intaction(struct mlx_softc *sc, int action) in mlx_v4_intaction()
2668 mlx_v4_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v4_fw_handshake()
2712 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v5_tryqueue()
2737 mlx_v5_findcomplete(struct mlx_softc *sc, u_int8_t *slot, u_int16_t *status) in mlx_v5_findcomplete()
2760 mlx_v5_intaction(struct mlx_softc *sc, int action) in mlx_v5_intaction()
2783 mlx_v5_fw_handshake(struct mlx_softc *sc, int *error, int *param1, int *param2, in mlx_v5_fw_handshake()
2929 mlx_describe_controller(struct mlx_softc *sc) in mlx_describe_controller()
3003 mlx_fw_message(struct mlx_softc *sc, int error, int param1, int param2) in mlx_fw_message()
3057 mlx_findunit(struct mlx_softc *sc, int unit) in mlx_findunit()