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; in mlx_free()
1133 mlx_periodic_enquiry(struct mlx_command *mc) in mlx_periodic_enquiry()
1252 struct mlx_command *mc; in mlx_eventlog_cb()
1254 mc = (struct mlx_command *)arg; in mlx_eventlog_cb()
1279 struct mlx_command *mc; in mlx_periodic_eventlog_poll()
1336 mlx_periodic_eventlog_respond(struct mlx_command *mc) in mlx_periodic_eventlog_respond()
1410 mlx_periodic_rebuild(struct mlx_command *mc) in mlx_periodic_rebuild()
1463 struct mlx_command *mc; in mlx_pause_action()
1519 mlx_pause_done(struct mlx_command *mc) in mlx_pause_done()
1548 struct mlx_command *mc; in mlx_enquire_cb()
1550 mc = (struct mlx_command *)arg; in mlx_enquire_cb()
1587 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command… in mlx_enquire()
1589 struct mlx_command *mc; in mlx_enquire()
1644 struct mlx_command *mc; in mlx_flush()
1687 struct mlx_command *mc; in mlx_check()
1731 struct mlx_command *mc; in mlx_rebuild()
1772 mlx_wait_command(struct mlx_command *mc) in mlx_wait_command()
1807 mlx_poll_command(struct mlx_command *mc) in mlx_poll_command()
1837 struct mlx_command *mc; in mlx_startio_cb()
1845 mc = (struct mlx_command *)arg; in mlx_startio_cb()
1909 struct mlx_command *mc; in mlx_startio()
1955 mlx_completeio(struct mlx_command *mc) in mlx_completeio()
1991 struct mlx_command *mc; in mlx_user_cb()
1994 mc = (struct mlx_command *)arg; in mlx_user_cb()
2042 struct mlx_command *mc; in mlx_user_command()
2133 mlx_getslot(struct mlx_command *mc) in mlx_getslot()
2181 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments, in mlx_setup_dmamap()
2220 mlx_unmapcmd(struct mlx_command *mc) in mlx_unmapcmd()
2244 mlx_start(struct mlx_command *mc) in mlx_start()
2291 struct mlx_command *mc; in mlx_done()
2341 struct mlx_command *mc, *nc; in mlx_complete()
2403 static struct mlx_command *
2406 struct mlx_command *mc; in mlx_alloccmd()
2417 mc = (struct mlx_command *)malloc(sizeof(*mc), M_DEVBUF, M_NOWAIT | M_ZERO); in mlx_alloccmd()
2437 mlx_releasecmd(struct mlx_command *mc) in mlx_releasecmd()
2450 mlx_freecmd(struct mlx_command *mc) in mlx_freecmd()
2471 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v3_tryqueue()
2586 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v4_tryqueue()
2705 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v5_tryqueue()
2885 mlx_diagnose_command(struct mlx_command *mc) in mlx_diagnose_command()