Lines Matching +full:0 +full:x240
21 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
24 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x220,0x240,0x260 */
60 return 0; in snd_sb8_match()
63 return 0; in snd_sb8_match()
67 return 0; in snd_sb8_match()
82 if (err < 0) in snd_sb8_probe()
87 * Block the 0x388 port to avoid PnP conflicts. in snd_sb8_probe()
91 acard->fm_res = devm_request_region(card->dev, 0x388, 4, in snd_sb8_probe()
98 if (err < 0) in snd_sb8_probe()
103 0x220, 0x240, 0x260, in snd_sb8_probe()
106 for (i = 0; i < ARRAY_SIZE(possible_ports); i++) { in snd_sb8_probe()
114 if (err >= 0) { in snd_sb8_probe()
126 dev_warn(pdev, "ALS100 chip detected at 0x%lx, try snd-als100 module\n", in snd_sb8_probe()
129 dev_warn(pdev, "SB 16 chip detected at 0x%lx, try snd-sb16 module\n", in snd_sb8_probe()
134 err = snd_sb8dsp_pcm(chip, 0); in snd_sb8_probe()
135 if (err < 0) in snd_sb8_probe()
139 if (err < 0) in snd_sb8_probe()
143 err = snd_opl3_create(card, chip->port + 8, 0, in snd_sb8_probe()
145 if (err < 0) in snd_sb8_probe()
146 dev_warn(pdev, "sb8: no OPL device at 0x%lx\n", chip->port + 8); in snd_sb8_probe()
150 if (err < 0) { in snd_sb8_probe()
151 dev_warn(pdev, "sb8: no OPL device at 0x%lx-0x%lx\n", in snd_sb8_probe()
155 if (err >= 0) { in snd_sb8_probe()
156 err = snd_opl3_hwdep_new(opl3, 0, 1, NULL); in snd_sb8_probe()
157 if (err < 0) in snd_sb8_probe()
161 err = snd_sb8dsp_midi(chip, 0); in snd_sb8_probe()
162 if (err < 0) in snd_sb8_probe()
167 sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d", in snd_sb8_probe()
173 if (err < 0) in snd_sb8_probe()
177 return 0; in snd_sb8_probe()
190 return 0; in snd_sb8_suspend()
202 return 0; in snd_sb8_resume()