Lines Matching full:via
40 MODULE_PARM_DESC(pcifix, "Enable VIA-workaround for " CARD_NAME " soundcard.");
58 static void vortex_fix_agp_bridge(struct pci_dev *via) in vortex_fix_agp_bridge() argument
69 rc = pci_read_config_byte(via, 0x42, &value); in vortex_fix_agp_bridge()
72 rc = pci_write_config_byte(via, 0x42, value | 0x10); in vortex_fix_agp_bridge()
75 dev_info(&via->dev, "bridge config is 0x%x\n", value | 0x10); in vortex_fix_agp_bridge()
77 dev_warn(&via->dev, in vortex_fix_agp_bridge()
84 struct pci_dev *via = NULL; in snd_vortex_workaround() local
88 /* VIA KT133 */ in snd_vortex_workaround()
89 via = pci_get_device(PCI_VENDOR_ID_VIA, in snd_vortex_workaround()
91 /* VIA Apollo */ in snd_vortex_workaround()
92 if (via == NULL) { in snd_vortex_workaround()
93 via = pci_get_device(PCI_VENDOR_ID_VIA, in snd_vortex_workaround()
96 if (via == NULL) in snd_vortex_workaround()
97 via = pci_get_device(PCI_VENDOR_ID_AMD, in snd_vortex_workaround()
100 if (via) { in snd_vortex_workaround()
104 vortex_fix_agp_bridge(via); in snd_vortex_workaround()
110 via = pci_get_device(PCI_VENDOR_ID_VIA, in snd_vortex_workaround()
113 via = pci_get_device(PCI_VENDOR_ID_VIA, in snd_vortex_workaround()
116 via = pci_get_device(PCI_VENDOR_ID_AMD, in snd_vortex_workaround()
118 if (via) in snd_vortex_workaround()
119 vortex_fix_agp_bridge(via); in snd_vortex_workaround()
121 pci_dev_put(via); in snd_vortex_workaround()