示例#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]);
}
示例#2
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]);
}
示例#3
0
文件: sscape.c 项目: rohsaini/mkunity
void
unload_ss_ms_sound (struct address_info *hw_config)
{
  ad1848_unload (hw_config->io_base,
		 hw_config->irq,
		 devc->dma,
		 devc->dma,
		 0);
}
示例#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]);
}
示例#6
0
文件: trix.c 项目: 274914765/C
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]);
}