Lines Matching refs:mlx_command
72 static int mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
77 static int mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
82 static int mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc);
91 static void mlx_periodic_enquiry(struct mlx_command *mc);
93 static void mlx_periodic_eventlog_respond(struct mlx_command *mc);
94 static void mlx_periodic_rebuild(struct mlx_command *mc);
100 static void mlx_pause_done(struct mlx_command *mc);
106 void (*complete)(struct mlx_command *mc));
110 static int mlx_wait_command(struct mlx_command *mc);
111 static int mlx_poll_command(struct mlx_command *mc);
116 static void mlx_completeio(struct mlx_command *mc);
125 static struct mlx_command *mlx_alloccmd(struct mlx_softc *sc);
126 static void mlx_releasecmd(struct mlx_command *mc);
127 static void mlx_freecmd(struct mlx_command *mc);
132 static int mlx_getslot(struct mlx_command *mc);
133 static void mlx_setup_dmamap(struct mlx_command *mc,
136 static void mlx_unmapcmd(struct mlx_command *mc);
138 static int mlx_start(struct mlx_command *mc);
145 static char *mlx_diagnose_command(struct mlx_command *mc);
168 struct mlx_command *mc; in mlx_free()
1144 mlx_periodic_enquiry(struct mlx_command *mc) in mlx_periodic_enquiry()
1263 struct mlx_command *mc; in mlx_eventlog_cb()
1265 mc = (struct mlx_command *)arg; in mlx_eventlog_cb()
1290 struct mlx_command *mc; in mlx_periodic_eventlog_poll()
1347 mlx_periodic_eventlog_respond(struct mlx_command *mc) in mlx_periodic_eventlog_respond()
1421 mlx_periodic_rebuild(struct mlx_command *mc) in mlx_periodic_rebuild()
1474 struct mlx_command *mc; in mlx_pause_action()
1530 mlx_pause_done(struct mlx_command *mc) in mlx_pause_done()
1559 struct mlx_command *mc; in mlx_enquire_cb()
1561 mc = (struct mlx_command *)arg; in mlx_enquire_cb()
1598 mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command… in mlx_enquire()
1600 struct mlx_command *mc; in mlx_enquire()
1655 struct mlx_command *mc; in mlx_flush()
1698 struct mlx_command *mc; in mlx_check()
1742 struct mlx_command *mc; in mlx_rebuild()
1783 mlx_wait_command(struct mlx_command *mc) in mlx_wait_command()
1818 mlx_poll_command(struct mlx_command *mc) in mlx_poll_command()
1848 struct mlx_command *mc; in mlx_startio_cb()
1856 mc = (struct mlx_command *)arg; in mlx_startio_cb()
1920 struct mlx_command *mc; in mlx_startio()
1966 mlx_completeio(struct mlx_command *mc) in mlx_completeio()
2002 struct mlx_command *mc; in mlx_user_cb()
2005 mc = (struct mlx_command *)arg; in mlx_user_cb()
2053 struct mlx_command *mc; in mlx_user_command()
2144 mlx_getslot(struct mlx_command *mc) in mlx_getslot()
2192 mlx_setup_dmamap(struct mlx_command *mc, bus_dma_segment_t *segs, int nsegments, in mlx_setup_dmamap()
2231 mlx_unmapcmd(struct mlx_command *mc) in mlx_unmapcmd()
2255 mlx_start(struct mlx_command *mc) in mlx_start()
2302 struct mlx_command *mc; in mlx_done()
2352 struct mlx_command *mc, *nc; in mlx_complete()
2414 static struct mlx_command *
2417 struct mlx_command *mc; in mlx_alloccmd()
2428 mc = (struct mlx_command *)malloc(sizeof(*mc), M_DEVBUF, M_NOWAIT | M_ZERO); in mlx_alloccmd()
2448 mlx_releasecmd(struct mlx_command *mc) in mlx_releasecmd()
2461 mlx_freecmd(struct mlx_command *mc) in mlx_freecmd()
2482 mlx_v3_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v3_tryqueue()
2597 mlx_v4_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v4_tryqueue()
2716 mlx_v5_tryqueue(struct mlx_softc *sc, struct mlx_command *mc) in mlx_v5_tryqueue()
2896 mlx_diagnose_command(struct mlx_command *mc) in mlx_diagnose_command()