Lines Matching refs:vx
119 struct snd_vx222 *vx = (struct snd_vx222 *)chip; in snd_vx222_free() local
123 if (vx->port[0]) in snd_vx222_free()
124 pci_release_regions(vx->pci); in snd_vx222_free()
125 pci_disable_device(vx->pci); in snd_vx222_free()
142 struct snd_vx222 *vx; in snd_vx222_create() local
161 vx = (struct snd_vx222 *)chip; in snd_vx222_create()
162 vx->pci = pci; in snd_vx222_create()
169 vx->port[i] = pci_resource_start(pci, i + 1); in snd_vx222_create()
185 *rchip = vx; in snd_vx222_create()
196 struct snd_vx222 *vx; in snd_vx222_probe() local
223 if ((err = snd_vx222_create(card, pci, hw, &vx)) < 0) { in snd_vx222_probe()
227 card->private_data = vx; in snd_vx222_probe()
228 vx->core.ibl.size = ibl[dev]; in snd_vx222_probe()
231 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
233 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
236 vx->core.dev = &pci->dev; in snd_vx222_probe()
239 if ((err = snd_vx_setup_firmware(&vx->core)) < 0) { in snd_vx222_probe()
263 struct snd_vx222 *vx = card->private_data; in snd_vx222_suspend() local
265 return snd_vx_suspend(&vx->core); in snd_vx222_suspend()
271 struct snd_vx222 *vx = card->private_data; in snd_vx222_resume() local
273 return snd_vx_resume(&vx->core); in snd_vx222_resume()