Lines Matching refs:n
67 static int snd_ad1848_match(struct device *dev, unsigned int n) in snd_ad1848_match() argument
69 if (!enable[n]) in snd_ad1848_match()
72 if (port[n] == SNDRV_AUTO_PORT) { in snd_ad1848_match()
76 if (irq[n] == SNDRV_AUTO_IRQ) { in snd_ad1848_match()
80 if (dma1[n] == SNDRV_AUTO_DMA) { in snd_ad1848_match()
87 static int snd_ad1848_probe(struct device *dev, unsigned int n) in snd_ad1848_probe() argument
93 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_ad1848_probe()
97 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe()
98 thinkpad[n] ? WSS_HW_THINKPAD : WSS_HW_DETECT, in snd_ad1848_probe()
117 chip->pcm->name, chip->port, irq[n], dma1[n]); in snd_ad1848_probe()
118 if (thinkpad[n]) in snd_ad1848_probe()
132 static int snd_ad1848_remove(struct device *dev, unsigned int n) in snd_ad1848_remove() argument
139 static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t state) in snd_ad1848_suspend() argument
149 static int snd_ad1848_resume(struct device *dev, unsigned int n) in snd_ad1848_resume() argument