saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? 0xbf : 0xbb); 
saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? SAA7134_MUTE_MASK | SAA7134_MUTE_ANALOG | SAA7134_MUTE_I2S : SAA7134_MUTE_MASK); 
static void mute_input_7134(struct saa7134_dev *dev){	unsigned int mute;	struct saa7134_input *in;	int ausel=0, ics=0, ocs=0;	int mask;	/* look what is to do ... */	in   = dev->input;	mute = (dev->ctl_mute ||		(dev->automute  &&  (&card(dev).radio) != in));	if (card(dev).mute.name) {		/*		 * 7130 - we'll mute using some unconnected audio input		 * 7134 - we'll probably should switch external mux with gpio		 */		if (mute)			in = &card(dev).mute;	}	if (dev->hw_mute  == mute &&		dev->hw_input == in) {		dprintk("mute/input: nothing to do [mute=%d,input=%s]\n",			mute,in->name);		return;	}	dprintk("ctl_mute=%d automute=%d input=%s  =>  mute=%d input=%s\n",		dev->ctl_mute,dev->automute,dev->input->name,mute,in->name);	dev->hw_mute  = mute;	dev->hw_input = in;	if (PCI_DEVICE_ID_PHILIPS_SAA7134 == dev->pci->device)		/* 7134 mute */		saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? 0xbf : 0xbb);	/* switch internal audio mux */	switch (in->amux) {	case TV:         ausel=0xc0; ics=0x00; ocs=0x02; break;	case LINE1:      ausel=0x80; ics=0x00; ocs=0x00; break;	case LINE2:      ausel=0x80; ics=0x08; ocs=0x01; break;	case LINE2_LEFT: ausel=0x80; ics=0x08; ocs=0x05; break;	}	saa_andorb(SAA7134_AUDIO_FORMAT_CTRL, 0xc0, ausel);	saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x08, ics);	saa_andorb(SAA7134_ANALOG_IO_SELECT, 0x07, ocs);	// for oss, we need to change the clock configuration	if (in->amux == TV)		saa_andorb(SAA7134_SIF_SAMPLE_FREQ,   0x03, 0x00);	else		saa_andorb(SAA7134_SIF_SAMPLE_FREQ,   0x03, 0x01);	/* switch gpio-connected external audio mux */	if (0 == card(dev).gpiomask)		return;	mask = card(dev).gpiomask;	saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   mask, mask);	saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, mask, in->gpio);	saa7134_track_gpio(dev,in->name);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1eaad5b113811db7fdb6d02e1c8d9ff7c8ba6919/saa7134-tvaudio.c/buggy/drivers/media/video/saa7134/saa7134-tvaudio.c