Lines Matching refs:vx
106 struct snd_vx222 *vx = to_vx222(chip); in snd_vx222_free() local
110 if (vx->port[0]) in snd_vx222_free()
111 pci_release_regions(vx->pci); in snd_vx222_free()
112 pci_disable_device(vx->pci); in snd_vx222_free()
129 struct snd_vx222 *vx; in snd_vx222_create() local
148 vx = to_vx222(chip); in snd_vx222_create()
149 vx->pci = pci; in snd_vx222_create()
156 vx->port[i] = pci_resource_start(pci, i + 1); in snd_vx222_create()
172 *rchip = vx; in snd_vx222_create()
183 struct snd_vx222 *vx; in snd_vx222_probe() local
210 if ((err = snd_vx222_create(card, pci, hw, &vx)) < 0) { in snd_vx222_probe()
214 card->private_data = vx; in snd_vx222_probe()
215 vx->core.ibl.size = ibl[dev]; in snd_vx222_probe()
218 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
220 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
223 vx->core.dev = &pci->dev; in snd_vx222_probe()
226 if ((err = snd_vx_setup_firmware(&vx->core)) < 0) { in snd_vx222_probe()
250 struct snd_vx222 *vx = card->private_data; in snd_vx222_suspend() local
252 return snd_vx_suspend(&vx->core); in snd_vx222_suspend()
258 struct snd_vx222 *vx = card->private_data; in snd_vx222_resume() local
260 return snd_vx_resume(&vx->core); in snd_vx222_resume()