tag | line | file | source code |
hw_config | 1619 | drivers/sound/ad1848.c | probe_ms_sound (struct address_info *hw_config) |
hw_config | 1623 | drivers/sound/ad1848.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 1635 | drivers/sound/ad1848.c | InitAEDSP16_MSS (hw_config); |
hw_config | 1644 | drivers/sound/ad1848.c | if ((tmp = inb (hw_config->io_base + 3)) == 0xff) /* Bus float */ |
hw_config | 1651 | drivers/sound/ad1848.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 1655 | drivers/sound/ad1848.c | if (hw_config->irq > 11) |
hw_config | 1657 | drivers/sound/ad1848.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 1661 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 1663 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 1671 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1677 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1679 | drivers/sound/ad1848.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 1683 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 1687 | drivers/sound/ad1848.c | attach_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1700 | drivers/sound/ad1848.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 1702 | drivers/sound/ad1848.c | if (!ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp)) |
hw_config | 1709 | drivers/sound/ad1848.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 1717 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
hw_config | 1719 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1720 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1721 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1722 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
hw_config | 1723 | drivers/sound/ad1848.c | request_region (hw_config->io_base, 4, "WSS config"); |
hw_config | 1728 | drivers/sound/ad1848.c | unload_ms_sound (struct address_info *hw_config) |
hw_config | 1730 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 1731 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1732 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1733 | drivers/sound/ad1848.c | hw_config->dma, 0); |
hw_config | 1734 | drivers/sound/ad1848.c | release_region (hw_config->io_base, 4); |
hw_config | 1742 | drivers/sound/ad1848.c | probe_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1744 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 1748 | drivers/sound/ad1848.c | attach_pnp_ad1848 (long mem_start, struct address_info *hw_config) |
hw_config | 1751 | drivers/sound/ad1848.c | ad1848_init (hw_config->name, hw_config->io_base, |
hw_config | 1752 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1753 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1754 | drivers/sound/ad1848.c | hw_config->dma2, 0, hw_config->osp); |
hw_config | 1759 | drivers/sound/ad1848.c | unload_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1761 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base, |
hw_config | 1762 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1763 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1764 | drivers/sound/ad1848.c | hw_config->dma2, 0); |
hw_config | 1765 | drivers/sound/ad1848.c | release_region (hw_config->io_base, 4); |
hw_config | 35 | drivers/sound/adlib_card.c | attach_adlib_card (long mem_start, struct address_info *hw_config) |
hw_config | 38 | drivers/sound/adlib_card.c | mem_start = opl3_init (mem_start, hw_config->io_base, hw_config->osp); |
hw_config | 39 | drivers/sound/adlib_card.c | request_region (hw_config->io_base, 4, "OPL3/OPL2"); |
hw_config | 45 | drivers/sound/adlib_card.c | probe_adlib (struct address_info *hw_config) |
hw_config | 48 | drivers/sound/adlib_card.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 50 | drivers/sound/adlib_card.c | printk ("\n\nopl3.c: I/O port %x already in use\n\n", hw_config->io_base); |
hw_config | 54 | drivers/sound/adlib_card.c | return opl3_detect (hw_config->io_base, hw_config->osp); |
hw_config | 58 | drivers/sound/adlib_card.c | unload_adlib (struct address_info *hw_config) |
hw_config | 60 | drivers/sound/adlib_card.c | release_region (hw_config->io_base, 4); |
hw_config | 665 | drivers/sound/aedsp16.c | InitAEDSP16_SBPRO (struct address_info *hw_config) |
hw_config | 683 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x0f)) |
hw_config | 694 | drivers/sound/aedsp16.c | portbase = hw_config->io_base; |
hw_config | 695 | drivers/sound/aedsp16.c | irq = hw_config->irq; |
hw_config | 696 | 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 | 776 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x08, "aedsp16 (mss)"); |
hw_config | 791 | drivers/sound/aedsp16.c | InitAEDSP16_MPU401 (struct address_info *hw_config) |
hw_config | 801 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x02)) |
hw_config | 829 | drivers/sound/aedsp16.c | mirq = hw_config->irq; |
hw_config | 839 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x02, "aedsp16 (mpu401)"); |
hw_config | 49 | drivers/sound/cs4232.c | probe_cs4232_mpu (struct address_info *hw_config) |
hw_config | 55 | drivers/sound/cs4232.c | mpu_base = hw_config->io_base; |
hw_config | 56 | drivers/sound/cs4232.c | mpu_irq = hw_config->irq; |
hw_config | 61 | drivers/sound/cs4232.c | attach_cs4232_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 75 | drivers/sound/cs4232.c | probe_cs4232 (struct address_info *hw_config) |
hw_config | 78 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 79 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 117 | drivers/sound/cs4232.c | if (ad1848_detect (hw_config->io_base, NULL, hw_config->osp)) |
hw_config | 166 | drivers/sound/cs4232.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 170 | drivers/sound/cs4232.c | attach_cs4232 (long mem_start, struct address_info *hw_config) |
hw_config | 172 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 173 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 183 | drivers/sound/cs4232.c | hw_config->osp); |
hw_config | 199 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 215 | drivers/sound/cs4232.c | unload_cs4232 (struct address_info *hw_config) |
hw_config | 217 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 218 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 243 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 251 | drivers/sound/cs4232.c | unload_cs4232_mpu (struct address_info *hw_config) |
hw_config | 117 | drivers/sound/dev_table.c | sndtable_probe (int unit, struct address_info *hw_config) |
hw_config | 144 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.io_base = hw_config->io_base; |
hw_config | 145 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.irq = hw_config->irq; |
hw_config | 146 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
hw_config | 147 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma2 = hw_config->dma2; |
hw_config | 152 | drivers/sound/dev_table.c | else if (sound_drivers[drv].probe (hw_config)) |
hw_config | 165 | drivers/sound/dev_table.c | sndtable_init_card (int unit, struct address_info *hw_config) |
hw_config | 183 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
hw_config | 184 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
hw_config | 185 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
hw_config | 186 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma2 = hw_config->dma2; |
hw_config | 197 | drivers/sound/dev_table.c | if (sound_drivers[drv].attach (0, hw_config) != 0) |
hw_config | 47 | drivers/sound/dev_table.h | long (*attach) (long mem_start, struct address_info *hw_config); |
hw_config | 48 | drivers/sound/dev_table.h | int (*probe) (struct address_info *hw_config); |
hw_config | 49 | drivers/sound/dev_table.h | void (*unload) (struct address_info *hw_config); |
hw_config | 492 | drivers/sound/dev_table.h | int sndtable_probe (int unit, struct address_info *hw_config); |
hw_config | 493 | drivers/sound/dev_table.h | int sndtable_init_card (int unit, struct address_info *hw_config); |
hw_config | 46 | drivers/sound/gus_card.c | attach_gus_card (long mem_start, struct address_info *hw_config) |
hw_config | 50 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 51 | drivers/sound/gus_card.c | snd_set_irq_handler (hw_config->irq, gusintr, "Gravis Ultrasound", hw_config->osp); |
hw_config | 53 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) /* |
hw_config | 57 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 59 | drivers/sound/gus_card.c | request_region (hw_config->io_base, 16, "GUS"); |
hw_config | 60 | drivers/sound/gus_card.c | request_region (hw_config->io_base + 0x100, 12, "GUS"); /* 0x10c-> is MAX */ |
hw_config | 62 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 64 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 65 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS(2)")) |
hw_config | 80 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 85 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 87 | drivers/sound/gus_card.c | printk (" WARNING! GUS found at %x, config was %x ", io_addr, hw_config->io_base); |
hw_config | 88 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 91 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 93 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 94 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS")) |
hw_config | 110 | drivers/sound/gus_card.c | probe_gus (struct address_info *hw_config) |
hw_config | 114 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 116 | drivers/sound/gus_card.c | if (!check_region (hw_config->io_base, 16)) |
hw_config | 117 | drivers/sound/gus_card.c | if (!check_region (hw_config->io_base + 0x100, 16)) |
hw_config | 118 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) |
hw_config | 128 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 135 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 145 | drivers/sound/gus_card.c | unload_gus (struct address_info *hw_config) |
hw_config | 149 | drivers/sound/gus_card.c | release_region (hw_config->io_base, 16); |
hw_config | 150 | drivers/sound/gus_card.c | release_region (hw_config->io_base + 0x100, 12); /* 0x10c-> is MAX */ |
hw_config | 151 | drivers/sound/gus_card.c | snd_release_irq (hw_config->irq); |
hw_config | 153 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
hw_config | 155 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 156 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma2); |
hw_config | 217 | drivers/sound/gus_card.c | probe_gus_db16 (struct address_info *hw_config) |
hw_config | 219 | drivers/sound/gus_card.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 223 | drivers/sound/gus_card.c | attach_gus_db16 (long mem_start, struct address_info *hw_config) |
hw_config | 228 | drivers/sound/gus_card.c | ad1848_init ("GUS 16 bit sampling", hw_config->io_base, |
hw_config | 229 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 230 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 231 | drivers/sound/gus_card.c | hw_config->dma, 0, |
hw_config | 232 | drivers/sound/gus_card.c | hw_config->osp); |
hw_config | 237 | drivers/sound/gus_card.c | unload_gus_db16 (struct address_info *hw_config) |
hw_config | 240 | drivers/sound/gus_card.c | ad1848_unload (hw_config->io_base, |
hw_config | 241 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 242 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 243 | drivers/sound/gus_card.c | hw_config->dma, 0); |
hw_config | 2987 | drivers/sound/gus_wave.c | gus_wave_init (long mem_start, struct address_info *hw_config) |
hw_config | 2994 | drivers/sound/gus_wave.c | int irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 3078 | drivers/sound/gus_wave.c | if (ad1848_detect (gus_base + 0x10c, NULL, hw_config->osp)) |
hw_config | 3089 | drivers/sound/gus_wave.c | hw_config->osp); |
hw_config | 202 | drivers/sound/mad16.c | probe_mad16 (struct address_info *hw_config) |
hw_config | 215 | drivers/sound/mad16.c | mad16_osp = hw_config->osp; |
hw_config | 271 | drivers/sound/mad16.c | printk ("MAD16/Mozart: Bad WSS base address 0x%x\n", hw_config->io_base); |
hw_config | 275 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 304 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 329 | drivers/sound/mad16.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 341 | drivers/sound/mad16.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x04 && |
hw_config | 342 | drivers/sound/mad16.c | (inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 345 | drivers/sound/mad16.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 349 | drivers/sound/mad16.c | if (hw_config->irq > 11) |
hw_config | 351 | drivers/sound/mad16.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 355 | drivers/sound/mad16.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 357 | drivers/sound/mad16.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 365 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 371 | drivers/sound/mad16.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 373 | drivers/sound/mad16.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 381 | drivers/sound/mad16.c | attach_mad16 (long mem_start, struct address_info *hw_config) |
hw_config | 395 | drivers/sound/mad16.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 396 | drivers/sound/mad16.c | int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 401 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 408 | drivers/sound/mad16.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 439 | drivers/sound/mad16.c | ad1848_init ("MAD16 WSS", hw_config->io_base + 4, |
hw_config | 440 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 443 | drivers/sound/mad16.c | hw_config->osp); |
hw_config | 444 | drivers/sound/mad16.c | request_region (hw_config->io_base, 4, "MAD16 WSS config"); |
hw_config | 450 | drivers/sound/mad16.c | attach_mad16_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 457 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 459 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 461 | drivers/sound/mad16.c | return mad16_sb_dsp_init (mem_start, hw_config); |
hw_config | 471 | drivers/sound/mad16.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 478 | drivers/sound/mad16.c | probe_mad16_mpu (struct address_info *hw_config) |
hw_config | 512 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 514 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 516 | drivers/sound/mad16.c | switch (hw_config->irq) |
hw_config | 533 | drivers/sound/mad16.c | return mad16_sb_dsp_detect (hw_config); |
hw_config | 549 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI port 0x%x\n", hw_config->io_base); |
hw_config | 553 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 568 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI IRQ %d\n", hw_config->irq); |
hw_config | 572 | drivers/sound/mad16.c | if (valid_irqs[i] == hw_config->irq) |
hw_config | 580 | drivers/sound/mad16.c | return probe_mpu401 (hw_config); |
hw_config | 587 | drivers/sound/mad16.c | unload_mad16 (struct address_info *hw_config) |
hw_config | 589 | drivers/sound/mad16.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 590 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 591 | drivers/sound/mad16.c | hw_config->dma, |
hw_config | 592 | drivers/sound/mad16.c | hw_config->dma2, 0); |
hw_config | 593 | drivers/sound/mad16.c | release_region (hw_config->io_base, 4); |
hw_config | 598 | drivers/sound/mad16.c | unload_mad16_mpu (struct address_info *hw_config) |
hw_config | 601 | drivers/sound/mad16.c | unload_mpu401 (hw_config); |
hw_config | 138 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_detect (struct address_info *hw_config) |
hw_config | 140 | drivers/sound/mad16_sb_midi.c | mad16_sb_base = hw_config->io_base; |
hw_config | 141 | drivers/sound/mad16_sb_midi.c | mad16_sb_irq = hw_config->irq; |
hw_config | 142 | drivers/sound/mad16_sb_midi.c | midi_osp = hw_config->osp; |
hw_config | 144 | drivers/sound/mad16_sb_midi.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 146 | drivers/sound/mad16_sb_midi.c | printk ("MAD16 SB MIDI: I/O base %x not free\n", hw_config->io_base); |
hw_config | 163 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 168 | drivers/sound/mad16_sb_midi.c | midi_osp = hw_config->osp; |
hw_config | 175 | drivers/sound/mad16_sb_midi.c | request_region (hw_config->io_base, 16, "mad16/Mozart MIDI"); |
hw_config | 167 | drivers/sound/maui.c | probe_maui (struct address_info *hw_config) |
hw_config | 172 | drivers/sound/maui.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 175 | drivers/sound/maui.c | maui_base = hw_config->io_base; |
hw_config | 176 | drivers/sound/maui.c | maui_osp = hw_config->osp; |
hw_config | 178 | drivers/sound/maui.c | if (snd_set_irq_handler (hw_config->irq, mauiintr, "Maui", maui_osp) < 0) |
hw_config | 184 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 190 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 211 | drivers/sound/maui.c | request_region (hw_config->io_base + 2, 6, "Maui"); |
hw_config | 214 | drivers/sound/maui.c | if (probe_mpu401 (hw_config)) |
hw_config | 217 | drivers/sound/maui.c | return probe_mpu401 (hw_config); |
hw_config | 221 | drivers/sound/maui.c | attach_maui (long mem_start, struct address_info *hw_config) |
hw_config | 227 | drivers/sound/maui.c | hw_config->irq *= -1; |
hw_config | 228 | drivers/sound/maui.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 253 | drivers/sound/maui.c | unload_maui (struct address_info *hw_config) |
hw_config | 255 | drivers/sound/maui.c | int irq = hw_config->irq; |
hw_config | 257 | drivers/sound/maui.c | release_region (hw_config->io_base + 2, 6); |
hw_config | 259 | drivers/sound/maui.c | unload_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->osp = hw_config->osp; |
hw_config | 1029 | drivers/sound/mpu401.c | devc->irq = hw_config->irq; |
hw_config | 1039 | drivers/sound/mpu401.c | devc->shared_irq = hw_config->always_detect; |
hw_config | 1040 | drivers/sound/mpu401.c | devc->irq = hw_config->irq; |
hw_config | 1049 | drivers/sound/mpu401.c | if (!hw_config->always_detect) |
hw_config | 1069 | drivers/sound/mpu401.c | request_region (hw_config->io_base, 2, "mpu401"); |
hw_config | 1248 | drivers/sound/mpu401.c | probe_mpu401 (struct address_info *hw_config) |
hw_config | 1253 | drivers/sound/mpu401.c | if (check_region (hw_config->io_base, 2)) |
hw_config | 1256 | drivers/sound/mpu401.c | hw_config->io_base); |
hw_config | 1260 | drivers/sound/mpu401.c | tmp_devc.base = hw_config->io_base; |
hw_config | 1261 | drivers/sound/mpu401.c | tmp_devc.irq = hw_config->irq; |
hw_config | 1264 | drivers/sound/mpu401.c | tmp_devc.osp = hw_config->osp; |
hw_config | 1270 | drivers/sound/mpu401.c | InitAEDSP16_MPU401 (hw_config); |
hw_config | 1273 | drivers/sound/mpu401.c | if (hw_config->always_detect) |
hw_config | 1276 | drivers/sound/mpu401.c | if (inb (hw_config->io_base + 1) == 0xff) |
hw_config | 1278 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Port %x looks dead.\n", hw_config->io_base)); |
hw_config | 1286 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Reset failed on port %x\n", hw_config->io_base)); |
hw_config | 1293 | drivers/sound/mpu401.c | unload_mpu401 (struct address_info *hw_config) |
hw_config | 1295 | drivers/sound/mpu401.c | release_region (hw_config->io_base, 2); |
hw_config | 1296 | drivers/sound/mpu401.c | if (hw_config->always_detect == 0 && hw_config->irq > 0) |
hw_config | 1297 | drivers/sound/mpu401.c | snd_release_irq (hw_config->irq); |
hw_config | 140 | drivers/sound/pas2_card.c | config_pas_hw (struct address_info *hw_config) |
hw_config | 145 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 200 | drivers/sound/pas2_card.c | if (snd_set_irq_handler (pas_irq, pasintr, "PAS16", hw_config->osp) < 0) |
hw_config | 205 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
hw_config | 207 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 212 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
hw_config | 213 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
hw_config | 215 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 220 | drivers/sound/pas2_card.c | if (sound_alloc_dma (hw_config->dma, "PAS16")) |
hw_config | 312 | drivers/sound/pas2_card.c | detect_pas_hw (struct address_info *hw_config) |
hw_config | 326 | drivers/sound/pas2_card.c | outb (hw_config->io_base >> 2, MASTER_DECODE); /* |
hw_config | 329 | drivers/sound/pas2_card.c | translat_code = PAS_DEFAULT_BASE ^ hw_config->io_base; |
hw_config | 362 | drivers/sound/pas2_card.c | attach_pas_card (long mem_start, struct address_info *hw_config) |
hw_config | 364 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 365 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 367 | drivers/sound/pas2_card.c | if (detect_pas_hw (hw_config)) |
hw_config | 375 | drivers/sound/pas2_card.c | if (config_pas_hw (hw_config)) |
hw_config | 379 | drivers/sound/pas2_card.c | mem_start = pas_pcm_init (mem_start, hw_config); |
hw_config | 406 | drivers/sound/pas2_card.c | probe_pas (struct address_info *hw_config) |
hw_config | 408 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 409 | drivers/sound/pas2_card.c | return detect_pas_hw (hw_config); |
hw_config | 413 | drivers/sound/pas2_card.c | unload_pas (struct address_info *hw_config) |
hw_config | 415 | drivers/sound/pas2_card.c | sound_free_dma (hw_config->dma); |
hw_config | 416 | drivers/sound/pas2_card.c | snd_release_irq (hw_config->irq); |
hw_config | 391 | drivers/sound/pas2_pcm.c | pas_pcm_init (long mem_start, struct address_info *hw_config) |
hw_config | 404 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
hw_config | 92 | drivers/sound/pss.c | probe_pss (struct address_info *hw_config) |
hw_config | 97 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 98 | drivers/sound/pss.c | irq = devc->irq = hw_config->irq; |
hw_config | 99 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
hw_config | 100 | drivers/sound/pss.c | devc->osp = hw_config->osp; |
hw_config | 329 | drivers/sound/pss.c | attach_pss (long mem_start, struct address_info *hw_config) |
hw_config | 333 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 334 | drivers/sound/pss.c | devc->irq = hw_config->irq; |
hw_config | 335 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
hw_config | 336 | drivers/sound/pss.c | devc->osp = hw_config->osp; |
hw_config | 338 | drivers/sound/pss.c | if (!probe_pss (hw_config)) |
hw_config | 353 | drivers/sound/pss.c | if (sound_alloc_dma (hw_config->dma, "PSS")) |
hw_config | 379 | drivers/sound/pss.c | probe_pss_mpu (struct address_info *hw_config) |
hw_config | 386 | drivers/sound/pss.c | if (check_region (hw_config->io_base, 2)) |
hw_config | 392 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_MIDI, hw_config->io_base)) |
hw_config | 398 | drivers/sound/pss.c | if (!set_irq (devc, CONF_MIDI, hw_config->irq)) |
hw_config | 423 | drivers/sound/pss.c | if ((inb (hw_config->io_base + 1) & 0x80) == 0) /* Input data avail */ |
hw_config | 424 | drivers/sound/pss.c | inb (hw_config->io_base); /* Discard it */ |
hw_config | 430 | drivers/sound/pss.c | return probe_mpu401 (hw_config); |
hw_config | 698 | drivers/sound/pss.c | attach_pss_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 705 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
hw_config | 714 | drivers/sound/pss.c | probe_pss_mss (struct address_info *hw_config) |
hw_config | 721 | drivers/sound/pss.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 727 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_WSS, hw_config->io_base)) |
hw_config | 733 | drivers/sound/pss.c | if (!set_irq (devc, CONF_WSS, hw_config->irq)) |
hw_config | 739 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
hw_config | 752 | drivers/sound/pss.c | timeout < 100000 && (inb (hw_config->io_base + 3) & 0x3f) != 0x04; |
hw_config | 755 | drivers/sound/pss.c | return probe_ms_sound (hw_config); |
hw_config | 759 | drivers/sound/pss.c | attach_pss_mss (long mem_start, struct address_info *hw_config) |
hw_config | 765 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
hw_config | 774 | drivers/sound/pss.c | unload_pss (struct address_info *hw_config) |
hw_config | 779 | drivers/sound/pss.c | unload_pss_mpu (struct address_info *hw_config) |
hw_config | 781 | drivers/sound/pss.c | unload_mpu401 (hw_config); |
hw_config | 785 | drivers/sound/pss.c | unload_pss_mss (struct address_info *hw_config) |
hw_config | 787 | drivers/sound/pss.c | unload_ms_sound (hw_config); |
hw_config | 478 | drivers/sound/sb16_dsp.c | sb16_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 513 | drivers/sound/sb16_dsp.c | sb16_dsp_detect (struct address_info *hw_config) |
hw_config | 537 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
hw_config | 538 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
hw_config | 541 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
hw_config | 545 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
hw_config | 548 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
hw_config | 550 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
hw_config | 560 | drivers/sound/sb16_dsp.c | unload_sb16 (struct address_info *hw_config) |
hw_config | 201 | drivers/sound/sb16_midi.c | attach_sb16midi (long mem_start, struct address_info *hw_config) |
hw_config | 206 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 288 | drivers/sound/sb16_midi.c | probe_sb16midi (struct address_info *hw_config) |
hw_config | 296 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 308 | drivers/sound/sb16_midi.c | unload_sb16midi (struct address_info *hw_config) |
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 | 44 | drivers/sound/sb_card.c | request_region (hw_config->io_base, 16, "SB"); |
hw_config | 51 | drivers/sound/sb_card.c | probe_sb (struct address_info *hw_config) |
hw_config | 53 | drivers/sound/sb_card.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 56 | drivers/sound/sb_card.c | hw_config->io_base); |
hw_config | 64 | drivers/sound/sb_card.c | InitAEDSP16_SBPRO (hw_config); |
hw_config | 66 | drivers/sound/sb_card.c | return sb_dsp_detect (hw_config); |
hw_config | 70 | drivers/sound/sb_card.c | unload_sb (struct address_info *hw_config) |
hw_config | 72 | drivers/sound/sb_card.c | release_region (hw_config->io_base, 16); |
hw_config | 1041 | drivers/sound/sb_dsp.c | sb_dsp_detect (struct address_info *hw_config) |
hw_config | 1043 | drivers/sound/sb_dsp.c | sbc_base = hw_config->io_base; |
hw_config | 1044 | drivers/sound/sb_dsp.c | sbc_irq = hw_config->irq; |
hw_config | 1045 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1051 | drivers/sound/sb_dsp.c | dma8 = hw_config->dma; |
hw_config | 1094 | drivers/sound/sb_dsp.c | sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 1103 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1237 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
hw_config | 1239 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "soundblaster")) |
hw_config | 98 | drivers/sound/sound_calls.h | int sb_dsp_detect (struct address_info *hw_config); |
hw_config | 99 | drivers/sound/sound_calls.h | long sb_dsp_init (long mem_start, struct address_info *hw_config); |
hw_config | 109 | drivers/sound/sound_calls.h | long sb16_dsp_init(long mem_start, struct address_info *hw_config); |
hw_config | 110 | drivers/sound/sound_calls.h | int sb16_dsp_detect(struct address_info *hw_config); |
hw_config | 114 | drivers/sound/sound_calls.h | long attach_sb16midi(long mem_start, struct address_info * hw_config); |
hw_config | 115 | drivers/sound/sound_calls.h | int probe_sb16midi(struct address_info *hw_config); |
hw_config | 132 | drivers/sound/sound_calls.h | long attach_sb_card(long mem_start, struct address_info *hw_config); |
hw_config | 133 | drivers/sound/sound_calls.h | int probe_sb(struct address_info *hw_config); |
hw_config | 136 | drivers/sound/sound_calls.h | long attach_adlib_card(long mem_start, struct address_info *hw_config); |
hw_config | 137 | drivers/sound/sound_calls.h | int probe_adlib(struct address_info *hw_config); |
hw_config | 140 | drivers/sound/sound_calls.h | long attach_pas_card(long mem_start, struct address_info *hw_config); |
hw_config | 141 | drivers/sound/sound_calls.h | int probe_pas(struct address_info *hw_config); |
hw_config | 149 | drivers/sound/sound_calls.h | long pas_pcm_init(long mem_start, struct address_info *hw_config); |
hw_config | 159 | drivers/sound/sound_calls.h | long attach_gus_card(long mem_start, struct address_info * hw_config); |
hw_config | 160 | drivers/sound/sound_calls.h | int probe_gus(struct address_info *hw_config); |
hw_config | 163 | drivers/sound/sound_calls.h | long attach_gus_db16(long mem_start, struct address_info * hw_config); |
hw_config | 164 | drivers/sound/sound_calls.h | int probe_gus_db16(struct address_info *hw_config); |
hw_config | 168 | drivers/sound/sound_calls.h | long gus_wave_init(long mem_start, struct address_info *hw_config); |
hw_config | 183 | drivers/sound/sound_calls.h | long attach_mpu401(long mem_start, struct address_info * hw_config); |
hw_config | 184 | drivers/sound/sound_calls.h | int probe_mpu401(struct address_info *hw_config); |
hw_config | 188 | drivers/sound/sound_calls.h | long attach_uart6850(long mem_start, struct address_info * hw_config); |
hw_config | 189 | drivers/sound/sound_calls.h | int probe_uart6850(struct address_info *hw_config); |
hw_config | 219 | drivers/sound/sound_calls.h | long attach_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 220 | drivers/sound/sound_calls.h | int probe_ms_sound(struct address_info *hw_config); |
hw_config | 221 | drivers/sound/sound_calls.h | long attach_pnp_ad1848(long mem_start, struct address_info * hw_config); |
hw_config | 222 | drivers/sound/sound_calls.h | int probe_pnp_ad1848(struct address_info *hw_config); |
hw_config | 226 | drivers/sound/sound_calls.h | int probe_pss (struct address_info *hw_config); |
hw_config | 227 | drivers/sound/sound_calls.h | long attach_pss (long mem_start, struct address_info *hw_config); |
hw_config | 228 | drivers/sound/sound_calls.h | int probe_pss_mpu (struct address_info *hw_config); |
hw_config | 229 | drivers/sound/sound_calls.h | long attach_pss_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 230 | drivers/sound/sound_calls.h | int probe_pss_mss (struct address_info *hw_config); |
hw_config | 231 | drivers/sound/sound_calls.h | long attach_pss_mss (long mem_start, struct address_info *hw_config); |
hw_config | 234 | drivers/sound/sound_calls.h | int probe_sscape (struct address_info *hw_config); |
hw_config | 235 | drivers/sound/sound_calls.h | long attach_sscape (long mem_start, struct address_info *hw_config); |
hw_config | 236 | drivers/sound/sound_calls.h | int probe_ss_ms_sound (struct address_info *hw_config); |
hw_config | 237 | drivers/sound/sound_calls.h | long attach_ss_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 249 | drivers/sound/sound_calls.h | int InitAEDSP16_SBPRO(struct address_info *hw_config); |
hw_config | 250 | drivers/sound/sound_calls.h | int InitAEDSP16_MSS(struct address_info *hw_config); |
hw_config | 251 | drivers/sound/sound_calls.h | int InitAEDSP16_MPU401(struct address_info *hw_config); |
hw_config | 257 | drivers/sound/sound_calls.h | long attach_trix_wss (long mem_start, struct address_info *hw_config); |
hw_config | 258 | drivers/sound/sound_calls.h | int probe_trix_wss (struct address_info *hw_config); |
hw_config | 259 | drivers/sound/sound_calls.h | long attach_trix_sb (long mem_start, struct address_info *hw_config); |
hw_config | 260 | drivers/sound/sound_calls.h | int probe_trix_sb (struct address_info *hw_config); |
hw_config | 261 | drivers/sound/sound_calls.h | long attach_trix_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 262 | drivers/sound/sound_calls.h | int probe_trix_mpu (struct address_info *hw_config); |
hw_config | 265 | drivers/sound/sound_calls.h | long attach_mad16 (long mem_start, struct address_info *hw_config); |
hw_config | 266 | drivers/sound/sound_calls.h | int probe_mad16 (struct address_info *hw_config); |
hw_config | 267 | drivers/sound/sound_calls.h | long attach_mad16_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 268 | drivers/sound/sound_calls.h | int probe_mad16_mpu (struct address_info *hw_config); |
hw_config | 269 | drivers/sound/sound_calls.h | int mad16_sb_dsp_detect (struct address_info *hw_config); |
hw_config | 270 | drivers/sound/sound_calls.h | long mad16_sb_dsp_init (long mem_start, struct address_info *hw_config); |
hw_config | 299 | drivers/sound/sound_calls.h | int probe_cs4232 (struct address_info *hw_config); |
hw_config | 300 | drivers/sound/sound_calls.h | long attach_cs4232 (long mem_start, struct address_info *hw_config); |
hw_config | 301 | drivers/sound/sound_calls.h | int probe_cs4232_mpu (struct address_info *hw_config); |
hw_config | 302 | drivers/sound/sound_calls.h | long attach_cs4232_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 305 | drivers/sound/sound_calls.h | long attach_maui(long mem_start, struct address_info * hw_config); |
hw_config | 306 | drivers/sound/sound_calls.h | int probe_maui(struct address_info *hw_config); |
hw_config | 90 | drivers/sound/sound_pnp.c | struct address_info hw_config; |
hw_config | 110 | drivers/sound/sound_pnp.c | hw_config.io_base = opl3_base; |
hw_config | 111 | drivers/sound/sound_pnp.c | hw_config.irq = 0; |
hw_config | 112 | drivers/sound/sound_pnp.c | hw_config.dma = -1; |
hw_config | 113 | drivers/sound/sound_pnp.c | hw_config.dma2 = -1; |
hw_config | 114 | drivers/sound/sound_pnp.c | hw_config.always_detect = 0; |
hw_config | 115 | drivers/sound/sound_pnp.c | hw_config.name = ""; |
hw_config | 116 | drivers/sound/sound_pnp.c | hw_config.driver_use_1 = 0; |
hw_config | 117 | drivers/sound/sound_pnp.c | hw_config.driver_use_2 = 0; |
hw_config | 118 | drivers/sound/sound_pnp.c | hw_config.osp = NULL; |
hw_config | 120 | drivers/sound/sound_pnp.c | if (sndtable_probe (opl3_driver, &hw_config)) |
hw_config | 121 | drivers/sound/sound_pnp.c | sndtable_init_card (opl3_driver, &hw_config); |
hw_config | 127 | drivers/sound/sound_pnp.c | hw_config.io_base = wss_base; |
hw_config | 128 | drivers/sound/sound_pnp.c | hw_config.irq = irq; |
hw_config | 129 | drivers/sound/sound_pnp.c | hw_config.dma = dma1; |
hw_config | 130 | drivers/sound/sound_pnp.c | hw_config.dma2 = (dma2 == NO_DMA) ? dma1 : dma2; |
hw_config | 131 | drivers/sound/sound_pnp.c | hw_config.always_detect = 0; |
hw_config | 132 | drivers/sound/sound_pnp.c | hw_config.name = name; |
hw_config | 133 | drivers/sound/sound_pnp.c | hw_config.driver_use_1 = 0; |
hw_config | 134 | drivers/sound/sound_pnp.c | hw_config.driver_use_2 = 0; |
hw_config | 135 | drivers/sound/sound_pnp.c | hw_config.osp = NULL; |
hw_config | 137 | drivers/sound/sound_pnp.c | if (sndtable_probe (wss_driver, &hw_config)) |
hw_config | 138 | drivers/sound/sound_pnp.c | sndtable_init_card (wss_driver, &hw_config); |
hw_config | 889 | drivers/sound/sscape.c | attach_sscape (long mem_start, struct address_info *hw_config) |
hw_config | 926 | drivers/sound/sscape.c | if (sscape_detected != hw_config->io_base) |
hw_config | 938 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 944 | drivers/sound/sscape.c | if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) |
hw_config | 946 | drivers/sound/sscape.c | printk ("Invalid IRQ%d\n", hw_config->irq); |
hw_config | 1002 | drivers/sound/sscape.c | if (probe_mpu401 (hw_config)) |
hw_config | 1003 | drivers/sound/sscape.c | hw_config->always_detect = 1; |
hw_config | 1008 | drivers/sound/sscape.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 1022 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
hw_config | 1028 | drivers/sound/sscape.c | if (snd_set_irq_handler (hw_config->irq, sscapeintr, "SoundScape", devc->osp) < 0) |
hw_config | 1043 | drivers/sound/sscape.c | probe_sscape (struct address_info *hw_config) |
hw_config | 1048 | drivers/sound/sscape.c | devc->base = hw_config->io_base; |
hw_config | 1049 | drivers/sound/sscape.c | devc->irq = hw_config->irq; |
hw_config | 1050 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
hw_config | 1051 | drivers/sound/sscape.c | devc->osp = hw_config->osp; |
hw_config | 1053 | drivers/sound/sscape.c | if (sscape_detected != 0 && sscape_detected != hw_config->io_base) |
hw_config | 1117 | drivers/sound/sscape.c | if (sound_alloc_dma (hw_config->dma, "soundscape")) |
hw_config | 1123 | drivers/sound/sscape.c | sscape_detected = hw_config->io_base; |
hw_config | 1129 | drivers/sound/sscape.c | probe_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1143 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1148 | drivers/sound/sscape.c | if (hw_config->irq > 15 || irq_bits == 0xff) |
hw_config | 1150 | drivers/sound/sscape.c | printk ("SoundScape: Invalid MSS IRQ%d\n", hw_config->irq); |
hw_config | 1154 | drivers/sound/sscape.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 1158 | drivers/sound/sscape.c | attach_ss_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1188 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1194 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
hw_config | 1197 | drivers/sound/sscape.c | if (hw_config->irq == devc->irq) |
hw_config | 1200 | drivers/sound/sscape.c | ad1848_init ("SoundScape", hw_config->io_base, |
hw_config | 1201 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1202 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1203 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1228 | drivers/sound/sscape.c | unload_sscape (struct address_info *hw_config) |
hw_config | 1230 | drivers/sound/sscape.c | unload_mpu401 (hw_config); |
hw_config | 1231 | drivers/sound/sscape.c | snd_release_irq (hw_config->irq); |
hw_config | 1232 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
hw_config | 1236 | drivers/sound/sscape.c | unload_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1238 | drivers/sound/sscape.c | ad1848_unload (hw_config->io_base, |
hw_config | 1239 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1240 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1241 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 86 | drivers/sound/trix.c | trix_set_wss_port (struct address_info *hw_config) |
hw_config | 120 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 148 | drivers/sound/trix.c | probe_trix_wss (struct address_info *hw_config) |
hw_config | 155 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 161 | drivers/sound/trix.c | trix_osp = hw_config->osp; |
hw_config | 163 | drivers/sound/trix.c | if (!trix_set_wss_port (hw_config)) |
hw_config | 166 | drivers/sound/trix.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 168 | drivers/sound/trix.c | DDB (printk ("No MSS signature detected on port 0x%x\n", hw_config->io_base)); |
hw_config | 172 | drivers/sound/trix.c | if (hw_config->irq > 11) |
hw_config | 174 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS IRQ %d\n", hw_config->irq); |
hw_config | 178 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 180 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
hw_config | 184 | drivers/sound/trix.c | if (hw_config->dma2 != -1) |
hw_config | 185 | drivers/sound/trix.c | if (hw_config->dma2 != 0 && hw_config->dma2 != 1 && hw_config->dma2 != 3) |
hw_config | 187 | drivers/sound/trix.c | printk ("AudioTriX: Bad capture DMA %d\n", hw_config->dma2); |
hw_config | 195 | drivers/sound/trix.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 201 | drivers/sound/trix.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 203 | drivers/sound/trix.c | printk ("AudioTriX: Can't use IRQ%d with a 8 bit card\n", hw_config->irq); |
hw_config | 207 | drivers/sound/trix.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 211 | drivers/sound/trix.c | attach_trix_wss (long mem_start, struct address_info *hw_config) |
hw_config | 220 | drivers/sound/trix.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 221 | drivers/sound/trix.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 223 | drivers/sound/trix.c | trix_osp = hw_config->osp; |
hw_config | 235 | drivers/sound/trix.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 238 | drivers/sound/trix.c | printk ("AudioTriX: Bad IRQ (%d)\n", hw_config->irq); |
hw_config | 246 | drivers/sound/trix.c | if (hw_config->dma2 == -1) /* Single DMA mode */ |
hw_config | 264 | drivers/sound/trix.c | ad1848_init ("AudioTriX Pro", hw_config->io_base + 4, |
hw_config | 265 | drivers/sound/trix.c | hw_config->irq, |
hw_config | 269 | drivers/sound/trix.c | hw_config->osp); |
hw_config | 270 | drivers/sound/trix.c | request_region (hw_config->io_base, 4, "MSS config"); |
hw_config | 275 | drivers/sound/trix.c | probe_trix_sb (struct address_info *hw_config) |
hw_config | 292 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 298 | drivers/sound/trix.c | if (hw_config->io_base & 0xffffff8f != 0x200) |
hw_config | 301 | drivers/sound/trix.c | tmp = hw_config->irq; |
hw_config | 307 | drivers/sound/trix.c | tmp = hw_config->dma; |
hw_config | 312 | drivers/sound/trix.c | conf |= hw_config->io_base & 0x70; /* I/O address bits */ |
hw_config | 313 | drivers/sound/trix.c | conf |= irq_translate[hw_config->irq]; |
hw_config | 314 | drivers/sound/trix.c | if (hw_config->dma == 3) |
hw_config | 318 | drivers/sound/trix.c | download_boot (hw_config->io_base); |
hw_config | 325 | drivers/sound/trix.c | attach_trix_sb (long mem_start, struct address_info *hw_config) |
hw_config | 338 | drivers/sound/trix.c | attach_trix_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 341 | drivers/sound/trix.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 348 | drivers/sound/trix.c | probe_trix_mpu (struct address_info *hw_config) |
hw_config | 373 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 379 | drivers/sound/trix.c | if (hw_config->irq > 9) |
hw_config | 381 | drivers/sound/trix.c | printk ("AudioTriX: Bad MPU IRQ %d\n", hw_config->irq); |
hw_config | 385 | drivers/sound/trix.c | if (irq_bits[hw_config->irq] == -1) |
hw_config | 387 | drivers/sound/trix.c | printk ("AudioTriX: Bad MPU IRQ %d\n", hw_config->irq); |
hw_config | 391 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 409 | drivers/sound/trix.c | conf |= irq_bits[hw_config->irq] << 4; |
hw_config | 415 | drivers/sound/trix.c | return probe_mpu401 (hw_config); |
hw_config | 422 | drivers/sound/trix.c | unload_trix_wss (struct address_info *hw_config) |
hw_config | 424 | drivers/sound/trix.c | int dma2 = hw_config->dma2; |
hw_config | 427 | drivers/sound/trix.c | dma2 = hw_config->dma; |
hw_config | 430 | drivers/sound/trix.c | release_region (hw_config->io_base, 4); |
hw_config | 432 | drivers/sound/trix.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 433 | drivers/sound/trix.c | hw_config->irq, |
hw_config | 434 | drivers/sound/trix.c | hw_config->dma, |
hw_config | 440 | drivers/sound/trix.c | unload_trix_mpu (struct address_info *hw_config) |
hw_config | 443 | drivers/sound/trix.c | unload_mpu401 (hw_config); |
hw_config | 447 | drivers/sound/trix.c | unload_trix_sb (struct address_info *hw_config) |
hw_config | 271 | drivers/sound/uart6850.c | attach_uart6850 (long mem_start, struct address_info *hw_config) |
hw_config | 282 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 283 | drivers/sound/uart6850.c | uart6850_osp = hw_config->osp; |
hw_config | 284 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 319 | drivers/sound/uart6850.c | probe_uart6850 (struct address_info *hw_config) |
hw_config | 323 | drivers/sound/uart6850.c | uart6850_osp = hw_config->osp; |
hw_config | 324 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 325 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 337 | drivers/sound/uart6850.c | unload_uart6850 (struct address_info *hw_config) |
hw_config | 339 | drivers/sound/uart6850.c | snd_release_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]; |