{ AUD_AFE_12DB_EN,         0x00000001}, { AUD_RATE_ADJ1, 	   0x00000060 }, { AUD_RATE_ADJ2,	   0x000000F9 }, { AUD_RATE_ADJ3, 	   0x000001CC }, { AUD_RATE_ADJ4, 	   0x000002B3 }, { AUD_RATE_ADJ5, 	   0x00000726 }, { AUD_DEEMPHDENOM1_R, 	   0x0000F3D0 }, { AUD_DEEMPHDENOM2_R, 	   0x00000000 }, { AUD_ERRLOGPERIOD_R, 	   0x00000064 }, { AUD_ERRINTRPTTHSHLD1_R,  0x00000FFF }, { AUD_ERRINTRPTTHSHLD2_R,  0x0000001F }, { AUD_ERRINTRPTTHSHLD3_R,  0x0000000F }, { AUD_POLYPH80SCALEFAC,    0x00000003 }, { AUD_DMD_RA_DDS,          0x00C00000 }, { AUD_PLL_INT,             0x0000001E }, { AUD_PLL_DDS,             0x00000000 }, { AUD_PLL_FRAC,            0x0000E542 }, { AUD_START_TIMER, 	   0x00000000 }, { AUD_DEEMPHNUMER1_R,      0x000353DE }, { AUD_DEEMPHNUMER2_R,      0x000001B1 }, { AUD_PDF_DDS_CNST_BYTE2,  0x06 }, { AUD_PDF_DDS_CNST_BYTE1,  0x82 }, { AUD_PDF_DDS_CNST_BYTE0,  0x12 }, { AUD_QAM_MODE, 	   0x05 }, { AUD_PHACC_FREQ_8MSB,     0x34 }, { AUD_PHACC_FREQ_8LSB,     0x4C }, { AUD_DEEMPHGAIN_R, 	   0x00006680 }, { AUD_RATE_THRES_DMD,      0x000000C0  }, { /* end of list */ }, } ; 
{AUD_AFE_12DB_EN, 0x00000001}, {AUD_RATE_ADJ1, 0x00000060}, {AUD_RATE_ADJ2, 0x000000F9}, {AUD_RATE_ADJ3, 0x000001CC}, {AUD_RATE_ADJ4, 0x000002B3}, {AUD_RATE_ADJ5, 0x00000726}, {AUD_DEEMPHDENOM1_R, 0x0000F3D0}, {AUD_DEEMPHDENOM2_R, 0x00000000}, {AUD_ERRLOGPERIOD_R, 0x00000064}, {AUD_ERRINTRPTTHSHLD1_R, 0x00000FFF}, {AUD_ERRINTRPTTHSHLD2_R, 0x0000001F}, {AUD_ERRINTRPTTHSHLD3_R, 0x0000000F}, {AUD_POLYPH80SCALEFAC, 0x00000003}, {AUD_DMD_RA_DDS, 0x00C00000}, {AUD_PLL_INT, 0x0000001E}, {AUD_PLL_DDS, 0x00000000}, {AUD_PLL_FRAC, 0x0000E542}, {AUD_START_TIMER, 0x00000000}, {AUD_DEEMPHNUMER1_R, 0x000353DE}, {AUD_DEEMPHNUMER2_R, 0x000001B1}, {AUD_PDF_DDS_CNST_BYTE2, 0x06}, {AUD_PDF_DDS_CNST_BYTE1, 0x82}, {AUD_PDF_DDS_CNST_BYTE0, 0x12}, {AUD_QAM_MODE, 0x05}, {AUD_PHACC_FREQ_8MSB, 0x34}, {AUD_PHACC_FREQ_8LSB, 0x4C}, {AUD_DEEMPHGAIN_R, 0x00006680}, {AUD_RATE_THRES_DMD, 0x000000C0}, { /* end of list */ }, }; 
static void set_audio_standard_NICAM(struct cx88_core *core, u32 mode){	static const struct rlist nicam_l[] = {	{ AUD_AFE_12DB_EN,         0x00000001},	{ AUD_RATE_ADJ1, 	   0x00000060 },	{ AUD_RATE_ADJ2,	   0x000000F9 },	{ AUD_RATE_ADJ3, 	   0x000001CC },	{ AUD_RATE_ADJ4, 	   0x000002B3 },	{ AUD_RATE_ADJ5, 	   0x00000726 },	{ AUD_DEEMPHDENOM1_R, 	   0x0000F3D0 },	{ AUD_DEEMPHDENOM2_R, 	   0x00000000 },	{ AUD_ERRLOGPERIOD_R, 	   0x00000064 },	{ AUD_ERRINTRPTTHSHLD1_R,  0x00000FFF },	{ AUD_ERRINTRPTTHSHLD2_R,  0x0000001F },	{ AUD_ERRINTRPTTHSHLD3_R,  0x0000000F },	{ AUD_POLYPH80SCALEFAC,    0x00000003 },	{ AUD_DMD_RA_DDS,          0x00C00000 },	{ AUD_PLL_INT,             0x0000001E },	{ AUD_PLL_DDS,             0x00000000 },	{ AUD_PLL_FRAC,            0x0000E542 },	{ AUD_START_TIMER, 	   0x00000000 },	{ AUD_DEEMPHNUMER1_R,      0x000353DE },	{ AUD_DEEMPHNUMER2_R,      0x000001B1 },	{ AUD_PDF_DDS_CNST_BYTE2,  0x06 },	{ AUD_PDF_DDS_CNST_BYTE1,  0x82 },	{ AUD_PDF_DDS_CNST_BYTE0,  0x12 },	{ AUD_QAM_MODE, 	   0x05 },	{ AUD_PHACC_FREQ_8MSB,     0x34 },	{ AUD_PHACC_FREQ_8LSB,     0x4C },	{ AUD_DEEMPHGAIN_R, 	   0x00006680 },	{ AUD_RATE_THRES_DMD,      0x000000C0  },	{ /* end of list */ },	} ;	static const struct rlist nicam_bgdki_common[] = {	{ AUD_AFE_12DB_EN,         0x00000001},	{ AUD_RATE_ADJ1,           0x00000010 },	{ AUD_RATE_ADJ2,           0x00000040 },	{ AUD_RATE_ADJ3,           0x00000100 },	{ AUD_RATE_ADJ4,           0x00000400 },	{ AUD_RATE_ADJ5,           0x00001000 },	//{ AUD_DMD_RA_DDS,        0x00c0d5ce },	{ AUD_ERRLOGPERIOD_R,	   0x00000fff},	{ AUD_ERRINTRPTTHSHLD1_R,  0x000003ff},	{ AUD_ERRINTRPTTHSHLD2_R,  0x000000ff},	{ AUD_ERRINTRPTTHSHLD3_R,  0x0000003f},	{ AUD_POLYPH80SCALEFAC,    0x00000003},	{ AUD_DEEMPHGAIN_R,        0x000023c2},	{ AUD_DEEMPHNUMER1_R,      0x0002a7bc},	{ AUD_DEEMPHNUMER2_R,      0x0003023e},	{ AUD_DEEMPHDENOM1_R,      0x0000f3d0},	{ AUD_DEEMPHDENOM2_R,      0x00000000},	{ AUD_PDF_DDS_CNST_BYTE1,  0x82 },	{ AUD_PDF_DDS_CNST_BYTE0,  0x16 },	{ AUD_QAM_MODE,            0x05 },	{ /* end of list */ },	};	static const struct rlist nicam_i[] = {	{ AUD_PDF_DDS_CNST_BYTE0,  0x12 },	{ AUD_PHACC_FREQ_8MSB,     0x3a },	{ AUD_PHACC_FREQ_8LSB,     0x93 },	{ /* end of list */ },	};	static const struct rlist nicam_default[] = {	{ AUD_PDF_DDS_CNST_BYTE0,  0x16 },	{ AUD_PHACC_FREQ_8MSB,     0x34 },	{ AUD_PHACC_FREQ_8LSB,     0x4c },	{ /* end of list */ },	};	switch (core->tvaudio) {	case WW_L:		dprintk("%s SECAM-L NICAM (status: devel)\n",__FUNCTION__);		set_audio_registers(core, nicam_l);		break;	case WW_I:		dprintk("%s PAL-I NICAM (status: devel)\n",__FUNCTION__);		set_audio_registers(core, nicam_bgdki_common);		set_audio_registers(core, nicam_i);		break;	default:		dprintk("%s PAL-BGDK NICAM (status: unknown)\n",__FUNCTION__);		set_audio_registers(core, nicam_bgdki_common);		set_audio_registers(core, nicam_default);		break;	};	mode |= EN_DMTRX_LR | EN_DMTRX_BYPASS;	set_audio_finish(core, mode);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7b3c6d659fc392cfd80e57840c10ccd4c6ab62c5/cx88-tvaudio.c/buggy/drivers/media/video/cx88/cx88-tvaudio.c