cx88-cards.c

来自「trident tm5600的linux驱动」· C语言 代码 · 共 2,578 行 · 第 1/5 页

C
2,578
字号
			.gpio0	= 0x0f0d,		},{			.type   = CX88_VMUX_CABLE,			.vmux   = 0,			.gpio0	= 0x0f05,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0	= 0x0f00,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0	= 0x0f00,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_HAUPPAUGE_DVB_T1] = {		.name           = "Hauppauge Nova-T DVB-T",		.tuner_type     = TUNER_ABSENT,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_DVB,			.vmux   = 0,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_CONEXANT_DVB_T1] = {		.name           = "Conexant DVB-T reference design",		.tuner_type     = TUNER_ABSENT,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_DVB,			.vmux   = 0,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_PROVIDEO_PV259] = {		.name		= "Provideo PV259",		.tuner_type     = TUNER_PHILIPS_FQ1216ME,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.audioroute = 1,		}},		.mpeg           = CX88_MPEG_BLACKBIRD,	},	[CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS] = {		.name           = "DViCO FusionHDTV DVB-T Plus",		.tuner_type     = TUNER_ABSENT, /* No analog tuner */		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x000027df,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x000027df,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_DNTV_LIVE_DVB_T] = {		.name		= "digitalnow DNTV Live! DVB-T",		.tuner_type     = TUNER_ABSENT,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input		= {{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x00000700,			.gpio2  = 0x00000101,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x00000700,			.gpio2  = 0x00000101,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_PCHDTV_HD3000] = {		.name           = "pcHDTV HD3000 HDTV",		.tuner_type     = TUNER_THOMSON_DTT761X,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		/* GPIO[2] = audio source for analog audio out connector		 *  0 = analog audio input connector		 *  1 = CX88 audio DACs		 *		 * GPIO[7] = input to CX88's audio/chroma ADC		 *  0 = FM 10.7 MHz IF		 *  1 = Sound 4.5 MHz IF		 *		 * GPIO[1,5,6] = Oren 51132 pins 27,35,28 respectively		 *		 * GPIO[16] = Remote control input		 */		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x00008484,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x00008400,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x00008400,		}},		.radio = {			.type   = CX88_RADIO,			.gpio0  = 0x00008404,		},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_HAUPPAUGE_ROSLYN] = {		// entry added by Kaustubh D. Bhalerao <bhalerao.1@osu.edu>		// GPIO values obtained from regspy, courtesy Sean Covel		.name           = "Hauppauge WinTV 28xxx (Roslyn) models",		.tuner_type     = UNSET,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0xed1a,			.gpio2  = 0x00ff,		},{			.type   = CX88_VMUX_DEBUG,			.vmux   = 0,			.gpio0  = 0xff01,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0xff02,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0xed92,			.gpio2  = 0x00ff,		}},		.radio = {			 .type   = CX88_RADIO,			 .gpio0  = 0xed96,			 .gpio2  = 0x00ff,		 },		.mpeg           = CX88_MPEG_BLACKBIRD,	},	[CX88_BOARD_DIGITALLOGIC_MEC] = {		.name           = "Digital-Logic MICROSPACE Entertainment Center (MEC)",		.tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x00009d80,			.audioroute = 1,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x00009d76,			.audioroute = 1,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x00009d76,			.audioroute = 1,		}},		.radio = {			.type   = CX88_RADIO,			.gpio0  = 0x00009d00,			.audioroute = 1,		},		.mpeg           = CX88_MPEG_BLACKBIRD,	},	[CX88_BOARD_IODATA_GVBCTV7E] = {		.name           = "IODATA GV/BCTV7E",		.tuner_type     = TUNER_PHILIPS_FQ1286,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 1,			.gpio1  = 0x0000e03f,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 2,			.gpio1  = 0x0000e07f,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 3,			.gpio1  = 0x0000e07f,		}}	},	[CX88_BOARD_PIXELVIEW_PLAYTV_ULTRA_PRO] = {		.name           = "PixelView PlayTV Ultra Pro (Stereo)",		/* May be also TUNER_YMEC_TVF_5533MF for NTSC/M or PAL/M */		.tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0xbf61,  /* internal decoder */		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0	= 0xbf63,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0	= 0xbf63,		}},		.radio = {			 .type  = CX88_RADIO,			 .gpio0 = 0xbf60,		 },	},	[CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_T] = {		.name           = "DViCO FusionHDTV 3 Gold-T",		.tuner_type     = TUNER_THOMSON_DTT761X,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x97ed,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x97e9,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x97e9,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_ADSTECH_DVB_T_PCI] = {		.name           = "ADS Tech Instant TV DVB-T PCI",		.tuner_type     = TUNER_ABSENT,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x0700,			.gpio2  = 0x0101,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x0700,			.gpio2  = 0x0101,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1] = {		.name           = "TerraTec Cinergy 1400 DVB-T",		.tuner_type     = TUNER_ABSENT,		.input          = {{			.type   = CX88_VMUX_DVB,			.vmux   = 0,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 2,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_DVICO_FUSIONHDTV_5_GOLD] = {		.name           = "DViCO FusionHDTV 5 Gold",		.tuner_type     = TUNER_LG_TDVS_H06XF, /* TDVS-H062F */		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x87fd,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x87f9,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x87f9,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_AVERMEDIA_ULTRATV_MC_550] = {		.name           = "AverMedia UltraTV Media Center PCI 550",		.tuner_type     = TUNER_PHILIPS_FM1236_MK3,		.radio_type     = UNSET,		.tuner_addr     = ADDR_UNSET,		.radio_addr     = ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 0,			.gpio0  = 0x0000cd73,			.audioroute = 1,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 1,			.gpio0  = 0x0000cd73,			.audioroute = 1,		},{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 3,			.gpio0  = 0x0000cdb3,			.audioroute = 1,		}},		.radio = {			.type   = CX88_RADIO,			.vmux   = 2,			.gpio0  = 0x0000cdf3,			.audioroute = 1,		},		.mpeg           = CX88_MPEG_BLACKBIRD,	},	[CX88_BOARD_KWORLD_VSTREAM_EXPERT_DVD] = {		 /* Alexander Wold <awold@bigfoot.com> */		 .name           = "Kworld V-Stream Xpert DVD",		 .tuner_type     = UNSET,		 .input          = {{			 .type   = CX88_VMUX_COMPOSITE1,			 .vmux   = 1,			 .gpio0  = 0x03000000,			 .gpio1  = 0x01000000,			 .gpio2  = 0x02000000,			 .gpio3  = 0x00100000,		 },{			 .type   = CX88_VMUX_SVIDEO,			 .vmux   = 2,			 .gpio0  = 0x03000000,			 .gpio1  = 0x01000000,			 .gpio2  = 0x02000000,			 .gpio3  = 0x00100000,		 }},	},	[CX88_BOARD_ATI_HDTVWONDER] = {		.name           = "ATI HDTV Wonder",		.tuner_type     = TUNER_PHILIPS_TUV1236D,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x00000ff7,			.gpio1  = 0x000000ff,			.gpio2  = 0x00000001,			.gpio3  = 0x00000000,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x00000ffe,			.gpio1  = 0x000000ff,			.gpio2  = 0x00000001,			.gpio3  = 0x00000000,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x00000ffe,			.gpio1  = 0x000000ff,			.gpio2  = 0x00000001,			.gpio3  = 0x00000000,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_WINFAST_DTV1000] = {		.name           = "WinFast DTV1000-T",		.tuner_type     = TUNER_ABSENT,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input          = {{			.type   = CX88_VMUX_DVB,			.vmux   = 0,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_AVERTV_303] = {		.name           = "AVerTV 303 (M126)",		.tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,		.radio_type     = UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input          = {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,			.gpio0  = 0x00ff,			.gpio1  = 0xe09f,			.gpio2  = 0x0010,			.gpio3  = 0x0000,		},{			.type   = CX88_VMUX_COMPOSITE1,			.vmux   = 1,			.gpio0  = 0x00ff,			.gpio1  = 0xe05f,			.gpio2  = 0x0010,			.gpio3  = 0x0000,		},{			.type   = CX88_VMUX_SVIDEO,			.vmux   = 2,			.gpio0  = 0x00ff,			.gpio1  = 0xe05f,			.gpio2  = 0x0010,			.gpio3  = 0x0000,		}},	},	[CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1] = {		.name		= "Hauppauge Nova-S-Plus DVB-S",		.tuner_type	= TUNER_ABSENT,		.radio_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input		= {{			.type	= CX88_VMUX_DVB,			.vmux	= 0,		},{			.type	= CX88_VMUX_COMPOSITE1,			.vmux	= 1,		},{			.type	= CX88_VMUX_SVIDEO,			.vmux	= 2,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_HAUPPAUGE_NOVASE2_S1] = {		.name		= "Hauppauge Nova-SE2 DVB-S",		.tuner_type	= TUNER_ABSENT,		.radio_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input		= {{			.type	= CX88_VMUX_DVB,			.vmux	= 0,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_KWORLD_DVBS_100] = {		.name		= "KWorld DVB-S 100",		.tuner_type	= TUNER_ABSENT,		.radio_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.input		= {{			.type	= CX88_VMUX_DVB,			.vmux	= 0,		},{			.type	= CX88_VMUX_COMPOSITE1,			.vmux	= 1,		},{			.type	= CX88_VMUX_SVIDEO,			.vmux	= 2,		}},		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_HAUPPAUGE_HVR1100] = {		.name		= "Hauppauge WinTV-HVR1100 DVB-T/Hybrid",		.tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,		.radio_type	= UNSET,		.tuner_addr	= ADDR_UNSET,		.radio_addr	= ADDR_UNSET,		.tda9887_conf   = TDA9887_PRESENT,		.input		= {{			.type   = CX88_VMUX_TELEVISION,			.vmux   = 0,		},{			.type	= CX88_VMUX_COMPOSITE1,			.vmux	= 1,		},{			.type	= CX88_VMUX_SVIDEO,			.vmux	= 2,		}},		/* fixme: Add radio support */		.mpeg           = CX88_MPEG_DVB,	},	[CX88_BOARD_HAUPPAUGE_HVR1100LP] = {		.name		= "Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profile)",		.tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,		.radio_type	= UNSET,

⌨️ 快捷键说明

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