linux/drivers/media/pci/mantis/mantis_dma.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
	Mantis PCI bridge driver

	Copyright (C) Manu Abraham ([email protected])

*/

#include <linux/kernel.h>
#include <asm/page.h>
#include <linux/vmalloc.h>
#include <linux/pci.h>

#include <asm/irq.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/interrupt.h>

#include <media/dmxdev.h>
#include <media/dvbdev.h>
#include <media/dvb_demux.h>
#include <media/dvb_frontend.h>
#include <media/dvb_net.h>

#include "mantis_common.h"
#include "mantis_reg.h"
#include "mantis_dma.h"

#define RISC_WRITE
#define RISC_JUMP
#define RISC_IRQ

#define RISC_STATUS(status)
#define RISC_FLUSH(risc_pos)
#define RISC_INSTR(risc_pos, opcode)

#define MANTIS_BUF_SIZE
#define MANTIS_BLOCK_BYTES
#define MANTIS_DMA_TR_BYTES
#define MANTIS_BLOCK_COUNT

#define MANTIS_DMA_TR_UNITS
/* MANTIS_BUF_SIZE / MANTIS_DMA_TR_UNITS must not exceed MANTIS_RISC_SIZE (4k RISC cmd buffer) */
#define MANTIS_RISC_SIZE

int mantis_dma_exit(struct mantis_pci *mantis)
{}
EXPORT_SYMBOL_GPL();

static inline int mantis_alloc_buffers(struct mantis_pci *mantis)
{}

int mantis_dma_init(struct mantis_pci *mantis)
{}
EXPORT_SYMBOL_GPL();

static inline void mantis_risc_program(struct mantis_pci *mantis)
{}

void mantis_dma_start(struct mantis_pci *mantis)
{}

void mantis_dma_stop(struct mantis_pci *mantis)
{}


void mantis_dma_xfer(struct work_struct *t)
{}