Lines Matching defs:vx
106 struct snd_vx222 *vx = to_vx222(chip);
110 if (vx->port[0])
111 pci_release_regions(vx->pci);
112 pci_disable_device(vx->pci);
129 struct snd_vx222 *vx;
148 vx = to_vx222(chip);
149 vx->pci = pci;
156 vx->port[i] = pci_resource_start(pci, i + 1);
173 *rchip = vx;
184 struct snd_vx222 *vx;
211 if ((err = snd_vx222_create(card, pci, hw, &vx)) < 0) {
215 card->private_data = vx;
216 vx->core.ibl.size = ibl[dev];
219 card->shortname, vx->port[0], vx->port[1], vx->core.irq);
221 card->shortname, vx->port[0], vx->port[1], vx->core.irq);
224 vx->core.dev = &pci->dev;
227 if ((err = snd_vx_setup_firmware(&vx->core)) < 0) {
251 struct snd_vx222 *vx = card->private_data;
253 return snd_vx_suspend(&vx->core);
259 struct snd_vx222 *vx = card->private_data;
261 return snd_vx_resume(&vx->core);