• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/au88x0/

Lines Matching defs:chip

138 // chip-specific constructor
143 vortex_t *chip;
161 chip = kzalloc(sizeof(*chip), GFP_KERNEL);
162 if (chip == NULL) {
167 chip->card = card;
170 chip->pci_dev = pci;
171 chip->io = pci_resource_start(pci, 0);
172 chip->vendor = pci->vendor;
173 chip->device = pci->device;
174 chip->card = card;
175 chip->irq = -1;
183 chip->mmio = pci_ioremap_bar(pci, 0);
184 if (!chip->mmio) {
193 if ((err = vortex_core_init(chip)) != 0) {
200 chip)) != 0) {
204 chip->irq = pci->irq;
210 if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) {
216 *rchip = chip;
221 free_irq(chip->irq, chip);
223 vortex_core_shutdown(chip);
225 iounmap(chip->mmio);
227 pci_release_regions(chip->pci_dev);
229 pci_disable_device(chip->pci_dev);
230 vortex_gameport_unregister(chip);
231 kfree(chip);
241 vortex_t *chip;
257 if ((err = snd_vortex_create(card, pci, &chip)) < 0) {
267 card->shortname, chip->io, chip->irq);
271 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_ADB, NR_ADB)) < 0) {
277 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_SPDIF, 1)) < 0) {
282 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_A3D, NR_A3D)) < 0) {
289 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_I2S, 1)) < 0) {
296 if ((err = snd_vortex_new_pcm(chip, VORTEX_PCM_WT, NR_WT)) < 0) {
302 if ((err = snd_vortex_mixer(chip)) < 0) {
306 if ((err = snd_vortex_midi(chip)) < 0) {
311 vortex_gameport_register(chip);
316 &(chip->device))) < 0) {
321 &(chip->vendor))) < 0) {
325 chip->rev = pci->revision;
327 if ((chip->rev) != 0xfe && (chip->rev) != 0xfa) {
330 chip->rev);
347 vortex_connect_default(chip, 1);
348 vortex_enable_int(chip);