#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/dma-mapping.h>
#include <linux/slab.h>
#include "demux.h"
#include "dmxdev.h"
#include "dvb_demux.h"
#include "dvb_frontend.h"
#include "dvb_net.h"
#include "dvbdev.h"
#include "tda1004x.h"
Go to the source code of this file.
#define DRIVER_NAME "pluto2" |
#define I2C_ADDR_TDA10046 0x10 |
#define I2C_ADDR_TUA6034 0xc2 |
#define MISC_ALED (0x0001 << 3) |
#define MISC_DVR (0x0fff << 4) |
#define MISC_FRST (0x0001 << 2) |
#define MISC_LED0 (0x0001 << 0) |
#define MISC_LED1 (0x0001 << 1) |
#define PCI_DEVICE_ID_PLUTO2 0x0001 |
#define PCI_VENDOR_ID_SCM 0x0432 |
#define PID0_AFIL (0x0001 << 13) |
#define PID0_END (0x0001 << 14) |
#define PID0_NOFIL (0x0001 << 16) |
#define PIDn_ENP (0x0001 << 15) |
#define PIDn_PID (0x1fff << 0) |
#define REG_IMAC 0x0030 /* ISB MAC address */ |
#define REG_LMAC 0x0034 /* LSB MAC address */ |
#define REG_MISC 0x0028 /* miscellaneous */ |
#define REG_MMAC 0x002c /* MSB MAC address */ |
#define REG_PCAR 0x0020 /* PC address register */ |
#define REG_SLCS 0x003c /* serial links ctrl/status */ |
#define REG_SPID 0x0038 /* SPI data */ |
#define REG_TSCR 0x0024 /* TS ctrl & status */ |
#define SLCS_CSN (0x0001 << 2) |
#define SLCS_OVR (0x0001 << 1) |
#define SLCS_SCL (0x0001 << 7) |
#define SLCS_SDA (0x0001 << 6) |
#define SLCS_SWC (0x0001 << 0) |
#define SPID_SPIDR (0x00ff << 0) |
#define TS_DMA_PACKETS (8) |
#define TSCR_ADEF (0x007f << 0) |
#define TSCR_AFUL (0x0001 << 10) |
#define TSCR_DE (0x0001 << 16) |
#define TSCR_DEM (0x0001 << 17) |
#define TSCR_IACK (0x0001 << 8) |
#define TSCR_LOCK (0x0001 << 9) |
#define TSCR_MSKA (0x0001 << 13) |
#define TSCR_MSKL (0x0001 << 12) |
#define TSCR_MSKO (0x0001 << 14) |
#define TSCR_NBPACKETS (0x00ff << 24) |
#define TSCR_OVR (0x0001 << 11) |
#define TSCR_RSTN (0x0001 << 15) |
DVB_DEFINE_MOD_OPT_ADAPTER_NR |
( |
adapter_nr |
| ) |
|
MODULE_DESCRIPTION |
( |
"Pluto2 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
pluto2_id_table |
|
|
) |
| |
module_exit |
( |
pluto2_exit |
| ) |
|
module_init |
( |
pluto2_init |
| ) |
|