#include <linux/dma-mapping.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include "pt3.h"
#define PT3_ACCESS_UNIT …
#define PT3_BUF_CANARY …
static u32 get_dma_base(int idx)
{ … }
int pt3_stop_dma(struct pt3_adapter *adap)
{ … }
int pt3_start_dma(struct pt3_adapter *adap)
{ … }
static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs)
{ … }
int pt3_proc_dma(struct pt3_adapter *adap)
{ … }
void pt3_init_dmabuf(struct pt3_adapter *adap)
{ … }
void pt3_free_dmabuf(struct pt3_adapter *adap)
{ … }
int pt3_alloc_dmabuf(struct pt3_adapter *adap)
{ … }