As Clive says, it's done on the card.
All the Mesa cards I've looked at have an FPGA which will handle all the time critical stuff, and motion will be buffered to the FPGA.

It's how pretty much all external motion controllers work.