⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bttv-cards.c

📁 V4l driver for DVB HD
💻 C
📖 第 1 页 / 共 5 页
字号:
		.tuner          = 0,		.svhs           = 2,		.gpiomask       = 7,		.muxsel         = { 2, 3, 1, 1 },   /* Tuner, SVid, SVHS, SVid to SVHS connector */		.gpiomux        = { 0, 0, 4, 4 },/* Yes, this tuner uses the same audio output for TV and FM radio!						* This card lacks external Audio In, so we mute it on Ext. & Int.						* The PCB can take a sbx1637/sbx1673, wiring unknown.						* This card lacks PCI subsystem ID, sigh.						* gpiomux =1: lower volume, 2+3: mute						* btwincap uses 0x80000/0x80003						*/		.gpiomute 	= 4,		.needs_tvaudio  = 0,		.no_msp34xx     = 1,		.pll            = PLL_28,		.tuner_type     = 5,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		/* Samsung TCPA9095PC27A (BG+DK), philips compatible, w/FM, stereo and		radio signal strength indicators work fine. */		.has_radio	= 1,		/* GPIO Info:			GPIO0,1:   HEF4052 A0,A1			GPIO2:     HEF4052 nENABLE			GPIO3-7:   n.c.			GPIO8-13:  IRDC357 data0-5 (data6 n.c. ?) [chip not present on my card]			GPIO14,15: ??			GPIO16-21: n.c.			GPIO22,23: ??			??       : mtu8b56ep microcontroller for IR (GPIO wiring unknown)*/	},	[BTTV_BOARD_DSP_TCVIDEO] = {		/* Arthur Tetzlaff-Deas, DSP Design Ltd <software@dspdesign.com> */		.name           = "DSP Design TCVIDEO",		.video_inputs   = 4,		.svhs           = -1,		.muxsel         = { 2, 3, 1, 0 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,	},		/* ---- card 0x50 ---------------------------------- */	[BTTV_BOARD_HAUPPAUGEPVR] = {		.name           = "Hauppauge WinTV PVR",		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 2,		.muxsel         = { 2, 0, 1, 1 },		.needs_tvaudio  = 1,		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.gpiomask       = 7,		.gpiomux        = {7},	},	[BTTV_BOARD_GVBCTV5PCI] = {		.name           = "IODATA GV-BCTV5/PCI",		.video_inputs   = 3,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 2,		.gpiomask       = 0x0f0f80,		.muxsel         = {2, 3, 1, 0 },		.gpiomux        = {0x030000, 0x010000, 0, 0 },		.gpiomute 	= 0x020000,		.no_msp34xx     = 1,		.pll            = PLL_28,		.tuner_type     = TUNER_PHILIPS_NTSC_M,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.audio_hook     = gvbctv5pci_audio,		.has_radio      = 1,	},	[BTTV_BOARD_OSPREY1x0] = {		.name           = "Osprey 100/150 (878)", /* 0x1(2|3)-45C6-C1 */		.video_inputs   = 4,                  /* id-inputs-clock */		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = 3,		.muxsel         = { 3, 2, 0, 1 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY1x0_848] = {		.name           = "Osprey 100/150 (848)", /* 0x04-54C0-C1 & older boards */		.video_inputs   = 3,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = 2,		.muxsel         = { 2, 3, 1 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},		/* ---- card 0x54 ---------------------------------- */	[BTTV_BOARD_OSPREY101_848] = {		.name           = "Osprey 101 (848)", /* 0x05-40C0-C1 */		.video_inputs   = 2,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 3, 1 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY1x1] = {		.name           = "Osprey 101/151",       /* 0x1(4|5)-0004-C4 */		.video_inputs   = 1,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = -1,		.muxsel         = { 0 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY1x1_SVID] = {		.name           = "Osprey 101/151 w/ svid",  /* 0x(16|17|20)-00C4-C1 */		.video_inputs   = 2,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 0, 1 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY2xx] = {		.name           = "Osprey 200/201/250/251",  /* 0x1(8|9|E|F)-0004-C4 */		.video_inputs   = 1,		.audio_inputs   = 1,		.tuner          = -1,		.svhs           = -1,		.muxsel         = { 0 },		.pll            = PLL_28,		.tuner_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},		/* ---- card 0x58 ---------------------------------- */	[BTTV_BOARD_OSPREY2x0_SVID] = {		.name           = "Osprey 200/250",   /* 0x1(A|B)-00C4-C1 */		.video_inputs   = 2,		.audio_inputs   = 1,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 0, 1 },		.pll            = PLL_28,		.tuner_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY2x0] = {		.name           = "Osprey 210/220",   /* 0x1(A|B)-04C0-C1 */		.video_inputs   = 2,		.audio_inputs   = 1,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 2, 3 },		.pll            = PLL_28,		.tuner_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY500] = {		.name           = "Osprey 500",   /* 500 */		.video_inputs   = 2,		.audio_inputs   = 1,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 2, 3 },		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	},	[BTTV_BOARD_OSPREY540] = {		.name           = "Osprey 540",   /* 540 */		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = -1,	#if 0 /* TODO ... */		.svhs           = OSPREY540_SVID_ANALOG,		.muxsel         = {       [OSPREY540_COMP_ANALOG] = 2,					[OSPREY540_SVID_ANALOG] = 3, },	#endif		.pll            = PLL_28,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,	#if 0 /* TODO ... */		.muxsel_hook    = osprey_540_muxsel,		.picture_hook   = osprey_540_set_picture,	#endif	},		/* ---- card 0x5C ---------------------------------- */	[BTTV_BOARD_OSPREY2000] = {		.name           = "Osprey 2000",  /* 2000 */		.video_inputs   = 2,		.audio_inputs   = 1,		.tuner          = -1,		.svhs           = 1,		.muxsel         = { 2, 3 },		.pll            = PLL_28,		.tuner_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,      /* must avoid, conflicts with the bt860 */	},	[BTTV_BOARD_IDS_EAGLE] = {		/* M G Berberich <berberic@forwiss.uni-passau.de> */		.name           = "IDS Eagle",		.video_inputs   = 4,		.audio_inputs   = 0,		.tuner          = -1,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.svhs           = -1,		.gpiomask       = 0,		.muxsel         = { 0, 1, 2, 3 },		.muxsel_hook    = eagle_muxsel,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.pll            = PLL_28,	},	[BTTV_BOARD_PINNACLESAT] = {		.name           = "Pinnacle PCTV Sat",		.video_inputs   = 2,		.audio_inputs   = 0,		.svhs           = 1,		.tuner          = -1,		.tuner_type     = -1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,		.muxsel         = { 3, 0, 1, 2 },		.pll            = PLL_28,		.no_gpioirq     = 1,		.has_dvb        = 1,	},	[BTTV_BOARD_FORMAC_PROTV] = {		.name           = "Formac ProTV II (bt878)",		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 3,		.gpiomask       = 2,		/* TV, Comp1, Composite over SVID con, SVID */		.muxsel         = { 2, 3, 1, 1 },		.gpiomux        = { 2, 2, 0, 0 },		.pll            = PLL_28,		.has_radio      = 1,		.tuner_type     = TUNER_PHILIPS_PAL,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,	/* sound routing:		GPIO=0x00,0x01,0x03: mute (?)		0x02: both TV and radio (tuner: FM1216/I)		The card has onboard audio connectors labeled "cdrom" and "board",		not soldered here, though unknown wiring.		Card lacks: external audio in, pci subsystem id.	*/	},		/* ---- card 0x60 ---------------------------------- */	[BTTV_BOARD_MACHTV] = {		.name           = "MachTV",		.video_inputs   = 3,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = -1,		.gpiomask       = 7,		.muxsel         = { 2, 3, 1, 1},		.gpiomux        = { 0, 1, 2, 3},		.gpiomute 	= 4,		.needs_tvaudio  = 1,		.tuner_type     = 5,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.pll            = PLL_28,	},	[BTTV_BOARD_EURESYS_PICOLO] = {		.name           = "Euresys Picolo",		.video_inputs   = 3,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = 2,		.gpiomask       = 0,		.no_msp34xx     = 1,		.no_tda9875     = 1,		.no_tda7432     = 1,		.muxsel         = { 2, 0, 1},		.pll            = PLL_28,		.tuner_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,	},	[BTTV_BOARD_PV150] = {		/* Luc Van Hoeylandt <luc@e-magic.be> */		.name           = "ProVideo PV150", /* 0x4f */		.video_inputs   = 2,		.audio_inputs   = 0,		.tuner          = -1,		.svhs           = -1,		.gpiomask       = 0,		.muxsel         = { 2, 3 },		.gpiomux        = { 0 },		.needs_tvaudio  = 0,		.no_msp34xx     = 1,		.pll            = PLL_28,		.tuner_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,	},	[BTTV_BOARD_AD_TVK503] = {		/* Hiroshi Takekawa <sian@big.or.jp> */		/* This card lacks subsystem ID */		.name           = "AD-TVK503", /* 0x63 */		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 2,		.gpiomask       = 0x001e8007,		.muxsel         = { 2, 3, 1, 0 },		/*                  Tuner, Radio, external, internal, off,  on */		.gpiomux        = { 0x08,  0x0f,  0x0a,     0x08 },		.gpiomute 	= 0x0f,		.needs_tvaudio  = 0,		.no_msp34xx     = 1,		.pll            = PLL_28,		.tuner_type     = 2,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.audio_hook	= adtvk503_audio,	},		/* ---- card 0x64 ---------------------------------- */	[BTTV_BOARD_HERCULES_SM_TV] = {		.name           = "Hercules Smart TV Stereo",		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 2,		.gpiomask       = 0x00,		.muxsel         = { 2, 3, 1, 1 },		.needs_tvaudio  = 1,		.no_msp34xx     = 1,		.pll            = PLL_28,		.tuner_type     = 5,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		/* Notes:		- card lacks subsystem ID		- stereo variant w/ daughter board with tda9874a @0xb0		- Audio Routing:			always from tda9874 independent of GPIO (?)			external line in: unknown		- Other chips: em78p156elp @ 0x96 (probably IR remote control)			hef4053 (instead 4052) for unknown function		*/	},	[BTTV_BOARD_PACETV] = {		.name           = "Pace TV & Radio Card",		.video_inputs   = 4,		.audio_inputs   = 1,		.tuner          = 0,		.svhs           = 2,		.muxsel         = { 2, 3, 1, 1 }, /* Tuner, CVid, SVid, CVid over SVid connector */		.gpiomask       = 0,		.no_tda9875     = 1,		.no_tda7432     = 1,		.tuner_type     = 1,		.tuner_addr	= ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.has_radio      = 1,		.pll            = PLL_28,		/* Bt878, Bt832, FI1246 tuner; no pci subsystem id		only internal line out: (4pin header) RGGL		Radio must be decoded by msp3410d (not routed through)*/		/*		.digital_mode   = DIGITAL_MODE_CAMERA,  todo!		*/	},	[BTTV_BOARD_IVC200] = {		/* Chris Willing <chris@vislab.us

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -