tag | line | file | source code |
hw_config | 1655 | drivers/sound/ad1848.c | check_opl3 (int base, struct address_info *hw_config) |
hw_config | 1665 | drivers/sound/ad1848.c | if (!opl3_detect (base, hw_config->osp)) |
hw_config | 1668 | drivers/sound/ad1848.c | opl3_init (0, base, hw_config->osp); |
hw_config | 1674 | drivers/sound/ad1848.c | probe_ms_sound (struct address_info *hw_config) |
hw_config | 1678 | drivers/sound/ad1848.c | DDB (printk ("Entered probe_ms_sound(%x, %d)\n", hw_config->io_base, hw_config->card_subtype)); |
hw_config | 1680 | drivers/sound/ad1848.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 1686 | drivers/sound/ad1848.c | if (hw_config->card_subtype == 1) /* Has no IRQ/DMA registers */ |
hw_config | 1689 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 1698 | drivers/sound/ad1848.c | if ((tmp = inb (hw_config->io_base + 3)) == 0xff) /* Bus float */ |
hw_config | 1708 | drivers/sound/ad1848.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 1712 | drivers/sound/ad1848.c | if (hw_config->irq > 11) |
hw_config | 1714 | drivers/sound/ad1848.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 1718 | drivers/sound/ad1848.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 1720 | drivers/sound/ad1848.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 1728 | drivers/sound/ad1848.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1734 | drivers/sound/ad1848.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 1736 | drivers/sound/ad1848.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 1740 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp); |
hw_config | 1744 | drivers/sound/ad1848.c | attach_ms_sound (long mem_start, struct address_info *hw_config) |
hw_config | 1757 | drivers/sound/ad1848.c | int config_port = hw_config->io_base + 0; |
hw_config | 1758 | drivers/sound/ad1848.c | int version_port = hw_config->io_base + 3; |
hw_config | 1760 | drivers/sound/ad1848.c | if (!ad1848_detect (hw_config->io_base + 4, NULL, hw_config->osp)) |
hw_config | 1763 | drivers/sound/ad1848.c | if (hw_config->card_subtype == 1) /* Has no IRQ/DMA registers */ |
hw_config | 1765 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1766 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1767 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1768 | drivers/sound/ad1848.c | hw_config->dma2, 0, hw_config->osp); |
hw_config | 1769 | drivers/sound/ad1848.c | request_region (hw_config->io_base, 4, "WSS config"); |
hw_config | 1777 | drivers/sound/ad1848.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 1785 | drivers/sound/ad1848.c | outb (bits | dma_bits[hw_config->dma], config_port); /* Write IRQ+DMA setup */ |
hw_config | 1787 | drivers/sound/ad1848.c | ad1848_init ("MS Sound System", hw_config->io_base + 4, |
hw_config | 1788 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1789 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1790 | drivers/sound/ad1848.c | hw_config->dma, 0, hw_config->osp); |
hw_config | 1791 | drivers/sound/ad1848.c | request_region (hw_config->io_base, 4, "WSS config"); |
hw_config | 1796 | drivers/sound/ad1848.c | unload_ms_sound (struct address_info *hw_config) |
hw_config | 1798 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 1799 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1800 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1801 | drivers/sound/ad1848.c | hw_config->dma, 0); |
hw_config | 1802 | drivers/sound/ad1848.c | release_region (hw_config->io_base, 4); |
hw_config | 1810 | drivers/sound/ad1848.c | probe_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1812 | drivers/sound/ad1848.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 1816 | drivers/sound/ad1848.c | attach_pnp_ad1848 (long mem_start, struct address_info *hw_config) |
hw_config | 1819 | drivers/sound/ad1848.c | ad1848_init (hw_config->name, hw_config->io_base, |
hw_config | 1820 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1821 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1822 | drivers/sound/ad1848.c | hw_config->dma2, 0, hw_config->osp); |
hw_config | 1827 | drivers/sound/ad1848.c | unload_pnp_ad1848 (struct address_info *hw_config) |
hw_config | 1829 | drivers/sound/ad1848.c | ad1848_unload (hw_config->io_base, |
hw_config | 1830 | drivers/sound/ad1848.c | hw_config->irq, |
hw_config | 1831 | drivers/sound/ad1848.c | hw_config->dma, |
hw_config | 1832 | drivers/sound/ad1848.c | hw_config->dma2, 0); |
hw_config | 1833 | 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 | 91 | drivers/sound/cs4232.c | osp = hw_config->osp; |
hw_config | 103 | drivers/sound/cs4232.c | if (ad1848_detect (hw_config->io_base, NULL, hw_config->osp)) |
hw_config | 173 | drivers/sound/cs4232.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 177 | drivers/sound/cs4232.c | attach_cs4232 (long mem_start, struct address_info *hw_config) |
hw_config | 179 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 180 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 190 | drivers/sound/cs4232.c | hw_config->osp); |
hw_config | 207 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 224 | drivers/sound/cs4232.c | unload_cs4232 (struct address_info *hw_config) |
hw_config | 226 | drivers/sound/cs4232.c | int base = hw_config->io_base, irq = hw_config->irq; |
hw_config | 227 | drivers/sound/cs4232.c | int dma1 = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 253 | drivers/sound/cs4232.c | hw_config2.osp = hw_config->osp; |
hw_config | 261 | 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 | 50 | drivers/sound/dev_table.h | long (*attach) (long mem_start, struct address_info *hw_config); |
hw_config | 51 | drivers/sound/dev_table.h | int (*probe) (struct address_info *hw_config); |
hw_config | 52 | drivers/sound/dev_table.h | void (*unload) (struct address_info *hw_config); |
hw_config | 523 | drivers/sound/dev_table.h | int sndtable_probe (int unit, struct address_info *hw_config); |
hw_config | 524 | drivers/sound/dev_table.h | int sndtable_init_card (int unit, struct address_info *hw_config); |
hw_config | 48 | drivers/sound/gus_card.c | attach_gus_card (long mem_start, struct address_info *hw_config) |
hw_config | 52 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 53 | drivers/sound/gus_card.c | snd_set_irq_handler (hw_config->irq, gusintr, "Gravis Ultrasound", hw_config->osp); |
hw_config | 55 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) /* |
hw_config | 59 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 61 | drivers/sound/gus_card.c | request_region (hw_config->io_base, 16, "GUS"); |
hw_config | 62 | drivers/sound/gus_card.c | request_region (hw_config->io_base + 0x100, 12, "GUS"); /* 0x10c-> is MAX */ |
hw_config | 64 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 66 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 67 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS(2)")) |
hw_config | 82 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 87 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 89 | drivers/sound/gus_card.c | printk (" WARNING! GUS found at %x, config was %x ", io_addr, hw_config->io_base); |
hw_config | 90 | drivers/sound/gus_card.c | mem_start = gus_wave_init (mem_start, hw_config); |
hw_config | 93 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma, "GUS")) |
hw_config | 95 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 96 | drivers/sound/gus_card.c | if (sound_alloc_dma (hw_config->dma2, "GUS")) |
hw_config | 112 | drivers/sound/gus_card.c | probe_gus (struct address_info *hw_config) |
hw_config | 116 | drivers/sound/gus_card.c | gus_osp = hw_config->osp; |
hw_config | 118 | drivers/sound/gus_card.c | if (!check_region (hw_config->io_base, 16)) |
hw_config | 119 | drivers/sound/gus_card.c | if (!check_region (hw_config->io_base + 0x100, 16)) |
hw_config | 120 | drivers/sound/gus_card.c | if (gus_wave_detect (hw_config->io_base)) |
hw_config | 130 | drivers/sound/gus_card.c | if (io_addr != hw_config->io_base) /* |
hw_config | 137 | drivers/sound/gus_card.c | hw_config->io_base = io_addr; |
hw_config | 147 | drivers/sound/gus_card.c | unload_gus (struct address_info *hw_config) |
hw_config | 149 | drivers/sound/gus_card.c | DDB (printk ("unload_gus(%x)\n", hw_config->io_base)); |
hw_config | 153 | drivers/sound/gus_card.c | release_region (hw_config->io_base, 16); |
hw_config | 154 | drivers/sound/gus_card.c | release_region (hw_config->io_base + 0x100, 12); /* 0x10c-> is MAX */ |
hw_config | 155 | drivers/sound/gus_card.c | snd_release_irq (hw_config->irq); |
hw_config | 157 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma); |
hw_config | 159 | drivers/sound/gus_card.c | if (hw_config->dma2 != -1 && hw_config->dma2 != hw_config->dma) |
hw_config | 160 | drivers/sound/gus_card.c | sound_free_dma (hw_config->dma2); |
hw_config | 224 | drivers/sound/gus_card.c | probe_gus_db16 (struct address_info *hw_config) |
hw_config | 226 | drivers/sound/gus_card.c | return ad1848_detect (hw_config->io_base, NULL, hw_config->osp); |
hw_config | 230 | drivers/sound/gus_card.c | attach_gus_db16 (long mem_start, struct address_info *hw_config) |
hw_config | 237 | drivers/sound/gus_card.c | ad1848_init ("GUS 16 bit sampling", hw_config->io_base, |
hw_config | 238 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 239 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 240 | drivers/sound/gus_card.c | hw_config->dma, 0, |
hw_config | 241 | drivers/sound/gus_card.c | hw_config->osp); |
hw_config | 246 | drivers/sound/gus_card.c | unload_gus_db16 (struct address_info *hw_config) |
hw_config | 249 | drivers/sound/gus_card.c | ad1848_unload (hw_config->io_base, |
hw_config | 250 | drivers/sound/gus_card.c | hw_config->irq, |
hw_config | 251 | drivers/sound/gus_card.c | hw_config->dma, |
hw_config | 252 | drivers/sound/gus_card.c | hw_config->dma, 0); |
hw_config | 2985 | drivers/sound/gus_wave.c | gus_wave_init (long mem_start, struct address_info *hw_config) |
hw_config | 2992 | drivers/sound/gus_wave.c | int irq = hw_config->irq, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 3076 | drivers/sound/gus_wave.c | if (ad1848_detect (gus_base + 0x10c, NULL, hw_config->osp)) |
hw_config | 3087 | drivers/sound/gus_wave.c | hw_config->osp); |
hw_config | 3104 | drivers/sound/gus_wave.c | if (hw_config->name) |
hw_config | 3106 | drivers/sound/gus_wave.c | strncpy (gus_info.name, hw_config->name, sizeof (gus_info.name)); |
hw_config | 3122 | drivers/sound/gus_wave.c | conf_printf (gus_info.name, hw_config); |
hw_config | 205 | drivers/sound/mad16.c | probe_mad16 (struct address_info *hw_config) |
hw_config | 218 | drivers/sound/mad16.c | mad16_osp = hw_config->osp; |
hw_config | 274 | drivers/sound/mad16.c | printk ("MAD16/Mozart: Bad WSS base address 0x%x\n", hw_config->io_base); |
hw_config | 278 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 307 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 332 | drivers/sound/mad16.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 344 | drivers/sound/mad16.c | if ((inb (hw_config->io_base + 3) & 0x3f) != 0x04 && |
hw_config | 345 | drivers/sound/mad16.c | (inb (hw_config->io_base + 3) & 0x3f) != 0x00) |
hw_config | 348 | drivers/sound/mad16.c | hw_config->io_base, inb (hw_config->io_base + 3))); |
hw_config | 352 | drivers/sound/mad16.c | if (hw_config->irq > 11) |
hw_config | 354 | drivers/sound/mad16.c | printk ("MSS: Bad IRQ %d\n", hw_config->irq); |
hw_config | 358 | drivers/sound/mad16.c | if (hw_config->dma != 0 && hw_config->dma != 1 && hw_config->dma != 3) |
hw_config | 360 | drivers/sound/mad16.c | printk ("MSS: Bad DMA %d\n", hw_config->dma); |
hw_config | 368 | drivers/sound/mad16.c | if (hw_config->dma == 0 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 374 | drivers/sound/mad16.c | if (hw_config->irq > 7 && hw_config->irq != 9 && inb (hw_config->io_base + 3) & 0x80) |
hw_config | 376 | drivers/sound/mad16.c | printk ("MSS: Can't use IRQ%d with a 8 bit card/slot\n", hw_config->irq); |
hw_config | 384 | drivers/sound/mad16.c | attach_mad16 (long mem_start, struct address_info *hw_config) |
hw_config | 398 | drivers/sound/mad16.c | int config_port = hw_config->io_base + 0, version_port = hw_config->io_base + 3; |
hw_config | 399 | drivers/sound/mad16.c | int ad_flags = 0, dma = hw_config->dma, dma2 = hw_config->dma2; |
hw_config | 404 | drivers/sound/mad16.c | if (!ad1848_detect (hw_config->io_base + 4, &ad_flags, mad16_osp)) |
hw_config | 411 | drivers/sound/mad16.c | bits = interrupt_bits[hw_config->irq]; |
hw_config | 449 | drivers/sound/mad16.c | ad1848_init ("MAD16 WSS", hw_config->io_base + 4, |
hw_config | 450 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 453 | drivers/sound/mad16.c | hw_config->osp); |
hw_config | 454 | drivers/sound/mad16.c | request_region (hw_config->io_base, 4, "MAD16 WSS config"); |
hw_config | 460 | drivers/sound/mad16.c | attach_mad16_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 467 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 469 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 471 | drivers/sound/mad16.c | return mad16_sb_dsp_init (mem_start, hw_config); |
hw_config | 481 | drivers/sound/mad16.c | return attach_mpu401 (mem_start, hw_config); |
hw_config | 488 | drivers/sound/mad16.c | probe_mad16_mpu (struct address_info *hw_config) |
hw_config | 522 | drivers/sound/mad16.c | hw_config->io_base = 0x240; |
hw_config | 524 | drivers/sound/mad16.c | hw_config->io_base = 0x220; |
hw_config | 526 | drivers/sound/mad16.c | switch (hw_config->irq) |
hw_config | 543 | drivers/sound/mad16.c | return mad16_sb_dsp_detect (hw_config); |
hw_config | 559 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI port 0x%x\n", hw_config->io_base); |
hw_config | 563 | drivers/sound/mad16.c | if (valid_ports[i] == hw_config->io_base) |
hw_config | 578 | drivers/sound/mad16.c | printk ("MAD16 / Mozart: Invalid MIDI IRQ %d\n", hw_config->irq); |
hw_config | 582 | drivers/sound/mad16.c | if (valid_irqs[i] == hw_config->irq) |
hw_config | 590 | drivers/sound/mad16.c | return probe_mpu401 (hw_config); |
hw_config | 597 | drivers/sound/mad16.c | unload_mad16 (struct address_info *hw_config) |
hw_config | 599 | drivers/sound/mad16.c | ad1848_unload (hw_config->io_base + 4, |
hw_config | 600 | drivers/sound/mad16.c | hw_config->irq, |
hw_config | 601 | drivers/sound/mad16.c | hw_config->dma, |
hw_config | 602 | drivers/sound/mad16.c | hw_config->dma2, 0); |
hw_config | 603 | drivers/sound/mad16.c | release_region (hw_config->io_base, 4); |
hw_config | 608 | drivers/sound/mad16.c | unload_mad16_mpu (struct address_info *hw_config) |
hw_config | 613 | drivers/sound/mad16.c | mad16_sb_dsp_unload (hw_config); |
hw_config | 619 | 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 | 169 | drivers/sound/maui.c | probe_maui (struct address_info *hw_config) |
hw_config | 174 | drivers/sound/maui.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 177 | drivers/sound/maui.c | maui_base = hw_config->io_base; |
hw_config | 178 | drivers/sound/maui.c | maui_osp = hw_config->osp; |
hw_config | 180 | drivers/sound/maui.c | if (snd_set_irq_handler (hw_config->irq, mauiintr, "Maui", maui_osp) < 0) |
hw_config | 186 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 192 | drivers/sound/maui.c | snd_release_irq (hw_config->irq); |
hw_config | 217 | drivers/sound/maui.c | request_region (hw_config->io_base + 2, 6, "Maui"); |
hw_config | 220 | drivers/sound/maui.c | if (probe_mpu401 (hw_config)) |
hw_config | 223 | drivers/sound/maui.c | return probe_mpu401 (hw_config); |
hw_config | 227 | drivers/sound/maui.c | attach_maui (long mem_start, struct address_info *hw_config) |
hw_config | 231 | drivers/sound/maui.c | conf_printf ("Maui", hw_config); |
hw_config | 233 | drivers/sound/maui.c | hw_config->irq *= -1; |
hw_config | 234 | drivers/sound/maui.c | mem_start = attach_mpu401 (mem_start, hw_config); |
hw_config | 259 | drivers/sound/maui.c | unload_maui (struct address_info *hw_config) |
hw_config | 261 | drivers/sound/maui.c | int irq = hw_config->irq; |
hw_config | 263 | drivers/sound/maui.c | release_region (hw_config->io_base + 2, 6); |
hw_config | 265 | 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 | 1109 | drivers/sound/mpu401.c | request_region (hw_config->io_base, 2, "mpu401"); |
hw_config | 1188 | drivers/sound/mpu401.c | conf_printf (mpu_synth_info[num_midis].name, hw_config); |
hw_config | 1283 | drivers/sound/mpu401.c | probe_mpu401 (struct address_info *hw_config) |
hw_config | 1288 | drivers/sound/mpu401.c | if (check_region (hw_config->io_base, 2)) |
hw_config | 1291 | drivers/sound/mpu401.c | hw_config->io_base); |
hw_config | 1295 | drivers/sound/mpu401.c | tmp_devc.base = hw_config->io_base; |
hw_config | 1296 | drivers/sound/mpu401.c | tmp_devc.irq = hw_config->irq; |
hw_config | 1299 | drivers/sound/mpu401.c | tmp_devc.osp = hw_config->osp; |
hw_config | 1301 | drivers/sound/mpu401.c | if (hw_config->always_detect) |
hw_config | 1304 | drivers/sound/mpu401.c | if (inb (hw_config->io_base + 1) == 0xff) |
hw_config | 1306 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Port %x looks dead.\n", hw_config->io_base)); |
hw_config | 1314 | drivers/sound/mpu401.c | DDB (printk ("MPU401: Reset failed on port %x\n", hw_config->io_base)); |
hw_config | 1321 | drivers/sound/mpu401.c | unload_mpu401 (struct address_info *hw_config) |
hw_config | 1323 | drivers/sound/mpu401.c | release_region (hw_config->io_base, 2); |
hw_config | 1324 | drivers/sound/mpu401.c | if (hw_config->always_detect == 0 && hw_config->irq > 0) |
hw_config | 1325 | 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 | 314 | drivers/sound/pas2_card.c | detect_pas_hw (struct address_info *hw_config) |
hw_config | 328 | drivers/sound/pas2_card.c | outb (hw_config->io_base >> 2, MASTER_DECODE); /* |
hw_config | 331 | drivers/sound/pas2_card.c | translat_code = PAS_DEFAULT_BASE ^ hw_config->io_base; |
hw_config | 364 | drivers/sound/pas2_card.c | attach_pas_card (long mem_start, struct address_info *hw_config) |
hw_config | 366 | drivers/sound/pas2_card.c | pas_irq = hw_config->irq; |
hw_config | 367 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 369 | drivers/sound/pas2_card.c | if (detect_pas_hw (hw_config)) |
hw_config | 379 | drivers/sound/pas2_card.c | conf_printf (temp, hw_config); |
hw_config | 382 | drivers/sound/pas2_card.c | if (config_pas_hw (hw_config)) |
hw_config | 386 | drivers/sound/pas2_card.c | mem_start = pas_pcm_init (mem_start, hw_config); |
hw_config | 410 | drivers/sound/pas2_card.c | probe_pas (struct address_info *hw_config) |
hw_config | 412 | drivers/sound/pas2_card.c | pas_osp = hw_config->osp; |
hw_config | 413 | drivers/sound/pas2_card.c | return detect_pas_hw (hw_config); |
hw_config | 417 | drivers/sound/pas2_card.c | unload_pas (struct address_info *hw_config) |
hw_config | 419 | drivers/sound/pas2_card.c | sound_free_dma (hw_config->dma); |
hw_config | 420 | drivers/sound/pas2_card.c | snd_release_irq (hw_config->irq); |
hw_config | 410 | drivers/sound/pas2_pcm.c | pas_pcm_init (long mem_start, struct address_info *hw_config) |
hw_config | 423 | 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 | 695 | drivers/sound/pss.c | attach_pss_mpu (long mem_start, struct address_info *hw_config) |
hw_config | 702 | drivers/sound/pss.c | ret = attach_mpu401 (mem_start, hw_config); |
hw_config | 711 | drivers/sound/pss.c | probe_pss_mss (struct address_info *hw_config) |
hw_config | 718 | drivers/sound/pss.c | if (check_region (hw_config->io_base, 8)) |
hw_config | 724 | drivers/sound/pss.c | if (!set_io_base (devc, CONF_WSS, hw_config->io_base)) |
hw_config | 730 | drivers/sound/pss.c | if (!set_irq (devc, CONF_WSS, hw_config->irq)) |
hw_config | 736 | drivers/sound/pss.c | if (!set_dma (devc, CONF_WSS, hw_config->dma)) |
hw_config | 749 | drivers/sound/pss.c | timeout < 100000 && (inb (hw_config->io_base + 3) & 0x3f) != 0x04; |
hw_config | 752 | drivers/sound/pss.c | return probe_ms_sound (hw_config); |
hw_config | 756 | drivers/sound/pss.c | attach_pss_mss (long mem_start, struct address_info *hw_config) |
hw_config | 762 | drivers/sound/pss.c | ret = attach_ms_sound (mem_start, hw_config); |
hw_config | 771 | drivers/sound/pss.c | unload_pss (struct address_info *hw_config) |
hw_config | 776 | drivers/sound/pss.c | unload_pss_mpu (struct address_info *hw_config) |
hw_config | 778 | drivers/sound/pss.c | unload_mpu401 (hw_config); |
hw_config | 782 | drivers/sound/pss.c | unload_pss_mss (struct address_info *hw_config) |
hw_config | 784 | drivers/sound/pss.c | unload_ms_sound (hw_config); |
hw_config | 490 | drivers/sound/sb16_dsp.c | sb16_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 499 | drivers/sound/sb16_dsp.c | conf_printf (sb16_dsp_operations.name, hw_config); |
hw_config | 525 | drivers/sound/sb16_dsp.c | sb16_dsp_detect (struct address_info *hw_config) |
hw_config | 537 | drivers/sound/sb16_dsp.c | Jazz16_set_dma16 (hw_config->dma); |
hw_config | 558 | drivers/sound/sb16_dsp.c | if (hw_config->dma < 4) |
hw_config | 559 | drivers/sound/sb16_dsp.c | if (hw_config->dma != sb_config->dma) |
hw_config | 562 | drivers/sound/sb16_dsp.c | sb_config->dma, hw_config->dma); |
hw_config | 566 | drivers/sound/sb16_dsp.c | dma16 = hw_config->dma; |
hw_config | 569 | drivers/sound/sb16_dsp.c | sb_setmixer (DMA_NR, (1 << hw_config->dma) | (1 << sb_config->dma)); |
hw_config | 571 | drivers/sound/sb16_dsp.c | DEB (printk ("SoundBlaster 16: IRQ %d DMA %d OK\n", sb_config->irq, hw_config->dma)); |
hw_config | 581 | drivers/sound/sb16_dsp.c | unload_sb16 (struct address_info *hw_config) |
hw_config | 229 | drivers/sound/sb16_midi.c | attach_sb16midi (long mem_start, struct address_info *hw_config) |
hw_config | 234 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 239 | drivers/sound/sb16_midi.c | request_region (hw_config->io_base, 4, "SB MIDI"); |
hw_config | 265 | drivers/sound/sb16_midi.c | conf_printf ("SoundBlaster MPU-401", hw_config); |
hw_config | 324 | drivers/sound/sb16_midi.c | probe_sb16midi (struct address_info *hw_config) |
hw_config | 329 | drivers/sound/sb16_midi.c | extern void ess_midi_init (struct address_info *hw_config); |
hw_config | 330 | drivers/sound/sb16_midi.c | extern void Jazz16_midi_init (struct address_info *hw_config); |
hw_config | 332 | drivers/sound/sb16_midi.c | if (check_region (hw_config->io_base, 4)) |
hw_config | 336 | drivers/sound/sb16_midi.c | ess_midi_init (hw_config); |
hw_config | 338 | drivers/sound/sb16_midi.c | Jazz16_midi_init (hw_config); |
hw_config | 342 | drivers/sound/sb16_midi.c | sb16midi_base = hw_config->io_base; |
hw_config | 354 | drivers/sound/sb16_midi.c | unload_sb16midi (struct address_info *hw_config) |
hw_config | 356 | 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 | 109 | drivers/sound/sb_dsp.c | static void dsp_get_vers (struct address_info *hw_config); |
hw_config | 1215 | drivers/sound/sb_dsp.c | sb_dsp_detect (struct address_info *hw_config) |
hw_config | 1217 | drivers/sound/sb_dsp.c | sbc_base = hw_config->io_base; |
hw_config | 1218 | drivers/sound/sb_dsp.c | sbc_irq = hw_config->irq; |
hw_config | 1219 | drivers/sound/sb_dsp.c | sbc_dma = hw_config->dma; |
hw_config | 1220 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1226 | drivers/sound/sb_dsp.c | dma8 = dma16 = hw_config->dma; |
hw_config | 1229 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1350 | drivers/sound/sb_dsp.c | ess_midi_init (struct address_info *hw_config) /* called from sb16_midi.c */ |
hw_config | 1356 | drivers/sound/sb_dsp.c | tmp = (hw_config->io_base & 0x0f0) >> 4; |
hw_config | 1368 | drivers/sound/sb_dsp.c | switch (hw_config->irq) |
hw_config | 1388 | drivers/sound/sb_dsp.c | ess_mpu_irq = hw_config->irq; |
hw_config | 1399 | drivers/sound/sb_dsp.c | Jazz16_midi_init (struct address_info *hw_config) |
hw_config | 1404 | drivers/sound/sb_dsp.c | mpu_base = hw_config->io_base; |
hw_config | 1405 | drivers/sound/sb_dsp.c | mpu_irq = hw_config->irq; |
hw_config | 1433 | drivers/sound/sb_dsp.c | dsp_get_vers (struct address_info *hw_config) |
hw_config | 1441 | drivers/sound/sb_dsp.c | sb_osp = hw_config->osp; |
hw_config | 1462 | drivers/sound/sb_dsp.c | sb_dsp_init (long mem_start, struct address_info *hw_config) |
hw_config | 1469 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1474 | drivers/sound/sb_dsp.c | dsp_get_vers (hw_config); |
hw_config | 1569 | drivers/sound/sb_dsp.c | conf_printf (sb_dsp_operations.name, hw_config); |
hw_config | 1583 | drivers/sound/sb_dsp.c | dma8 = audio_devs[my_dev]->dmachan1 = hw_config->dma; |
hw_config | 1584 | drivers/sound/sb_dsp.c | dma16 = audio_devs[my_dev]->dmachan2 = hw_config->dma; |
hw_config | 1585 | drivers/sound/sb_dsp.c | if (sound_alloc_dma (hw_config->dma, "SoundBlaster")) |
hw_config | 1591 | drivers/sound/sb_dsp.c | conf_printf ("SoundBlaster (configured without audio support)", 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 | 737 | drivers/sound/soundcard.c | conf_printf (char *name, struct address_info *hw_config) |
hw_config | 742 | drivers/sound/soundcard.c | printk ("<%s> at 0x%03x", name, hw_config->io_base); |
hw_config | 744 | drivers/sound/soundcard.c | if (hw_config->irq) |
hw_config | 745 | drivers/sound/soundcard.c | printk (" irq %d", hw_config->irq); |
hw_config | 747 | drivers/sound/soundcard.c | if (hw_config->dma != -1 || hw_config->dma2 != -1) |
hw_config | 749 | drivers/sound/soundcard.c | printk (" dma %d", hw_config->dma); |
hw_config | 750 | drivers/sound/soundcard.c | if (hw_config->dma2 != -1) |
hw_config | 751 | 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 | 1199 | drivers/sound/sscape.c | unload_mpu401 (hw_config); |
hw_config | 1200 | drivers/sound/sscape.c | snd_release_irq (hw_config->irq); |
hw_config | 1201 | drivers/sound/sscape.c | sound_free_dma (hw_config->dma); |
hw_config | 1205 | drivers/sound/sscape.c | unload_ss_ms_sound (struct address_info *hw_config) |
hw_config | 1207 | drivers/sound/sscape.c | ad1848_unload (hw_config->io_base, |
hw_config | 1208 | drivers/sound/sscape.c | hw_config->irq, |
hw_config | 1209 | drivers/sound/sscape.c | hw_config->dma, |
hw_config | 1210 | 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]; |