#include <linux/module.h>
#include <linux/slab.h>
#include <linux/comedi/comedidev.h>
#include <linux/comedi/comedi_isadma.h>
#include "ni_labpc.h"
#include "ni_labpc_regs.h"
#include "ni_labpc_isadma.h"
#define LABPC_ISADMA_BUFFER_SIZE …
static unsigned int labpc_suggest_transfer_size(struct comedi_device *dev,
struct comedi_subdevice *s,
unsigned int maxbytes)
{ … }
void labpc_setup_dma(struct comedi_device *dev, struct comedi_subdevice *s)
{ … }
EXPORT_SYMBOL_GPL(…);
void labpc_drain_dma(struct comedi_device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static void handle_isa_dma(struct comedi_device *dev)
{ … }
void labpc_handle_dma_status(struct comedi_device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void labpc_init_dma_chan(struct comedi_device *dev, unsigned int dma_chan)
{ … }
EXPORT_SYMBOL_GPL(…);
void labpc_free_dma_chan(struct comedi_device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __init ni_labpc_isadma_init_module(void)
{ … }
module_init(…) …;
static void __exit ni_labpc_isadma_cleanup_module(void)
{ … }
module_exit(ni_labpc_isadma_cleanup_module);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;