#define FC_LOG_PREFIX …
#include "flexcop-common.h"
static int enable_pid_filtering = …;
module_param(enable_pid_filtering, int, 0444);
MODULE_PARM_DESC(…) …;
static int irq_chk_intv = …;
module_param(irq_chk_intv, int, 0644);
MODULE_PARM_DESC(…) …;
#ifdef CONFIG_DVB_B2C2_FLEXCOP_DEBUG
#define dprintk(level, args...) …
#define DEBSTATUS …
#else
#define dprintk …
#define DEBSTATUS …
#endif
#define deb_info(args...) …
#define deb_reg(args...) …
#define deb_ts(args...) …
#define deb_irq(args...) …
#define deb_chk(args...) …
static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
#define DRIVER_VERSION …
#define DRIVER_NAME …
#define DRIVER_AUTHOR …
struct flexcop_pci { … };
static int lastwreg, lastwval, lastrreg, lastrval;
static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc,
flexcop_ibi_register r)
{ … }
static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc,
flexcop_ibi_register r, flexcop_ibi_value v)
{ … }
static void flexcop_pci_irq_check_work(struct work_struct *work)
{ … }
static irqreturn_t flexcop_pci_isr(int irq, void *dev_id)
{ … }
static int flexcop_pci_stream_control(struct flexcop_device *fc, int onoff)
{ … }
static int flexcop_pci_dma_init(struct flexcop_pci *fc_pci)
{ … }
static void flexcop_pci_dma_exit(struct flexcop_pci *fc_pci)
{ … }
static int flexcop_pci_init(struct flexcop_pci *fc_pci)
{ … }
static void flexcop_pci_exit(struct flexcop_pci *fc_pci)
{ … }
static int flexcop_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{ … }
static void flexcop_pci_remove(struct pci_dev *pdev)
{ … }
static const struct pci_device_id flexcop_pci_tbl[] = …;
MODULE_DEVICE_TABLE(pci, flexcop_pci_tbl);
static struct pci_driver flexcop_pci_driver = …;
module_pci_driver(…) …;
MODULE_AUTHOR(…);
MODULE_DESCRIPTION(…);
MODULE_LICENSE(…) …;