Beispiel #1
0
void unload_mad16(struct address_info *hw_config)
{
	ad1848_unload(hw_config->io_base + 4,
			hw_config->irq,
			hw_config->dma,
			hw_config->dma2, 0);
	release_region(hw_config->io_base, 4);
	sound_unload_audiodev(hw_config->slots[0]);
}
static void __exit unload_ss_ms_sound(struct address_info *hw_config)
{
	ad1848_unload(hw_config->io_base,
		      hw_config->irq,
		      devc->dma,
		      devc->dma,
		      0);
	sound_unload_audiodev(hw_config->slots[0]);
}
Beispiel #3
0
void
unload_ss_ms_sound (struct address_info *hw_config)
{
  ad1848_unload (hw_config->io_base,
		 hw_config->irq,
		 devc->dma,
		 devc->dma,
		 0);
}
Beispiel #4
0
void
unload_gus_db16 (struct address_info *hw_config)
{

  ad1848_unload (hw_config->io_base,
		 hw_config->irq,
		 hw_config->dma,
		 hw_config->dma, 0);
}
static void __exit unload_gus_db16(struct address_info *hw_config)
{

	ad1848_unload(hw_config->io_base,
		      hw_config->irq,
		      hw_config->dma,
		      hw_config->dma, 0);
	sound_unload_audiodev(hw_config->slots[3]);
}
Beispiel #6
0
static void __exit unload_trix_wss(struct address_info *hw_config)
{
    int dma2 = hw_config->dma2;

    if (dma2 == -1)
        dma2 = hw_config->dma;

    release_region(0x390, 2);
    release_region(hw_config->io_base, 4);

    ad1848_unload(hw_config->io_base + 4,
              hw_config->irq,
              hw_config->dma,
              dma2,
              0);
    sound_unload_audiodev(hw_config->slots[0]);
}