Lines Matching refs:mlx_command
68 static int mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
73 static int mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
78 static int mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
87 static void mlx_periodic_enquiry(struct mlx_command *mc);
89 static void mlx_periodic_eventlog_respond(struct mlx_command *mc);
90 static void mlx_periodic_rebuild(struct mlx_command *mc);
96 static void mlx_pause_done(struct mlx_command *mc);
102 void (*complete)(struct mlx_command *mc));
106 static int mlx_wait_command(struct mlx_command *mc);
107 static int mlx_poll_command(struct mlx_command *mc);
112 static void mlx_completeio(struct mlx_command *mc);
121 static struct mlx_command *mlx_alloccmd(struct mlx_softc *sc);
122 static void mlx_releasecmd(struct mlx_command *mc);
123 static void mlx_freecmd(struct mlx_command *mc);
128 static int mlx_getslot(struct mlx_command *mc);
129 static void mlx_setup_dmamap(struct mlx_command *mc,
132 static void mlx_unmapcmd(struct mlx_command *mc);
134 static int mlx_start(struct mlx_command *mc);
141 static char *mlx_diagnose_command(struct mlx_command *mc);
164 struct mlx_command *mc;
1133 mlx_periodic_enquiry(struct mlx_command *mc)
1252 struct mlx_command *mc;
1254 mc = (struct mlx_command *)arg;
1279 struct mlx_command *mc;
1336 mlx_periodic_eventlog_respond(struct mlx_command *mc)
1410 mlx_periodic_rebuild(struct mlx_command *mc)
1463 struct mlx_command *mc;
1519 mlx_pause_done(struct mlx_command *mc)
1548 struct mlx_command *mc;
1550 mc = (struct mlx_command *)arg;
1587 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc))
1589 struct mlx_command *mc;
1644 struct mlx_command *mc;
1687 struct mlx_command *mc;
1731 struct mlx_command *mc;
1772 mlx_wait_command(struct mlx_command *mc)
1807 mlx_poll_command(struct mlx_command *mc)
1837 struct mlx_command *mc;
1845 mc = (struct mlx_command *)arg;
1909 struct mlx_command *mc;
1955 mlx_completeio(struct mlx_command *mc)
1991 struct mlx_command *mc;
1994 mc = (struct mlx_command *)arg;
2042 struct mlx_command *mc;
2133 mlx_getslot(struct mlx_command *mc)
2181 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments,
2220 mlx_unmapcmd(struct mlx_command *mc)
2244 mlx_start(struct mlx_command *mc)
2291 struct mlx_command *mc;
2341 struct mlx_command *mc, *nc;
2403 static struct mlx_command *
2406 struct mlx_command *mc;
2417 mc = (struct mlx_command *)malloc(sizeof(*mc), M_DEVBUF, M_NOWAIT | M_ZERO);
2437 mlx_releasecmd(struct mlx_command *mc)
2450 mlx_freecmd(struct mlx_command *mc)
2471 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2586 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2705 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc)
2885 mlx_diagnose_command(struct mlx_command *mc)