tag | line | file | source code |
hw_config | 1350 | drivers/sound/ad1848.c | probe_ms_sound (struct address_info *hw_config) |
hw_config | 1358 | drivers/sound/ad1848.c | InitAEDSP16_MSS (hw_config); |
hw_config | 1367 | drivers/sound/ad1848.c | if ((INB (hw_config->io_base + 3) & 0x3f) != 0x04 && |
hw_config | 1368 | drivers/sound/ad1848.c | (INB (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 1371 | drivers/sound/ad1848.c | hw_config->io_base, INB (hw_config->io_base + 3))); |
hw_config | 1375 | drivers/sound/ad1848.c | if (hw_config->irq > 11) |
hw_config | 1377 | drivers/sound/ad1848.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 1381 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 1383 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 1391 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && INB (hw_config->io_base + 3) & 0x80) |
hw_config | 1397 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && INB (hw_config->io_base + 3) & 0x80) |
hw_config | 1399 | drivers/sound/ad1848.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 1403 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4); |
hw_config | 1407 | drivers/sound/ad1848.c | attach_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1420 | drivers/sound/ad1848.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 1422 | drivers/sound/ad1848.c | if (!ad1848_detect (hw_config->io_base + 4)) |
hw_config | 1429 | drivers/sound/ad1848.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 1437 | drivers/sound/ad1848.c | OUTB (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
hw_config | 1439 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1440 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1441 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1442 | drivers/sound/ad1848.c | hw_config->dma); |
hw_config | 35 | drivers/sound/adlib_card.c | attach_adlib_card (long mem_start, struct address_info *hw_config) |
hw_config | 46 | drivers/sound/adlib_card.c | probe_adlib (struct address_info *hw_config) |
hw_config | 666 | drivers/sound/aedsp16.c | InitAEDSP16_SBPRO (struct address_info *hw_config) |
hw_config | 684 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x0f)) |
hw_config | 695 | drivers/sound/aedsp16.c | portbase = hw_config->io_base; |
hw_config | 696 | drivers/sound/aedsp16.c | irq = hw_config->irq; |
hw_config | 697 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
hw_config | 708 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x0f, "aedsp16 (sbpro)"); |
hw_config | 720 | drivers/sound/aedsp16.c | InitAEDSP16_MSS (struct address_info *hw_config) |
hw_config | 736 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x08)) |
hw_config | 763 | drivers/sound/aedsp16.c | irq = hw_config->irq; |
hw_config | 764 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
hw_config | 775 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x08, "aedsp16 (mss)"); |
hw_config | 790 | drivers/sound/aedsp16.c | InitAEDSP16_MPU401 (struct address_info *hw_config) |
hw_config | 800 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x02)) |
hw_config | 828 | drivers/sound/aedsp16.c | mirq = hw_config->irq; |
hw_config | 838 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x02, "aedsp16 (mpu401)"); |
hw_config | 87 | drivers/sound/dev_table.c | sndtable_probe (int unit, struct address_info *hw_config) |
hw_config | 100 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
hw_config | 101 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
hw_config | 102 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
hw_config | 108 | drivers/sound/dev_table.c | else if (sound_drivers[drv].probe (hw_config)) |
hw_config | 120 | drivers/sound/dev_table.c | sndtable_init_card (int unit, struct address_info *hw_config) |
hw_config | 136 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
hw_config | 137 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
hw_config | 138 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
hw_config | 144 | drivers/sound/dev_table.c | else if (sound_drivers[drv].attach (0, hw_config) != 0) |
hw_config | 46 | drivers/sound/dev_table.h | long (*attach) (long mem_start, struct address_info *hw_config); |
hw_config | 47 | drivers/sound/dev_table.h | int (*probe) (struct address_info *hw_config); |
hw_config | 44 | drivers/sound/gus_card.c | attach_gus_card (long mem_start, struct address_info *hw_config) |
hw_config | 48 | drivers/sound/gus_card.c | snd_set_irq_handler (hw_config->irq, gusintr, "Gravis Ultrasound"); |
hw_config | 50 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) /* |
hw_config | 54 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config->irq, hw_config->dma); |
hw_config | 59 | drivers/sound/gus_card.c | sound_timer_init (hw_config->io_base + 8); |
hw_config | 71 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 76 | drivers/sound/gus_card.c | printk (" WARNING! GUS found at %x, config was %x ", io_addr, hw_config->io_base); |
hw_config | 77 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config->irq, hw_config->dma); |
hw_config | 95 | drivers/sound/gus_card.c | probe_gus (struct address_info *hw_config) |
hw_config | 99 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) |
hw_config | 109 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 175 | drivers/sound/gus_card.c | probe_gus_db16 (struct address_info *hw_config) |
hw_config | 177 | drivers/sound/gus_card.c | return ad1848_detect (hw_config->io_base); |
hw_config | 181 | drivers/sound/gus_card.c | attach_gus_db16 (long mem_start, struct address_info *hw_config) |
hw_config | 186 | drivers/sound/gus_card.c | ad1848_init ("GUS 16 bit sampling", hw_config->io_base, |
hw_config | 187 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 188 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 189 | drivers/sound/gus_card.c | hw_config->dma); |
hw_config | 193 | drivers/sound/mad16.c | probe_mad16 (struct address_info *hw_config) |
hw_config | 253 | drivers/sound/mad16.c | printk ("MAD16/Mozart: Bad WSS base address 0x%x\n", hw_config->io_base); |
hw_config | 257 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 301 | drivers/sound/mad16.c | return probe_ms_sound (hw_config); |
hw_config | 305 | drivers/sound/mad16.c | attach_mad16 (long mem_start, struct address_info *hw_config) |
hw_config | 310 | drivers/sound/mad16.c | return attach_ms_sound (mem_start, hw_config); |
hw_config | 314 | drivers/sound/mad16.c | attach_mad16_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 323 | drivers/sound/mad16.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 328 | drivers/sound/mad16.c | probe_mad16_mpu (struct address_info *hw_config) |
hw_config | 365 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI port 0x%x\n", hw_config->io_base); |
hw_config | 369 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 384 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI IRQ %d\n", hw_config->irq); |
hw_config | 388 | drivers/sound/mad16.c | if (valid_irqs[i] == hw_config->irq) |
hw_config | 398 | drivers/sound/mad16.c | return probe_mpu401 (hw_config); |
hw_config | 1012 | drivers/sound/mpu401.c | attach_mpu401 (long mem_start, struct address_info *hw_config) |
hw_config | 1027 | drivers/sound/mpu401.c | devc->base = hw_config->io_base; |
hw_config | 1028 | drivers/sound/mpu401.c | devc->irq = hw_config->irq; |
hw_config | 1038 | drivers/sound/mpu401.c | devc->shared_irq = hw_config->always_detect; |
hw_config | 1040 | drivers/sound/mpu401.c | if (!hw_config->always_detect) |
hw_config | 1214 | drivers/sound/mpu401.c | probe_mpu401 (struct address_info *hw_config) |
hw_config | 1219 | drivers/sound/mpu401.c | tmp_devc.base = hw_config->io_base; |
hw_config | 1220 | drivers/sound/mpu401.c | tmp_devc.irq = hw_config->irq; |
hw_config | 1227 | drivers/sound/mpu401.c | InitAEDSP16_MPU401 (hw_config); |
hw_config | 1230 | drivers/sound/mpu401.c | if (hw_config->always_detect) |
hw_config | 1233 | drivers/sound/mpu401.c | if (INB (hw_config->io_base + 1) == 0xff) |
hw_config | 151 | drivers/sound/pas2_card.c | config_pas_hw (struct address_info *hw_config) |
hw_config | 156 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 211 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
hw_config | 213 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 218 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
hw_config | 219 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
hw_config | 221 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 314 | drivers/sound/pas2_card.c | detect_pas_hw (struct address_info *hw_config) |
hw_config | 328 | drivers/sound/pas2_card.c | OUTB (hw_config->io_base >> 2, MASTER_DECODE); /* |
hw_config | 331 | drivers/sound/pas2_card.c | translat_code = PAS_DEFAULT_BASE ^ hw_config->io_base; |
hw_config | 364 | drivers/sound/pas2_card.c | attach_pas_card (long mem_start, struct address_info *hw_config) |
hw_config | 366 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 368 | drivers/sound/pas2_card.c | if (detect_pas_hw (hw_config)) |
hw_config | 376 | drivers/sound/pas2_card.c | if (config_pas_hw (hw_config)) |
hw_config | 380 | drivers/sound/pas2_card.c | mem_start = pas_pcm_init (mem_start, hw_config); |
hw_config | 409 | drivers/sound/pas2_card.c | probe_pas (struct address_info *hw_config) |
hw_config | 411 | drivers/sound/pas2_card.c | return detect_pas_hw (hw_config); |
hw_config | 393 | drivers/sound/pas2_pcm.c | pas_pcm_init (long mem_start, struct address_info *hw_config) |
hw_config | 406 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan = hw_config->dma; |
hw_config | 83 | drivers/sound/pss.c | probe_pss (struct address_info *hw_config) |
hw_config | 88 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 89 | drivers/sound/pss.c | irq = devc->irq = hw_config->irq; |
hw_config | 90 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
hw_config | 313 | drivers/sound/pss.c | attach_pss (long mem_start, struct address_info *hw_config) |
hw_config | 317 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 318 | drivers/sound/pss.c | devc->irq = hw_config->irq; |
hw_config | 319 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
hw_config | 321 | drivers/sound/pss.c | if (!probe_pss (hw_config)) |
hw_config | 354 | drivers/sound/pss.c | probe_pss_mpu (struct address_info *hw_config) |
hw_config | 361 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_MIDI, hw_config->io_base)) |
hw_config | 367 | drivers/sound/pss.c | if (!set_irq (devc, CONF_MIDI, hw_config->irq)) |
hw_config | 392 | drivers/sound/pss.c | if ((INB (hw_config->io_base + 1) & 0x80) == 0) /* Input data avail */ |
hw_config | 393 | drivers/sound/pss.c | INB (hw_config->io_base); /* Discard it */ |
hw_config | 401 | drivers/sound/pss.c | return probe_mpu401 (hw_config); |
hw_config | 660 | drivers/sound/pss.c | attach_pss_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 667 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
hw_config | 676 | drivers/sound/pss.c | probe_pss_mss (struct address_info *hw_config) |
hw_config | 683 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_WSS, hw_config->io_base)) |
hw_config | 689 | drivers/sound/pss.c | if (!set_irq (devc, CONF_WSS, hw_config->irq)) |
hw_config | 695 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
hw_config | 708 | drivers/sound/pss.c | timeout < 100000 && (INB (hw_config->io_base + 3) & 0x3f) != 0x04; |
hw_config | 711 | drivers/sound/pss.c | return probe_ms_sound (hw_config); |
hw_config | 715 | drivers/sound/pss.c | attach_pss_mss (long mem_start, struct address_info *hw_config) |
hw_config | 721 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
hw_config | 469 | drivers/sound/sb16_dsp.c | sb16_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 483 | drivers/sound/sb16_dsp.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
hw_config | 494 | drivers/sound/sb16_dsp.c | sb16_dsp_detect (struct address_info *hw_config) |
hw_config | 518 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
hw_config | 519 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
hw_config | 522 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
hw_config | 526 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
hw_config | 529 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
hw_config | 531 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
hw_config | 198 | drivers/sound/sb16_midi.c | attach_sb16midi (long mem_start, struct address_info *hw_config) |
hw_config | 203 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 283 | drivers/sound/sb16_midi.c | probe_sb16midi (struct address_info *hw_config) |
hw_config | 291 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 38 | drivers/sound/sb_card.c | attach_sb_card (long mem_start, struct address_info *hw_config) |
hw_config | 41 | drivers/sound/sb_card.c | if (!sb_dsp_detect (hw_config)) |
hw_config | 43 | drivers/sound/sb_card.c | mem_start = sb_dsp_init (mem_start, hw_config); |
hw_config | 50 | drivers/sound/sb_card.c | probe_sb (struct address_info *hw_config) |
hw_config | 56 | drivers/sound/sb_card.c | InitAEDSP16_SBPRO (hw_config); |
hw_config | 58 | drivers/sound/sb_card.c | return sb_dsp_detect (hw_config); |
hw_config | 1068 | drivers/sound/sb_dsp.c | sb_dsp_detect (struct address_info *hw_config) |
hw_config | 1070 | drivers/sound/sb_dsp.c | sbc_base = hw_config->io_base; |
hw_config | 1071 | drivers/sound/sb_dsp.c | sbc_irq = hw_config->irq; |
hw_config | 1078 | drivers/sound/sb_dsp.c | dma8 = hw_config->dma; |
hw_config | 1116 | drivers/sound/sb_dsp.c | sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 1209 | drivers/sound/sb_dsp.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
hw_config | 116 | drivers/sound/sound_calls.h | int sb_dsp_detect (struct address_info *hw_config); |
hw_config | 117 | drivers/sound/sound_calls.h | long sb_dsp_init (long mem_start, struct address_info *hw_config); |
hw_config | 126 | drivers/sound/sound_calls.h | long sb16_dsp_init(long mem_start, struct address_info *hw_config); |
hw_config | 127 | drivers/sound/sound_calls.h | int sb16_dsp_detect(struct address_info *hw_config); |
hw_config | 131 | drivers/sound/sound_calls.h | long attach_sb16midi(long mem_start, struct address_info * hw_config); |
hw_config | 132 | drivers/sound/sound_calls.h | int probe_sb16midi(struct address_info *hw_config); |
hw_config | 149 | drivers/sound/sound_calls.h | long attach_sb_card(long mem_start, struct address_info *hw_config); |
hw_config | 150 | drivers/sound/sound_calls.h | int probe_sb(struct address_info *hw_config); |
hw_config | 153 | drivers/sound/sound_calls.h | long attach_adlib_card(long mem_start, struct address_info *hw_config); |
hw_config | 154 | drivers/sound/sound_calls.h | int probe_adlib(struct address_info *hw_config); |
hw_config | 157 | drivers/sound/sound_calls.h | long attach_pas_card(long mem_start, struct address_info *hw_config); |
hw_config | 158 | drivers/sound/sound_calls.h | int probe_pas(struct address_info *hw_config); |
hw_config | 166 | drivers/sound/sound_calls.h | long pas_pcm_init(long mem_start, struct address_info *hw_config); |
hw_config | 176 | drivers/sound/sound_calls.h | long attach_gus_card(long mem_start, struct address_info * hw_config); |
hw_config | 177 | drivers/sound/sound_calls.h | int probe_gus(struct address_info *hw_config); |
hw_config | 180 | drivers/sound/sound_calls.h | long attach_gus_db16(long mem_start, struct address_info * hw_config); |
hw_config | 181 | drivers/sound/sound_calls.h | int probe_gus_db16(struct address_info *hw_config); |
hw_config | 198 | drivers/sound/sound_calls.h | long attach_mpu401(long mem_start, struct address_info * hw_config); |
hw_config | 199 | drivers/sound/sound_calls.h | int probe_mpu401(struct address_info *hw_config); |
hw_config | 203 | drivers/sound/sound_calls.h | long attach_uart6850(long mem_start, struct address_info * hw_config); |
hw_config | 204 | drivers/sound/sound_calls.h | int probe_uart6850(struct address_info *hw_config); |
hw_config | 229 | drivers/sound/sound_calls.h | long attach_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 230 | drivers/sound/sound_calls.h | int probe_ms_sound(struct address_info *hw_config); |
hw_config | 233 | drivers/sound/sound_calls.h | int probe_pss (struct address_info *hw_config); |
hw_config | 234 | drivers/sound/sound_calls.h | long attach_pss (long mem_start, struct address_info *hw_config); |
hw_config | 235 | drivers/sound/sound_calls.h | int probe_pss_mpu (struct address_info *hw_config); |
hw_config | 236 | drivers/sound/sound_calls.h | long attach_pss_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 237 | drivers/sound/sound_calls.h | int probe_pss_mss (struct address_info *hw_config); |
hw_config | 238 | drivers/sound/sound_calls.h | long attach_pss_mss (long mem_start, struct address_info *hw_config); |
hw_config | 241 | drivers/sound/sound_calls.h | int probe_sscape (struct address_info *hw_config); |
hw_config | 242 | drivers/sound/sound_calls.h | long attach_sscape (long mem_start, struct address_info *hw_config); |
hw_config | 243 | drivers/sound/sound_calls.h | int probe_ss_ms_sound (struct address_info *hw_config); |
hw_config | 244 | drivers/sound/sound_calls.h | long attach_ss_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 256 | drivers/sound/sound_calls.h | int InitAEDSP16_SBPRO(struct address_info *hw_config); |
hw_config | 257 | drivers/sound/sound_calls.h | int InitAEDSP16_MSS(struct address_info *hw_config); |
hw_config | 258 | drivers/sound/sound_calls.h | int InitAEDSP16_MPU401(struct address_info *hw_config); |
hw_config | 264 | drivers/sound/sound_calls.h | long attach_trix_wss (long mem_start, struct address_info *hw_config); |
hw_config | 265 | drivers/sound/sound_calls.h | int probe_trix_wss (struct address_info *hw_config); |
hw_config | 266 | drivers/sound/sound_calls.h | long attach_trix_sb (long mem_start, struct address_info *hw_config); |
hw_config | 267 | drivers/sound/sound_calls.h | int probe_trix_sb (struct address_info *hw_config); |
hw_config | 268 | drivers/sound/sound_calls.h | long attach_trix_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 269 | drivers/sound/sound_calls.h | int probe_trix_mpu (struct address_info *hw_config); |
hw_config | 272 | drivers/sound/sound_calls.h | long attach_mad16 (long mem_start, struct address_info *hw_config); |
hw_config | 273 | drivers/sound/sound_calls.h | int probe_mad16 (struct address_info *hw_config); |
hw_config | 274 | drivers/sound/sound_calls.h | long attach_mad16_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 275 | drivers/sound/sound_calls.h | int probe_mad16_mpu (struct address_info *hw_config); |
hw_config | 815 | drivers/sound/sscape.c | attach_sscape (long mem_start, struct address_info *hw_config) |
hw_config | 852 | drivers/sound/sscape.c | if (!probe_sscape (hw_config)) |
hw_config | 864 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 870 | drivers/sound/sscape.c | if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) |
hw_config | 872 | drivers/sound/sscape.c | printk ("Invalid IRQ%d\n", hw_config->irq); |
hw_config | 927 | drivers/sound/sscape.c | hw_config->always_detect = 1; |
hw_config | 928 | drivers/sound/sscape.c | if (probe_mpu401 (hw_config)) |
hw_config | 933 | drivers/sound/sscape.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 947 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan = hw_config->dma; |
hw_config | 954 | drivers/sound/sscape.c | if (snd_set_irq_handler (hw_config->irq, sscapeintr, "SoundScape") < 0) |
hw_config | 968 | drivers/sound/sscape.c | probe_sscape (struct address_info *hw_config) |
hw_config | 972 | drivers/sound/sscape.c | devc->base = hw_config->io_base; |
hw_config | 973 | drivers/sound/sscape.c | devc->irq = hw_config->irq; |
hw_config | 974 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
hw_config | 1041 | drivers/sound/sscape.c | probe_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1052 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1057 | drivers/sound/sscape.c | if (hw_config->irq > 15 || irq_bits == 0xff) |
hw_config | 1059 | drivers/sound/sscape.c | printk ("SoundScape: Invalid MSS IRQ%d\n", hw_config->irq); |
hw_config | 1063 | drivers/sound/sscape.c | return ad1848_detect (hw_config->io_base); |
hw_config | 1067 | drivers/sound/sscape.c | attach_ss_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1097 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1103 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
hw_config | 1106 | drivers/sound/sscape.c | if (hw_config->irq == devc->irq) |
hw_config | 1109 | drivers/sound/sscape.c | ad1848_init ("SoundScape", hw_config->io_base, |
hw_config | 1110 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1111 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1112 | drivers/sound/sscape.c | hw_config->dma); |
hw_config | 84 | drivers/sound/trix.c | trix_set_wss_port (struct address_info *hw_config) |
hw_config | 108 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 136 | drivers/sound/trix.c | probe_trix_wss (struct address_info *hw_config) |
hw_config | 143 | drivers/sound/trix.c | if (!trix_set_wss_port (hw_config)) |
hw_config | 146 | drivers/sound/trix.c | if ((INB (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 148 | drivers/sound/trix.c | DDB (printk ("No MSS signature detected on port 0x%x\n", hw_config->io_base)); |
hw_config | 152 | drivers/sound/trix.c | if (hw_config->irq > 11) |
hw_config | 154 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS IRQ %d\n", hw_config->irq); |
hw_config | 158 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 160 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
hw_config | 168 | drivers/sound/trix.c | if (hw_config->dma == 0 && INB (hw_config->io_base + 3) & 0x80) |
hw_config | 174 | drivers/sound/trix.c | if (hw_config->irq > 7 && hw_config->irq != 9 && INB (hw_config->io_base + 3) & 0x80) |
hw_config | 176 | drivers/sound/trix.c | printk ("AudioTriX: Can't use IRQ%d with a 8 bit card\n", hw_config->irq); |
hw_config | 180 | drivers/sound/trix.c | return ad1848_detect (hw_config->io_base + 4); |
hw_config | 184 | drivers/sound/trix.c | attach_trix_wss (long mem_start, struct address_info *hw_config) |
hw_config | 193 | drivers/sound/trix.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 202 | drivers/sound/trix.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 210 | drivers/sound/trix.c | OUTB (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
hw_config | 212 | drivers/sound/trix.c | ad1848_init ("AudioTriX Pro", hw_config->io_base + 4, |
hw_config | 213 | drivers/sound/trix.c | hw_config->irq, |
hw_config | 214 | drivers/sound/trix.c | hw_config->dma, |
hw_config | 215 | drivers/sound/trix.c | hw_config->dma); |
hw_config | 220 | drivers/sound/trix.c | probe_trix_sb (struct address_info *hw_config) |
hw_config | 237 | drivers/sound/trix.c | if (hw_config->io_base & 0xffffff8f != 0x200) |
hw_config | 240 | drivers/sound/trix.c | tmp = hw_config->irq; |
hw_config | 246 | drivers/sound/trix.c | tmp = hw_config->dma; |
hw_config | 251 | drivers/sound/trix.c | conf |= hw_config->io_base & 0x70; /* I/O address bits */ |
hw_config | 252 | drivers/sound/trix.c | conf |= irq_translate[hw_config->irq]; |
hw_config | 253 | drivers/sound/trix.c | if (hw_config->dma == 3) |
hw_config | 257 | drivers/sound/trix.c | download_boot (hw_config->io_base); |
hw_config | 264 | drivers/sound/trix.c | attach_trix_sb (long mem_start, struct address_info *hw_config) |
hw_config | 277 | drivers/sound/trix.c | attach_trix_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 279 | drivers/sound/trix.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 283 | drivers/sound/trix.c | probe_trix_mpu (struct address_info *hw_config) |
hw_config | 298 | drivers/sound/trix.c | if (hw_config->irq > 9) |
hw_config | 301 | drivers/sound/trix.c | if (irq_bits[hw_config->irq] == -1) |
hw_config | 304 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 322 | drivers/sound/trix.c | conf |= irq_bits[hw_config->irq] << 4; |
hw_config | 328 | drivers/sound/trix.c | return probe_mpu401 (hw_config); |
hw_config | 259 | drivers/sound/uart6850.c | attach_uart6850 (long mem_start, struct address_info *hw_config) |
hw_config | 270 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 271 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 305 | drivers/sound/uart6850.c | probe_uart6850 (struct address_info *hw_config) |
hw_config | 309 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 310 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 140 | include/linux/cdu31a.h | #define SONY_HWC_GET_LOAD_MECH(c) (c.hw_config[0] & 0x03) |
hw_config | 141 | include/linux/cdu31a.h | #define SONY_HWC_EJECT(c) (c.hw_config[0] & 0x04) |
hw_config | 142 | include/linux/cdu31a.h | #define SONY_HWC_LED_SUPPORT(c) (c.hw_config[0] & 0x08) |
hw_config | 143 | include/linux/cdu31a.h | #define SONY_HWC_DOUBLE_SPEED(c) (c.hw_config[0] & 0x10) |
hw_config | 144 | include/linux/cdu31a.h | #define SONY_HWC_GET_BUF_MEM_SIZE(c) ((c.hw_config[0] & 0xc0) >> 6) |
hw_config | 145 | include/linux/cdu31a.h | #define SONY_HWC_AUDIO_PLAYBACK(c) (c.hw_config[1] & 0x01) |
hw_config | 146 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME(c) (c.hw_config[1] & 0x02) |
hw_config | 147 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME_CTL(c) (c.hw_config[1] & 0x04) |
hw_config | 169 | include/linux/cdu31a.h | unsigned char hw_config[2]; |