Lines Matching +full:0 +full:x260

31 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;	/* Index 0-MAX */
37 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
38 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */
39 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
42 static int dma8[SNDRV_CARDS] = SNDRV_DEFAULT_DMA; /* 0,1,3 */
70 #define is_isapnp_selected(dev) 0
82 static const long possible_ports[] = {0x220, 0x240, 0x260}; in snd_es1688_legacy_create()
84 static const int possible_dmas[] = {1, 3, 0, -1}; in snd_es1688_legacy_create()
90 if (irq[n] < 0) { in snd_es1688_legacy_create()
97 if (dma8[n] < 0) { in snd_es1688_legacy_create()
107 i = 0; in snd_es1688_legacy_create()
112 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_es1688_legacy_create()
123 error = snd_es1688_pcm(card, chip, 0); in snd_es1688_probe()
124 if (error < 0) in snd_es1688_probe()
128 if (error < 0) in snd_es1688_probe()
134 "%s at 0x%lx, irq %i, dma %i", chip->pcm->name, chip->port, in snd_es1688_probe()
140 if (fm_port[n] > 0) { in snd_es1688_probe()
142 OPL3_HW_OPL3, 0, &opl3) < 0) in snd_es1688_probe()
144 "opl3 not detected at 0x%lx\n", fm_port[n]); in snd_es1688_probe()
146 error = snd_opl3_hwdep_new(opl3, 0, 1, NULL); in snd_es1688_probe()
147 if (error < 0) in snd_es1688_probe()
152 if (mpu_irq[n] >= 0 && mpu_irq[n] != SNDRV_AUTO_IRQ && in snd_es1688_probe()
153 chip->mpu_port > 0) { in snd_es1688_probe()
154 error = snd_mpu401_uart_new(card, 0, MPU401_HW_ES1688, in snd_es1688_probe()
155 chip->mpu_port, 0, in snd_es1688_probe()
157 if (error < 0) in snd_es1688_probe()
171 if (error < 0) in snd_es1688_isa_probe()
175 if (error < 0) in snd_es1688_isa_probe()
179 if (error < 0) in snd_es1688_isa_probe()
184 return 0; in snd_es1688_isa_probe()
190 #if 0 /* FIXME */
210 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_card_es968_pnp()
215 if (error < 0) { in snd_card_es968_pnp()
219 port[n] = pnp_port_start(pdev, 0); in snd_card_es968_pnp()
220 dma8[n] = pnp_dma(pdev, 0); in snd_card_es968_pnp()
221 irq[n] = pnp_irq(pdev, 0); in snd_card_es968_pnp()
246 if (error < 0) in snd_es968_pnp_detect()
250 if (error < 0) in snd_es968_pnp_detect()
253 if (error < 0) in snd_es968_pnp_detect()
257 return 0; in snd_es968_pnp_detect()
262 snd_es968_pnp_is_probed = 0; in snd_es968_pnp_remove()
272 return 0; in snd_es968_pnp_suspend()
282 return 0; in snd_es968_pnp_resume()
312 return 0; in alsa_card_es1688_init()