tag | line | file | source code |
hw_config | 1671 | drivers/sound/ad1848.c | check_opl3 (int base, struct address_info *hw_config) |
hw_config | 1681 | drivers/sound/ad1848.c | if (!opl3_detect (base, hw_config->osp)) |
hw_config | 1684 | drivers/sound/ad1848.c | opl3_init (0, base, hw_config->osp); |
hw_config | 1690 | drivers/sound/ad1848.c | probe_ms_sound (struct address_info *hw_config) |
hw_config | 1694 | drivers/sound/ad1848.c | DDB (printk ("Entered probe_ms_sound(%x, %d)\n", hw_config->io_base, hw_config->card_subtype)); |
hw_config | 1696 | drivers/sound/ad1848.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 1702 | drivers/sound/ad1848.c | if (hw_config->card_subtype == 1) /* Has no IRQ/DMA registers */ |
hw_config | 1705 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 1714 | drivers/sound/ad1848.c | if ((tmp = inb (hw_config->io_base + 3)) == 0xff) /* Bus float */ |
hw_config | 1719 | drivers/sound/ad1848.c | if (!(ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp))) |
hw_config | 1730 | drivers/sound/ad1848.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 1732 | drivers/sound/ad1848.c | if (!(ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp))) |
hw_config | 1738 | drivers/sound/ad1848.c | if (hw_config->irq > 11) |
hw_config | 1740 | drivers/sound/ad1848.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 1744 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 1746 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 1754 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1760 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1762 | drivers/sound/ad1848.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 1766 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 1770 | drivers/sound/ad1848.c | attach_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1783 | drivers/sound/ad1848.c | int config_port = hw_config->io_base + 0; |
hw_config | 1784 | drivers/sound/ad1848.c | int version_port = hw_config->io_base + 3; |
hw_config | 1786 | drivers/sound/ad1848.c | if (!ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp)) |
hw_config | 1789 | drivers/sound/ad1848.c | if (hw_config->card_subtype == 1) /* Has no IRQ/DMA registers */ |
hw_config | 1791 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1792 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1793 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1794 | drivers/sound/ad1848.c | hw_config->dma2, 0, hw_config->osp); |
hw_config | 1795 | drivers/sound/ad1848.c | request_region (hw_config->io_base, 4, "WSS config"); |
hw_config | 1803 | drivers/sound/ad1848.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 1811 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
hw_config | 1813 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1814 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1815 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1816 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
hw_config | 1817 | drivers/sound/ad1848.c | request_region (hw_config->io_base, 4, "WSS config"); |
hw_config | 1822 | drivers/sound/ad1848.c | unload_ms_sound (struct address_info *hw_config) |
hw_config | 1824 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 1825 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1826 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1827 | drivers/sound/ad1848.c | hw_config->dma, 0); |
hw_config | 1828 | drivers/sound/ad1848.c | release_region (hw_config->io_base, 4); |
hw_config | 1836 | drivers/sound/ad1848.c | probe_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1838 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 1842 | drivers/sound/ad1848.c | attach_pnp_ad1848 (long mem_start, struct address_info *hw_config) |
hw_config | 1845 | drivers/sound/ad1848.c | ad1848_init (hw_config->name, hw_config->io_base, |
hw_config | 1846 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1847 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1848 | drivers/sound/ad1848.c | hw_config->dma2, 0, hw_config->osp); |
hw_config | 1853 | drivers/sound/ad1848.c | unload_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1855 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base, |
hw_config | 1856 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1857 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1858 | drivers/sound/ad1848.c | hw_config->dma2, 0); |
hw_config | 1859 | drivers/sound/ad1848.c | release_region (hw_config->io_base, 4); |
hw_config | 38 | drivers/sound/adlib_card.c | attach_adlib_card (long mem_start, struct address_info *hw_config) |
hw_config | 41 | drivers/sound/adlib_card.c | mem_start = opl3_init (mem_start, hw_config->io_base, hw_config->osp); |
hw_config | 42 | drivers/sound/adlib_card.c | request_region (hw_config->io_base, 4, "OPL3/OPL2"); |
hw_config | 48 | drivers/sound/adlib_card.c | probe_adlib (struct address_info *hw_config) |
hw_config | 51 | drivers/sound/adlib_card.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 53 | drivers/sound/adlib_card.c | printk ("\n\nopl3.c: I/O port %x already in use\n\n", hw_config->io_base); |
hw_config | 57 | drivers/sound/adlib_card.c | return opl3_detect (hw_config->io_base, hw_config->osp); |
hw_config | 61 | drivers/sound/adlib_card.c | unload_adlib (struct address_info *hw_config) |
hw_config | 63 | drivers/sound/adlib_card.c | release_region (hw_config->io_base, 4); |
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 | 709 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x0f, "aedsp16 (sbpro)"); |
hw_config | 721 | drivers/sound/aedsp16.c | InitAEDSP16_MSS (struct address_info *hw_config) |
hw_config | 737 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x08)) |
hw_config | 764 | drivers/sound/aedsp16.c | irq = hw_config->irq; |
hw_config | 765 | drivers/sound/aedsp16.c | dma = hw_config->dma; |
hw_config | 777 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x08, "aedsp16 (mss)"); |
hw_config | 792 | drivers/sound/aedsp16.c | InitAEDSP16_MPU401 (struct address_info *hw_config) |
hw_config | 802 | drivers/sound/aedsp16.c | if (check_region (hw_config->io_base, 0x02)) |
hw_config | 830 | drivers/sound/aedsp16.c | mirq = hw_config->irq; |
hw_config | 840 | drivers/sound/aedsp16.c | request_region (hw_config->io_base, 0x02, "aedsp16 (mpu401)"); |
hw_config | 58 | drivers/sound/cs4232.c | probe_cs4232_mpu (struct address_info *hw_config) |
hw_config | 64 | drivers/sound/cs4232.c | mpu_base = hw_config->io_base; |
hw_config | 65 | drivers/sound/cs4232.c | mpu_irq = hw_config->irq; |
hw_config | 71 | drivers/sound/cs4232.c | attach_cs4232_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 85 | drivers/sound/cs4232.c | probe_cs4232 (struct address_info *hw_config) |
hw_config | 88 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 89 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 95 | drivers/sound/cs4232.c | osp = hw_config->osp; |
hw_config | 107 | drivers/sound/cs4232.c | if (ad1848_detect (hw_config->io_base, NULL, hw_config->osp)) |
hw_config | 239 | drivers/sound/cs4232.c | if (ad1848_detect (hw_config->io_base, NULL, hw_config->osp)) |
hw_config | 265 | drivers/sound/cs4232.c | attach_cs4232 (long mem_start, struct address_info *hw_config) |
hw_config | 267 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 268 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 278 | drivers/sound/cs4232.c | hw_config->osp); |
hw_config | 295 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 312 | drivers/sound/cs4232.c | unload_cs4232 (struct address_info *hw_config) |
hw_config | 314 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 315 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 341 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 349 | drivers/sound/cs4232.c | unload_cs4232_mpu (struct address_info *hw_config) |
hw_config | 194 | drivers/sound/dev_table.c | sndtable_probe (int unit, struct address_info *hw_config) |
hw_config | 225 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.io_base = hw_config->io_base; |
hw_config | 226 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.irq = hw_config->irq; |
hw_config | 227 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma = hw_config->dma; |
hw_config | 228 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.dma2 = hw_config->dma2; |
hw_config | 229 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.name = hw_config->name; |
hw_config | 230 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.always_detect = hw_config->always_detect; |
hw_config | 231 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_1 = hw_config->driver_use_1; |
hw_config | 232 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.driver_use_2 = hw_config->driver_use_2; |
hw_config | 233 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.card_subtype = hw_config->card_subtype; |
hw_config | 234 | drivers/sound/dev_table.c | snd_installed_cards[sel].config.osp = hw_config->osp; |
hw_config | 244 | drivers/sound/dev_table.c | hw_config->card_subtype = |
hw_config | 248 | drivers/sound/dev_table.c | if (sound_drivers[drv].probe (hw_config)) |
hw_config | 265 | drivers/sound/dev_table.c | sndtable_init_card (int unit, struct address_info *hw_config) |
hw_config | 283 | drivers/sound/dev_table.c | snd_installed_cards[i].config.io_base = hw_config->io_base; |
hw_config | 284 | drivers/sound/dev_table.c | snd_installed_cards[i].config.irq = hw_config->irq; |
hw_config | 285 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma = hw_config->dma; |
hw_config | 286 | drivers/sound/dev_table.c | snd_installed_cards[i].config.dma2 = hw_config->dma2; |
hw_config | 287 | drivers/sound/dev_table.c | snd_installed_cards[i].config.name = hw_config->name; |
hw_config | 288 | drivers/sound/dev_table.c | snd_installed_cards[i].config.always_detect = hw_config->always_detect; |
hw_config | 289 | drivers/sound/dev_table.c | snd_installed_cards[i].config.driver_use_1 = hw_config->driver_use_1; |
hw_config | 290 | drivers/sound/dev_table.c | snd_installed_cards[i].config.driver_use_2 = hw_config->driver_use_2; |
hw_config | 291 | drivers/sound/dev_table.c | snd_installed_cards[i].config.card_subtype = hw_config->card_subtype; |
hw_config | 292 | drivers/sound/dev_table.c | snd_installed_cards[i].config.osp = hw_config->osp; |
hw_config | 302 | drivers/sound/dev_table.c | if (sound_drivers[drv].attach (0, hw_config) != 0) |
hw_config | 49 | drivers/sound/dev_table.h | long (*attach) (long mem_start, struct address_info *hw_config); |
hw_config | 50 | drivers/sound/dev_table.h | int (*probe) (struct address_info *hw_config); |
hw_config | 51 | drivers/sound/dev_table.h | void (*unload) (struct address_info *hw_config); |
hw_config | 526 | drivers/sound/dev_table.h | int sndtable_probe (int unit, struct address_info *hw_config); |
hw_config | 527 | drivers/sound/dev_table.h | int sndtable_init_card (int unit, struct address_info *hw_config); |
hw_config | 49 | drivers/sound/gus_card.c | attach_gus_card (long mem_start, struct address_info *hw_config) |
hw_config | 53 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 54 | drivers/sound/gus_card.c | snd_set_irq_handler (hw_config->irq, gusintr, "Gravis Ultrasound", hw_config->osp); |
hw_config | 56 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) /* |
hw_config | 60 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 62 | drivers/sound/gus_card.c | request_region (hw_config->io_base, 16, "GUS"); |
hw_config | 63 | drivers/sound/gus_card.c | request_region (hw_config->io_base + 0x100, 12, "GUS"); /* 0x10c-> is MAX */ |
hw_config | 65 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 67 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 68 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS(2)")) |
hw_config | 83 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 88 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 90 | drivers/sound/gus_card.c | printk (" WARNING! GUS found at %x, config was %x ", io_addr, hw_config->io_base); |
hw_config | 91 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 94 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 96 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 97 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS")) |
hw_config | 113 | drivers/sound/gus_card.c | probe_gus (struct address_info *hw_config) |
hw_config | 117 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 119 | drivers/sound/gus_card.c | if (hw_config->card_subtype == 1) |
hw_config | 122 | drivers/sound/gus_card.c | irq = hw_config->irq; |
hw_config | 124 | drivers/sound/gus_card.c | if (hw_config->card_subtype == 0) /* GUS/MAX/ACE */ |
hw_config | 132 | drivers/sound/gus_card.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 134 | drivers/sound/gus_card.c | else if (check_region (hw_config->io_base + 0x100, 16)) |
hw_config | 136 | drivers/sound/gus_card.c | else if (gus_wave_detect (hw_config->io_base)) |
hw_config | 146 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 153 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 163 | drivers/sound/gus_card.c | unload_gus (struct address_info *hw_config) |
hw_config | 165 | drivers/sound/gus_card.c | DDB (printk ("unload_gus(%x)\n", hw_config->io_base)); |
hw_config | 169 | drivers/sound/gus_card.c | release_region (hw_config->io_base, 16); |
hw_config | 170 | drivers/sound/gus_card.c | release_region (hw_config->io_base + 0x100, 12); /* 0x10c-> is MAX */ |
hw_config | 171 | drivers/sound/gus_card.c | snd_release_irq (hw_config->irq); |
hw_config | 173 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
hw_config | 175 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 176 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma2); |
hw_config | 240 | drivers/sound/gus_card.c | probe_gus_db16 (struct address_info *hw_config) |
hw_config | 242 | drivers/sound/gus_card.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 246 | drivers/sound/gus_card.c | attach_gus_db16 (long mem_start, struct address_info *hw_config) |
hw_config | 253 | drivers/sound/gus_card.c | ad1848_init ("GUS 16 bit sampling", hw_config->io_base, |
hw_config | 254 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 255 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 256 | drivers/sound/gus_card.c | hw_config->dma, 0, |
hw_config | 257 | drivers/sound/gus_card.c | hw_config->osp); |
hw_config | 262 | drivers/sound/gus_card.c | unload_gus_db16 (struct address_info *hw_config) |
hw_config | 265 | drivers/sound/gus_card.c | ad1848_unload (hw_config->io_base, |
hw_config | 266 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 267 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 268 | drivers/sound/gus_card.c | hw_config->dma, 0); |
hw_config | 2986 | drivers/sound/gus_wave.c | gus_wave_init (long mem_start, struct address_info *hw_config) |
hw_config | 2993 | drivers/sound/gus_wave.c | int irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 3085 | drivers/sound/gus_wave.c | if (ad1848_detect (gus_base + 0x10c, NULL, hw_config->osp)) |
hw_config | 3096 | drivers/sound/gus_wave.c | hw_config->osp); |
hw_config | 3113 | drivers/sound/gus_wave.c | if (hw_config->name) |
hw_config | 3117 | drivers/sound/gus_wave.c | strncpy (tmp, hw_config->name, 20); |
hw_config | 3135 | drivers/sound/gus_wave.c | conf_printf (gus_info.name, hw_config); |
hw_config | 218 | drivers/sound/mad16.c | wss_init (struct address_info *hw_config) |
hw_config | 226 | drivers/sound/mad16.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 232 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 240 | drivers/sound/mad16.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x04 && |
hw_config | 241 | drivers/sound/mad16.c | (inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 244 | drivers/sound/mad16.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 248 | drivers/sound/mad16.c | if (hw_config->irq > 11) |
hw_config | 250 | drivers/sound/mad16.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 254 | drivers/sound/mad16.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 256 | drivers/sound/mad16.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 264 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 270 | drivers/sound/mad16.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 272 | drivers/sound/mad16.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 279 | drivers/sound/mad16.c | probe_mad16 (struct address_info *hw_config) |
hw_config | 292 | drivers/sound/mad16.c | mad16_osp = hw_config->osp; |
hw_config | 352 | drivers/sound/mad16.c | printk ("MAD16/Mozart: Bad WSS base address 0x%x\n", hw_config->io_base); |
hw_config | 356 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 385 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 406 | drivers/sound/mad16.c | wss_init (hw_config); |
hw_config | 412 | drivers/sound/mad16.c | attach_mad16 (long mem_start, struct address_info *hw_config) |
hw_config | 426 | drivers/sound/mad16.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 427 | drivers/sound/mad16.c | int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 432 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 439 | drivers/sound/mad16.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 471 | drivers/sound/mad16.c | ad1848_init ("MAD16 WSS", hw_config->io_base + 4, |
hw_config | 472 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 475 | drivers/sound/mad16.c | hw_config->osp); |
hw_config | 476 | drivers/sound/mad16.c | request_region (hw_config->io_base, 4, "MAD16 WSS config"); |
hw_config | 482 | drivers/sound/mad16.c | attach_mad16_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 489 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 491 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 493 | drivers/sound/mad16.c | return mad16_sb_dsp_init (mem_start, hw_config); |
hw_config | 503 | drivers/sound/mad16.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 510 | drivers/sound/mad16.c | probe_mad16_mpu (struct address_info *hw_config) |
hw_config | 544 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 546 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 548 | drivers/sound/mad16.c | switch (hw_config->irq) |
hw_config | 565 | drivers/sound/mad16.c | return mad16_sb_dsp_detect (hw_config); |
hw_config | 581 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI port 0x%x\n", hw_config->io_base); |
hw_config | 585 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 600 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI IRQ %d\n", hw_config->irq); |
hw_config | 604 | drivers/sound/mad16.c | if (valid_irqs[i] == hw_config->irq) |
hw_config | 612 | drivers/sound/mad16.c | return probe_mpu401 (hw_config); |
hw_config | 619 | drivers/sound/mad16.c | unload_mad16 (struct address_info *hw_config) |
hw_config | 621 | drivers/sound/mad16.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 622 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 623 | drivers/sound/mad16.c | hw_config->dma, |
hw_config | 624 | drivers/sound/mad16.c | hw_config->dma2, 0); |
hw_config | 625 | drivers/sound/mad16.c | release_region (hw_config->io_base, 4); |
hw_config | 630 | drivers/sound/mad16.c | unload_mad16_mpu (struct address_info *hw_config) |
hw_config | 635 | drivers/sound/mad16.c | mad16_sb_dsp_unload (hw_config); |
hw_config | 641 | drivers/sound/mad16.c | unload_mpu401 (hw_config); |
hw_config | 144 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_detect (struct address_info *hw_config) |
hw_config | 146 | drivers/sound/mad16_sb_midi.c | mad16_sb_base = hw_config->io_base; |
hw_config | 147 | drivers/sound/mad16_sb_midi.c | mad16_sb_irq = hw_config->irq; |
hw_config | 148 | drivers/sound/mad16_sb_midi.c | midi_osp = hw_config->osp; |
hw_config | 150 | drivers/sound/mad16_sb_midi.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 152 | drivers/sound/mad16_sb_midi.c | printk ("MAD16 SB MIDI: I/O base %x not free\n", hw_config->io_base); |
hw_config | 169 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 175 | drivers/sound/mad16_sb_midi.c | midi_osp = hw_config->osp; |
hw_config | 182 | drivers/sound/mad16_sb_midi.c | request_region (hw_config->io_base, 16, "mad16/Mozart MIDI"); |
hw_config | 184 | drivers/sound/mad16_sb_midi.c | conf_printf ("MAD16 MIDI (SB mode)", hw_config); |
hw_config | 192 | drivers/sound/mad16_sb_midi.c | mad16_sb_dsp_unload (struct address_info *hw_config) |
hw_config | 197 | drivers/sound/mad16_sb_midi.c | release_region (hw_config->io_base, 16); |
hw_config | 198 | drivers/sound/mad16_sb_midi.c | snd_release_irq (hw_config->irq); |
hw_config | 366 | drivers/sound/maui.c | probe_maui (struct address_info *hw_config) |
hw_config | 371 | drivers/sound/maui.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 374 | drivers/sound/maui.c | maui_base = hw_config->io_base; |
hw_config | 375 | drivers/sound/maui.c | maui_osp = hw_config->osp; |
hw_config | 377 | drivers/sound/maui.c | if (snd_set_irq_handler (hw_config->irq, mauiintr, "Maui", maui_osp) < 0) |
hw_config | 391 | drivers/sound/maui.c | if (!maui_init (hw_config->irq)) |
hw_config | 393 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 401 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 408 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 414 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 440 | drivers/sound/maui.c | if (probe_mpu401 (hw_config)) |
hw_config | 443 | drivers/sound/maui.c | ret = probe_mpu401 (hw_config); |
hw_config | 446 | drivers/sound/maui.c | request_region (hw_config->io_base + 2, 6, "Maui"); |
hw_config | 452 | drivers/sound/maui.c | attach_maui (long mem_start, struct address_info *hw_config) |
hw_config | 456 | drivers/sound/maui.c | conf_printf ("Maui", hw_config); |
hw_config | 458 | drivers/sound/maui.c | hw_config->irq *= -1; |
hw_config | 459 | drivers/sound/maui.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 484 | drivers/sound/maui.c | unload_maui (struct address_info *hw_config) |
hw_config | 486 | drivers/sound/maui.c | int irq = hw_config->irq; |
hw_config | 488 | drivers/sound/maui.c | release_region (hw_config->io_base + 2, 6); |
hw_config | 490 | drivers/sound/maui.c | unload_mpu401 (hw_config); |
hw_config | 1051 | drivers/sound/mpu401.c | attach_mpu401 (long mem_start, struct address_info *hw_config) |
hw_config | 1066 | drivers/sound/mpu401.c | devc->base = hw_config->io_base; |
hw_config | 1067 | drivers/sound/mpu401.c | devc->osp = hw_config->osp; |
hw_config | 1068 | drivers/sound/mpu401.c | devc->irq = hw_config->irq; |
hw_config | 1078 | drivers/sound/mpu401.c | devc->shared_irq = hw_config->always_detect; |
hw_config | 1079 | drivers/sound/mpu401.c | devc->irq = hw_config->irq; |
hw_config | 1088 | drivers/sound/mpu401.c | if (!hw_config->always_detect) |
hw_config | 1112 | drivers/sound/mpu401.c | request_region (hw_config->io_base, 2, "mpu401"); |
hw_config | 1191 | drivers/sound/mpu401.c | conf_printf (mpu_synth_info[num_midis].name, hw_config); |
hw_config | 1286 | drivers/sound/mpu401.c | probe_mpu401 (struct address_info *hw_config) |
hw_config | 1291 | drivers/sound/mpu401.c | if (check_region (hw_config->io_base, 2)) |
hw_config | 1294 | drivers/sound/mpu401.c | hw_config->io_base); |
hw_config | 1298 | drivers/sound/mpu401.c | tmp_devc.base = hw_config->io_base; |
hw_config | 1299 | drivers/sound/mpu401.c | tmp_devc.irq = hw_config->irq; |
hw_config | 1302 | drivers/sound/mpu401.c | tmp_devc.osp = hw_config->osp; |
hw_config | 1304 | drivers/sound/mpu401.c | if (hw_config->always_detect) |
hw_config | 1307 | drivers/sound/mpu401.c | if (inb (hw_config->io_base + 1) == 0xff) |
hw_config | 1309 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Port %x looks dead.\n", hw_config->io_base)); |
hw_config | 1317 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Reset failed on port %x\n", hw_config->io_base)); |
hw_config | 1324 | drivers/sound/mpu401.c | unload_mpu401 (struct address_info *hw_config) |
hw_config | 1326 | drivers/sound/mpu401.c | release_region (hw_config->io_base, 2); |
hw_config | 1327 | drivers/sound/mpu401.c | if (hw_config->always_detect == 0 && hw_config->irq > 0) |
hw_config | 1328 | drivers/sound/mpu401.c | snd_release_irq (hw_config->irq); |
hw_config | 142 | drivers/sound/pas2_card.c | config_pas_hw (struct address_info *hw_config) |
hw_config | 147 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 202 | drivers/sound/pas2_card.c | if (snd_set_irq_handler (pas_irq, pasintr, "PAS16", hw_config->osp) < 0) |
hw_config | 207 | drivers/sound/pas2_card.c | if (hw_config->dma < 0 || hw_config->dma > 7) |
hw_config | 209 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 214 | drivers/sound/pas2_card.c | pas_write (I_C_2_PCM_DMA_translate[hw_config->dma], IO_CONFIGURATION_2); |
hw_config | 215 | drivers/sound/pas2_card.c | if (!I_C_2_PCM_DMA_translate[hw_config->dma]) |
hw_config | 217 | drivers/sound/pas2_card.c | printk ("PAS2: Invalid DMA selection %d", hw_config->dma); |
hw_config | 222 | drivers/sound/pas2_card.c | if (sound_alloc_dma (hw_config->dma, "PAS16")) |
hw_config | 316 | drivers/sound/pas2_card.c | detect_pas_hw (struct address_info *hw_config) |
hw_config | 330 | drivers/sound/pas2_card.c | outb (hw_config->io_base >> 2, MASTER_DECODE); /* |
hw_config | 333 | drivers/sound/pas2_card.c | translat_code = PAS_DEFAULT_BASE ^ hw_config->io_base; |
hw_config | 366 | drivers/sound/pas2_card.c | attach_pas_card (long mem_start, struct address_info *hw_config) |
hw_config | 368 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 369 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 371 | drivers/sound/pas2_card.c | if (detect_pas_hw (hw_config)) |
hw_config | 381 | drivers/sound/pas2_card.c | conf_printf (temp, hw_config); |
hw_config | 384 | drivers/sound/pas2_card.c | if (config_pas_hw (hw_config)) |
hw_config | 388 | drivers/sound/pas2_card.c | mem_start = pas_pcm_init (mem_start, hw_config); |
hw_config | 412 | drivers/sound/pas2_card.c | probe_pas (struct address_info *hw_config) |
hw_config | 414 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 415 | drivers/sound/pas2_card.c | return detect_pas_hw (hw_config); |
hw_config | 419 | drivers/sound/pas2_card.c | unload_pas (struct address_info *hw_config) |
hw_config | 421 | drivers/sound/pas2_card.c | sound_free_dma (hw_config->dma); |
hw_config | 422 | drivers/sound/pas2_card.c | snd_release_irq (hw_config->irq); |
hw_config | 445 | drivers/sound/pas2_pcm.c | pas_pcm_init (long mem_start, struct address_info *hw_config) |
hw_config | 458 | drivers/sound/pas2_pcm.c | audio_devs[my_devnum]->dmachan1 = hw_config->dma; |
hw_config | 94 | drivers/sound/pss.c | probe_pss (struct address_info *hw_config) |
hw_config | 99 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 100 | drivers/sound/pss.c | irq = devc->irq = hw_config->irq; |
hw_config | 101 | drivers/sound/pss.c | dma = devc->dma = hw_config->dma; |
hw_config | 102 | drivers/sound/pss.c | devc->osp = hw_config->osp; |
hw_config | 324 | drivers/sound/pss.c | attach_pss (long mem_start, struct address_info *hw_config) |
hw_config | 329 | drivers/sound/pss.c | devc->base = hw_config->io_base; |
hw_config | 330 | drivers/sound/pss.c | devc->irq = hw_config->irq; |
hw_config | 331 | drivers/sound/pss.c | devc->dma = hw_config->dma; |
hw_config | 332 | drivers/sound/pss.c | devc->osp = hw_config->osp; |
hw_config | 334 | drivers/sound/pss.c | if (!probe_pss (hw_config)) |
hw_config | 349 | drivers/sound/pss.c | if (sound_alloc_dma (hw_config->dma, "PSS")) |
hw_config | 370 | drivers/sound/pss.c | conf_printf (tmp, hw_config); |
hw_config | 376 | drivers/sound/pss.c | probe_pss_mpu (struct address_info *hw_config) |
hw_config | 383 | drivers/sound/pss.c | if (check_region (hw_config->io_base, 2)) |
hw_config | 389 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_MIDI, hw_config->io_base)) |
hw_config | 395 | drivers/sound/pss.c | if (!set_irq (devc, CONF_MIDI, hw_config->irq)) |
hw_config | 420 | drivers/sound/pss.c | if ((inb (hw_config->io_base + 1) & 0x80) == 0) /* Input data avail */ |
hw_config | 421 | drivers/sound/pss.c | inb (hw_config->io_base); /* Discard it */ |
hw_config | 427 | drivers/sound/pss.c | return probe_mpu401 (hw_config); |
hw_config | 780 | drivers/sound/pss.c | attach_pss_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 788 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
hw_config | 798 | drivers/sound/pss.c | probe_pss_mss (struct address_info *hw_config) |
hw_config | 805 | drivers/sound/pss.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 811 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_WSS, hw_config->io_base)) |
hw_config | 817 | drivers/sound/pss.c | if (!set_irq (devc, CONF_WSS, hw_config->irq)) |
hw_config | 823 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
hw_config | 836 | drivers/sound/pss.c | timeout < 100000 && (inb (hw_config->io_base + 3) & 0x3f) != 0x04; |
hw_config | 839 | drivers/sound/pss.c | outb (0x0b, hw_config->io_base + 4); /* Required by some cards */ |
hw_config | 840 | drivers/sound/pss.c | return probe_ms_sound (hw_config); |
hw_config | 844 | drivers/sound/pss.c | attach_pss_mss (long mem_start, struct address_info *hw_config) |
hw_config | 850 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
hw_config | 859 | drivers/sound/pss.c | unload_pss (struct address_info *hw_config) |
hw_config | 864 | drivers/sound/pss.c | unload_pss_mpu (struct address_info *hw_config) |
hw_config | 866 | drivers/sound/pss.c | unload_mpu401 (hw_config); |
hw_config | 870 | drivers/sound/pss.c | unload_pss_mss (struct address_info *hw_config) |
hw_config | 872 | drivers/sound/pss.c | unload_ms_sound (hw_config); |
hw_config | 491 | drivers/sound/sb16_dsp.c | sb16_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 500 | drivers/sound/sb16_dsp.c | conf_printf (sb16_dsp_operations.name, hw_config); |
hw_config | 535 | drivers/sound/sb16_dsp.c | sb16_dsp_detect (struct address_info *hw_config) |
hw_config | 548 | drivers/sound/sb16_dsp.c | irq = hw_config->irq; |
hw_config | 549 | drivers/sound/sb16_dsp.c | set_dma (hw_config->dma); |
hw_config | 550 | drivers/sound/sb16_dsp.c | set_dma (hw_config->dma2); |
hw_config | 605 | drivers/sound/sb16_dsp.c | unload_sb16 (struct address_info *hw_config) |
hw_config | 257 | drivers/sound/sb16_midi.c | attach_sb16midi (long mem_start, struct address_info *hw_config) |
hw_config | 259 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 264 | drivers/sound/sb16_midi.c | request_region (hw_config->io_base, 4, "SB MIDI"); |
hw_config | 273 | drivers/sound/sb16_midi.c | conf_printf ("SoundBlaster MPU-401", hw_config); |
hw_config | 329 | drivers/sound/sb16_midi.c | probe_sb16midi (struct address_info *hw_config) |
hw_config | 334 | drivers/sound/sb16_midi.c | extern void ess_midi_init (struct address_info *hw_config); |
hw_config | 335 | drivers/sound/sb16_midi.c | extern void Jazz16_midi_init (struct address_info *hw_config); |
hw_config | 337 | drivers/sound/sb16_midi.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 341 | drivers/sound/sb16_midi.c | ess_midi_init (hw_config); |
hw_config | 343 | drivers/sound/sb16_midi.c | Jazz16_midi_init (hw_config); |
hw_config | 347 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 359 | drivers/sound/sb16_midi.c | unload_sb16midi (struct address_info *hw_config) |
hw_config | 361 | drivers/sound/sb16_midi.c | release_region (hw_config->io_base, 4); |
hw_config | 39 | drivers/sound/sb_card.c | attach_sb_card (long mem_start, struct address_info *hw_config) |
hw_config | 42 | drivers/sound/sb_card.c | if (!sb_dsp_detect (hw_config)) |
hw_config | 44 | drivers/sound/sb_card.c | mem_start = sb_dsp_init (mem_start, hw_config); |
hw_config | 45 | drivers/sound/sb_card.c | request_region (hw_config->io_base, 16, "SoundBlaster"); |
hw_config | 52 | drivers/sound/sb_card.c | probe_sb (struct address_info *hw_config) |
hw_config | 54 | drivers/sound/sb_card.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 57 | drivers/sound/sb_card.c | hw_config->io_base); |
hw_config | 61 | drivers/sound/sb_card.c | return sb_dsp_detect (hw_config); |
hw_config | 65 | drivers/sound/sb_card.c | unload_sb (struct address_info *hw_config) |
hw_config | 67 | drivers/sound/sb_card.c | release_region (hw_config->io_base, 16); |
hw_config | 68 | drivers/sound/sb_card.c | sb_dsp_unload (hw_config); |
hw_config | 111 | drivers/sound/sb_dsp.c | static void dsp_get_vers (struct address_info *hw_config); |
hw_config | 1230 | drivers/sound/sb_dsp.c | sb_dsp_detect (struct address_info *hw_config) |
hw_config | 1237 | drivers/sound/sb_dsp.c | sbc_base = hw_config->io_base; |
hw_config | 1238 | drivers/sound/sb_dsp.c | sbc_irq = hw_config->irq; |
hw_config | 1239 | drivers/sound/sb_dsp.c | sbc_dma = hw_config->dma; |
hw_config | 1240 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1241 | drivers/sound/sb_dsp.c | dma8 = dma16 = hw_config->dma; |
hw_config | 1244 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1364 | drivers/sound/sb_dsp.c | ess_midi_init (struct address_info *hw_config) /* called from sb16_midi.c */ |
hw_config | 1370 | drivers/sound/sb_dsp.c | tmp = (hw_config->io_base & 0x0f0) >> 4; |
hw_config | 1382 | drivers/sound/sb_dsp.c | switch (hw_config->irq) |
hw_config | 1402 | drivers/sound/sb_dsp.c | ess_mpu_irq = hw_config->irq; |
hw_config | 1413 | drivers/sound/sb_dsp.c | Jazz16_midi_init (struct address_info *hw_config) |
hw_config | 1418 | drivers/sound/sb_dsp.c | mpu_base = hw_config->io_base; |
hw_config | 1419 | drivers/sound/sb_dsp.c | mpu_irq = hw_config->irq; |
hw_config | 1447 | drivers/sound/sb_dsp.c | dsp_get_vers (struct address_info *hw_config) |
hw_config | 1455 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1476 | drivers/sound/sb_dsp.c | sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 1484 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1489 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1584 | drivers/sound/sb_dsp.c | conf_printf (sb_dsp_operations.name, hw_config); |
hw_config | 1598 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
hw_config | 1599 | drivers/sound/sb_dsp.c | dma16 = audio_devs[my_dev]->dmachan2 = hw_config->dma; |
hw_config | 1600 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "SoundBlaster")) |
hw_config | 1606 | drivers/sound/sb_dsp.c | conf_printf ("SoundBlaster (configured without audio support)", hw_config); |
hw_config | 1620 | drivers/sound/sb_dsp.c | if (sb16 || hw_config->dma2 >= 0) |
hw_config | 1622 | drivers/sound/sb_dsp.c | if (sb16_dsp_detect (hw_config)) |
hw_config | 1625 | drivers/sound/sb_dsp.c | return sb16_dsp_init (mem_start, hw_config); |
hw_config | 1632 | drivers/sound/sb_dsp.c | sb_dsp_unload (struct address_info *hw_config) |
hw_config | 1651 | drivers/sound/sb_dsp.c | unload_sb16 (hw_config); |
hw_config | 90 | drivers/sound/sound_calls.h | void conf_printf(char *name, struct address_info *hw_config); |
hw_config | 102 | drivers/sound/sound_calls.h | int sb_dsp_detect (struct address_info *hw_config); |
hw_config | 103 | drivers/sound/sound_calls.h | long sb_dsp_init (long mem_start, struct address_info *hw_config); |
hw_config | 113 | drivers/sound/sound_calls.h | long sb16_dsp_init(long mem_start, struct address_info *hw_config); |
hw_config | 114 | drivers/sound/sound_calls.h | int sb16_dsp_detect(struct address_info *hw_config); |
hw_config | 118 | drivers/sound/sound_calls.h | long attach_sb16midi(long mem_start, struct address_info * hw_config); |
hw_config | 119 | drivers/sound/sound_calls.h | int probe_sb16midi(struct address_info *hw_config); |
hw_config | 137 | drivers/sound/sound_calls.h | long attach_sb_card(long mem_start, struct address_info *hw_config); |
hw_config | 138 | drivers/sound/sound_calls.h | int probe_sb(struct address_info *hw_config); |
hw_config | 141 | drivers/sound/sound_calls.h | long attach_adlib_card(long mem_start, struct address_info *hw_config); |
hw_config | 142 | drivers/sound/sound_calls.h | int probe_adlib(struct address_info *hw_config); |
hw_config | 145 | drivers/sound/sound_calls.h | long attach_pas_card(long mem_start, struct address_info *hw_config); |
hw_config | 146 | drivers/sound/sound_calls.h | int probe_pas(struct address_info *hw_config); |
hw_config | 154 | drivers/sound/sound_calls.h | long pas_pcm_init(long mem_start, struct address_info *hw_config); |
hw_config | 164 | drivers/sound/sound_calls.h | long attach_gus_card(long mem_start, struct address_info * hw_config); |
hw_config | 165 | drivers/sound/sound_calls.h | int probe_gus(struct address_info *hw_config); |
hw_config | 168 | drivers/sound/sound_calls.h | long attach_gus_db16(long mem_start, struct address_info * hw_config); |
hw_config | 169 | drivers/sound/sound_calls.h | int probe_gus_db16(struct address_info *hw_config); |
hw_config | 173 | drivers/sound/sound_calls.h | long gus_wave_init(long mem_start, struct address_info *hw_config); |
hw_config | 188 | drivers/sound/sound_calls.h | long attach_mpu401(long mem_start, struct address_info * hw_config); |
hw_config | 189 | drivers/sound/sound_calls.h | int probe_mpu401(struct address_info *hw_config); |
hw_config | 193 | drivers/sound/sound_calls.h | long attach_uart6850(long mem_start, struct address_info * hw_config); |
hw_config | 194 | drivers/sound/sound_calls.h | int probe_uart6850(struct address_info *hw_config); |
hw_config | 224 | drivers/sound/sound_calls.h | long attach_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 225 | drivers/sound/sound_calls.h | int probe_ms_sound(struct address_info *hw_config); |
hw_config | 226 | drivers/sound/sound_calls.h | long attach_pnp_ad1848(long mem_start, struct address_info * hw_config); |
hw_config | 227 | drivers/sound/sound_calls.h | int probe_pnp_ad1848(struct address_info *hw_config); |
hw_config | 231 | drivers/sound/sound_calls.h | int probe_pss (struct address_info *hw_config); |
hw_config | 232 | drivers/sound/sound_calls.h | long attach_pss (long mem_start, struct address_info *hw_config); |
hw_config | 233 | drivers/sound/sound_calls.h | int probe_pss_mpu (struct address_info *hw_config); |
hw_config | 234 | drivers/sound/sound_calls.h | long attach_pss_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 235 | drivers/sound/sound_calls.h | int probe_pss_mss (struct address_info *hw_config); |
hw_config | 236 | drivers/sound/sound_calls.h | long attach_pss_mss (long mem_start, struct address_info *hw_config); |
hw_config | 239 | drivers/sound/sound_calls.h | int probe_sscape (struct address_info *hw_config); |
hw_config | 240 | drivers/sound/sound_calls.h | long attach_sscape (long mem_start, struct address_info *hw_config); |
hw_config | 241 | drivers/sound/sound_calls.h | int probe_ss_ms_sound (struct address_info *hw_config); |
hw_config | 242 | drivers/sound/sound_calls.h | long attach_ss_ms_sound(long mem_start, struct address_info * hw_config); |
hw_config | 254 | drivers/sound/sound_calls.h | int InitAEDSP16_SBPRO(struct address_info *hw_config); |
hw_config | 255 | drivers/sound/sound_calls.h | int InitAEDSP16_MSS(struct address_info *hw_config); |
hw_config | 256 | drivers/sound/sound_calls.h | int InitAEDSP16_MPU401(struct address_info *hw_config); |
hw_config | 262 | drivers/sound/sound_calls.h | long attach_trix_wss (long mem_start, struct address_info *hw_config); |
hw_config | 263 | drivers/sound/sound_calls.h | int probe_trix_wss (struct address_info *hw_config); |
hw_config | 264 | drivers/sound/sound_calls.h | long attach_trix_sb (long mem_start, struct address_info *hw_config); |
hw_config | 265 | drivers/sound/sound_calls.h | int probe_trix_sb (struct address_info *hw_config); |
hw_config | 266 | drivers/sound/sound_calls.h | long attach_trix_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 267 | drivers/sound/sound_calls.h | int probe_trix_mpu (struct address_info *hw_config); |
hw_config | 270 | drivers/sound/sound_calls.h | long attach_mad16 (long mem_start, struct address_info *hw_config); |
hw_config | 271 | drivers/sound/sound_calls.h | int probe_mad16 (struct address_info *hw_config); |
hw_config | 272 | drivers/sound/sound_calls.h | long attach_mad16_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 273 | drivers/sound/sound_calls.h | int probe_mad16_mpu (struct address_info *hw_config); |
hw_config | 274 | drivers/sound/sound_calls.h | int mad16_sb_dsp_detect (struct address_info *hw_config); |
hw_config | 275 | drivers/sound/sound_calls.h | long mad16_sb_dsp_init (long mem_start, struct address_info *hw_config); |
hw_config | 276 | drivers/sound/sound_calls.h | void mad16_sb_dsp_unload(struct address_info *hw_config); |
hw_config | 305 | drivers/sound/sound_calls.h | int probe_cs4232 (struct address_info *hw_config); |
hw_config | 306 | drivers/sound/sound_calls.h | long attach_cs4232 (long mem_start, struct address_info *hw_config); |
hw_config | 307 | drivers/sound/sound_calls.h | int probe_cs4232_mpu (struct address_info *hw_config); |
hw_config | 308 | drivers/sound/sound_calls.h | long attach_cs4232_mpu (long mem_start, struct address_info *hw_config); |
hw_config | 311 | drivers/sound/sound_calls.h | long attach_maui(long mem_start, struct address_info * hw_config); |
hw_config | 312 | drivers/sound/sound_calls.h | int probe_maui(struct address_info *hw_config); |
hw_config | 738 | drivers/sound/soundcard.c | conf_printf (char *name, struct address_info *hw_config) |
hw_config | 743 | drivers/sound/soundcard.c | printk ("<%s> at 0x%03x", name, hw_config->io_base); |
hw_config | 745 | drivers/sound/soundcard.c | if (hw_config->irq) |
hw_config | 746 | drivers/sound/soundcard.c | printk (" irq %d", (hw_config->irq > 0) ? hw_config->irq : -hw_config->irq); |
hw_config | 748 | drivers/sound/soundcard.c | if (hw_config->dma != -1 || hw_config->dma2 != -1) |
hw_config | 750 | drivers/sound/soundcard.c | printk (" dma %d", hw_config->dma); |
hw_config | 751 | drivers/sound/soundcard.c | if (hw_config->dma2 != -1) |
hw_config | 752 | drivers/sound/soundcard.c | printk (",%d", hw_config->dma2); |
hw_config | 859 | drivers/sound/sscape.c | attach_sscape (long mem_start, struct address_info *hw_config) |
hw_config | 896 | drivers/sound/sscape.c | if (sscape_detected != hw_config->io_base) |
hw_config | 902 | drivers/sound/sscape.c | conf_printf ("Ensoniq Soundscape (old)", hw_config); |
hw_config | 905 | drivers/sound/sscape.c | conf_printf ("Ensoniq Soundscape", hw_config); |
hw_config | 908 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 914 | drivers/sound/sscape.c | if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) |
hw_config | 916 | drivers/sound/sscape.c | printk ("Invalid IRQ%d\n", hw_config->irq); |
hw_config | 972 | drivers/sound/sscape.c | if (probe_mpu401 (hw_config)) |
hw_config | 973 | drivers/sound/sscape.c | hw_config->always_detect = 1; |
hw_config | 978 | drivers/sound/sscape.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 992 | drivers/sound/sscape.c | audio_devs[my_dev]->dmachan1 = hw_config->dma; |
hw_config | 998 | drivers/sound/sscape.c | if (snd_set_irq_handler (hw_config->irq, sscapeintr, "SoundScape", devc->osp) < 0) |
hw_config | 1013 | drivers/sound/sscape.c | probe_sscape (struct address_info *hw_config) |
hw_config | 1018 | drivers/sound/sscape.c | devc->base = hw_config->io_base; |
hw_config | 1019 | drivers/sound/sscape.c | devc->irq = hw_config->irq; |
hw_config | 1020 | drivers/sound/sscape.c | devc->dma = hw_config->dma; |
hw_config | 1021 | drivers/sound/sscape.c | devc->osp = hw_config->osp; |
hw_config | 1023 | drivers/sound/sscape.c | if (sscape_detected != 0 && sscape_detected != hw_config->io_base) |
hw_config | 1086 | drivers/sound/sscape.c | if (sound_alloc_dma (hw_config->dma, "soundscape")) |
hw_config | 1092 | drivers/sound/sscape.c | sscape_detected = hw_config->io_base; |
hw_config | 1098 | drivers/sound/sscape.c | probe_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1112 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1117 | drivers/sound/sscape.c | if (hw_config->irq > 15 || irq_bits == 0xff) |
hw_config | 1119 | drivers/sound/sscape.c | printk ("SoundScape: Invalid MSS IRQ%d\n", hw_config->irq); |
hw_config | 1123 | drivers/sound/sscape.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 1127 | drivers/sound/sscape.c | attach_ss_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1157 | drivers/sound/sscape.c | if (hw_config->irq == valid_interrupts[i]) |
hw_config | 1163 | drivers/sound/sscape.c | sscape_write (devc, GA_CDCFG_REG, 0x89 | (hw_config->dma << 4) | |
hw_config | 1166 | drivers/sound/sscape.c | if (hw_config->irq == devc->irq) |
hw_config | 1169 | drivers/sound/sscape.c | ad1848_init ("SoundScape", hw_config->io_base, |
hw_config | 1170 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1171 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1172 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1197 | drivers/sound/sscape.c | unload_sscape (struct address_info *hw_config) |
hw_config | 1200 | drivers/sound/sscape.c | unload_mpu401 (hw_config); |
hw_config | 1202 | drivers/sound/sscape.c | snd_release_irq (hw_config->irq); |
hw_config | 1203 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
hw_config | 1207 | drivers/sound/sscape.c | unload_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1209 | drivers/sound/sscape.c | ad1848_unload (hw_config->io_base, |
hw_config | 1210 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1211 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1212 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 95 | drivers/sound/trix.c | trix_set_wss_port (struct address_info *hw_config) |
hw_config | 127 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 155 | drivers/sound/trix.c | probe_trix_wss (struct address_info *hw_config) |
hw_config | 164 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 166 | drivers/sound/trix.c | printk ("AudioTriX: MSS I/O port conflict (%x)\n", hw_config->io_base); |
hw_config | 170 | drivers/sound/trix.c | trix_osp = hw_config->osp; |
hw_config | 172 | drivers/sound/trix.c | if (!trix_set_wss_port (hw_config)) |
hw_config | 175 | drivers/sound/trix.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 177 | drivers/sound/trix.c | DDB (printk ("No MSS signature detected on port 0x%x\n", hw_config->io_base)); |
hw_config | 181 | drivers/sound/trix.c | if (hw_config->irq > 11) |
hw_config | 183 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS IRQ %d\n", hw_config->irq); |
hw_config | 187 | drivers/sound/trix.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 189 | drivers/sound/trix.c | printk ("AudioTriX: Bad WSS DMA %d\n", hw_config->dma); |
hw_config | 193 | drivers/sound/trix.c | if (hw_config->dma2 != -1) |
hw_config | 194 | drivers/sound/trix.c | if (hw_config->dma2 != 0 && hw_config->dma2 != 1 && hw_config->dma2 != 3) |
hw_config | 196 | drivers/sound/trix.c | printk ("AudioTriX: Bad capture DMA %d\n", hw_config->dma2); |
hw_config | 204 | drivers/sound/trix.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 210 | drivers/sound/trix.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 212 | drivers/sound/trix.c | printk ("AudioTriX: Can't use IRQ%d with a 8 bit card\n", hw_config->irq); |
hw_config | 216 | drivers/sound/trix.c | ret = ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 225 | drivers/sound/trix.c | attach_trix_wss (long mem_start, struct address_info *hw_config) |
hw_config | 234 | drivers/sound/trix.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 235 | drivers/sound/trix.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 237 | drivers/sound/trix.c | trix_osp = hw_config->osp; |
hw_config | 249 | drivers/sound/trix.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 252 | drivers/sound/trix.c | printk ("AudioTriX: Bad IRQ (%d)\n", hw_config->irq); |
hw_config | 260 | drivers/sound/trix.c | if (hw_config->dma2 == -1) /* Single DMA mode */ |
hw_config | 278 | drivers/sound/trix.c | ad1848_init ("AudioTriX Pro", hw_config->io_base + 4, |
hw_config | 279 | drivers/sound/trix.c | hw_config->irq, |
hw_config | 283 | drivers/sound/trix.c | hw_config->osp); |
hw_config | 284 | drivers/sound/trix.c | request_region (hw_config->io_base, 4, "MSS config"); |
hw_config | 289 | drivers/sound/trix.c | probe_trix_sb (struct address_info *hw_config) |
hw_config | 306 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 16)) |
hw_config | 308 | drivers/sound/trix.c | printk ("AudioTriX: SB I/O port conflict (%x)\n", hw_config->io_base); |
hw_config | 312 | drivers/sound/trix.c | if (hw_config->io_base & 0xffffff8f != 0x200) |
hw_config | 315 | drivers/sound/trix.c | tmp = hw_config->irq; |
hw_config | 321 | drivers/sound/trix.c | tmp = hw_config->dma; |
hw_config | 326 | drivers/sound/trix.c | conf |= hw_config->io_base & 0x70; /* I/O address bits */ |
hw_config | 327 | drivers/sound/trix.c | conf |= irq_translate[hw_config->irq]; |
hw_config | 328 | drivers/sound/trix.c | if (hw_config->dma == 3) |
hw_config | 332 | drivers/sound/trix.c | download_boot (hw_config->io_base); |
hw_config | 339 | drivers/sound/trix.c | attach_trix_sb (long mem_start, struct address_info *hw_config) |
hw_config | 347 | drivers/sound/trix.c | conf_printf ("AudioTriX (SB)", hw_config); |
hw_config | 352 | drivers/sound/trix.c | attach_trix_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 355 | drivers/sound/trix.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 362 | drivers/sound/trix.c | probe_trix_mpu (struct address_info *hw_config) |
hw_config | 387 | drivers/sound/trix.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 389 | drivers/sound/trix.c | printk ("AudioTriX: MPU I/O port conflict (%x)\n", hw_config->io_base); |
hw_config | 393 | drivers/sound/trix.c | if (hw_config->irq > 9) |
hw_config | 395 | drivers/sound/trix.c | printk ("AudioTriX: Bad MPU IRQ %d\n", hw_config->irq); |
hw_config | 399 | drivers/sound/trix.c | if (irq_bits[hw_config->irq] == -1) |
hw_config | 401 | drivers/sound/trix.c | printk ("AudioTriX: Bad MPU IRQ %d\n", hw_config->irq); |
hw_config | 405 | drivers/sound/trix.c | switch (hw_config->io_base) |
hw_config | 423 | drivers/sound/trix.c | conf |= irq_bits[hw_config->irq] << 4; |
hw_config | 429 | drivers/sound/trix.c | return probe_mpu401 (hw_config); |
hw_config | 436 | drivers/sound/trix.c | unload_trix_wss (struct address_info *hw_config) |
hw_config | 438 | drivers/sound/trix.c | int dma2 = hw_config->dma2; |
hw_config | 441 | drivers/sound/trix.c | dma2 = hw_config->dma; |
hw_config | 444 | drivers/sound/trix.c | release_region (hw_config->io_base, 4); |
hw_config | 446 | drivers/sound/trix.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 447 | drivers/sound/trix.c | hw_config->irq, |
hw_config | 448 | drivers/sound/trix.c | hw_config->dma, |
hw_config | 454 | drivers/sound/trix.c | unload_trix_mpu (struct address_info *hw_config) |
hw_config | 457 | drivers/sound/trix.c | unload_mpu401 (hw_config); |
hw_config | 461 | drivers/sound/trix.c | unload_trix_sb (struct address_info *hw_config) |
hw_config | 279 | drivers/sound/uart6850.c | attach_uart6850 (long mem_start, struct address_info *hw_config) |
hw_config | 290 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 291 | drivers/sound/uart6850.c | uart6850_osp = hw_config->osp; |
hw_config | 292 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 309 | drivers/sound/uart6850.c | conf_printf ("6850 Midi Interface", hw_config); |
hw_config | 327 | drivers/sound/uart6850.c | probe_uart6850 (struct address_info *hw_config) |
hw_config | 331 | drivers/sound/uart6850.c | uart6850_osp = hw_config->osp; |
hw_config | 332 | drivers/sound/uart6850.c | uart6850_base = hw_config->io_base; |
hw_config | 333 | drivers/sound/uart6850.c | uart6850_irq = hw_config->irq; |
hw_config | 345 | drivers/sound/uart6850.c | unload_uart6850 (struct address_info *hw_config) |
hw_config | 347 | drivers/sound/uart6850.c | snd_release_irq (hw_config->irq); |
hw_config | 147 | include/linux/cdu31a.h | #define SONY_HWC_GET_LOAD_MECH(c) (c.hw_config[0] & 0x03) |
hw_config | 148 | include/linux/cdu31a.h | #define SONY_HWC_EJECT(c) (c.hw_config[0] & 0x04) |
hw_config | 149 | include/linux/cdu31a.h | #define SONY_HWC_LED_SUPPORT(c) (c.hw_config[0] & 0x08) |
hw_config | 150 | include/linux/cdu31a.h | #define SONY_HWC_DOUBLE_SPEED(c) (c.hw_config[0] & 0x10) |
hw_config | 151 | include/linux/cdu31a.h | #define SONY_HWC_GET_BUF_MEM_SIZE(c) ((c.hw_config[0] & 0xc0) >> 6) |
hw_config | 152 | include/linux/cdu31a.h | #define SONY_HWC_AUDIO_PLAYBACK(c) (c.hw_config[1] & 0x01) |
hw_config | 153 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME(c) (c.hw_config[1] & 0x02) |
hw_config | 154 | include/linux/cdu31a.h | #define SONY_HWC_ELECTRIC_VOLUME_CTL(c) (c.hw_config[1] & 0x04) |
hw_config | 176 | include/linux/cdu31a.h | unsigned char hw_config[2]; |