struct cx8800_dev *dev = pci_get_drvdata(pci_dev); 
struct cx8800_dev *dev = pci_get_drvdata(pci_dev); 
static int cx8800_suspend(struct pci_dev *pci_dev, pm_message_t state){        struct cx8800_dev *dev = pci_get_drvdata(pci_dev);	struct cx88_core *core = dev->core;	/* stop video+vbi capture */	spin_lock(&dev->slock);	if (!list_empty(&dev->vidq.active)) {		printk("%s: suspend video\n", core->name);		stop_video_dma(dev);		del_timer(&dev->vidq.timeout);	}	if (!list_empty(&dev->vbiq.active)) {		printk("%s: suspend vbi\n", core->name);		cx8800_stop_vbi_dma(dev);		del_timer(&dev->vbiq.timeout);	}	spin_unlock(&dev->slock);#if 1	/* FIXME -- shutdown device */	cx88_shutdown(dev->core);#endif	pci_save_state(pci_dev);	if (0 != pci_set_power_state(pci_dev, pci_choose_state(pci_dev, state))) {		pci_disable_device(pci_dev);		dev->state.disabled = 1;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b45009b0288a96a3458f4f8e93cb776678d41875/cx88-video.c/buggy/drivers/media/video/cx88/cx88-video.c