Lines Matching refs:snd_emu10k1

1482 struct snd_emu10k1;
1489 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1503 struct snd_emu10k1 *emu;
1573 typedef void (snd_fx8010_irq_handler_t)(struct snd_emu10k1 *emu, void *private_data);
1619 struct snd_emu10k1 *emu;
1630 void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1699 struct snd_emu10k1 {
1750 int (*get_synth_voice)(struct snd_emu10k1 *emu);
1773 void (*hwvol_interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1774 void (*capture_interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1775 void (*capture_mic_interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1776 void (*capture_efx_interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1777 void (*spdif_interrupt)(struct snd_emu10k1 *emu, unsigned int status);
1778 void (*dsp_interrupt)(struct snd_emu10k1 *emu);
1779 void (*gpio_interrupt)(struct snd_emu10k1 *emu);
1780 void (*p16v_interrupt)(struct snd_emu10k1 *emu);
1818 int snd_emu10k1_pcm(struct snd_emu10k1 *emu, int device);
1819 int snd_emu10k1_pcm_mic(struct snd_emu10k1 *emu, int device);
1820 int snd_emu10k1_pcm_efx(struct snd_emu10k1 *emu, int device);
1821 int snd_p16v_pcm(struct snd_emu10k1 *emu, int device);
1822 int snd_p16v_mixer(struct snd_emu10k1 * emu);
1823 int snd_emu10k1_pcm_multi(struct snd_emu10k1 *emu, int device);
1824 int snd_emu10k1_fx8010_pcm(struct snd_emu10k1 *emu, int device);
1825 int snd_emu10k1_mixer(struct snd_emu10k1 * emu, int pcm_device, int multi_device);
1826 int snd_emu10k1_timer(struct snd_emu10k1 * emu, int device);
1827 int snd_emu10k1_fx8010_new(struct snd_emu10k1 *emu, int device);
1831 void snd_emu10k1_voice_init(struct snd_emu10k1 * emu, int voice);
1832 int snd_emu10k1_init_efx(struct snd_emu10k1 *emu);
1833 void snd_emu10k1_free_efx(struct snd_emu10k1 *emu);
1834 int snd_emu10k1_fx8010_tram_setup(struct snd_emu10k1 *emu, u32 size);
1835 int snd_emu10k1_done(struct snd_emu10k1 * emu);
1838 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn);
1839 void snd_emu10k1_ptr_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data);
1840 void snd_emu10k1_ptr_write_multiple(struct snd_emu10k1 *emu, unsigned int chn, ...);
1841 unsigned int snd_emu10k1_ptr20_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn);
1842 void snd_emu10k1_ptr20_write(struct snd_emu10k1 *emu, unsigned int reg, unsigned int chn, unsigned int data);
1843 int snd_emu10k1_spi_write(struct snd_emu10k1 * emu, unsigned int data);
1844 int snd_emu10k1_i2c_write(struct snd_emu10k1 *emu, u32 reg, u32 value);
1845 static inline void snd_emu1010_fpga_lock(struct snd_emu10k1 *emu) { mutex_lock(&emu->emu1010.lock); };
1846 static inline void snd_emu1010_fpga_unlock(struct snd_emu10k1 *emu) { mutex_unlock(&emu->emu1010.lock); };
1847 void snd_emu1010_fpga_write_lock(struct snd_emu10k1 *emu, u32 reg, u32 value);
1848 void snd_emu1010_fpga_write(struct snd_emu10k1 *emu, u32 reg, u32 value);
1849 void snd_emu1010_fpga_read(struct snd_emu10k1 *emu, u32 reg, u32 *value);
1850 void snd_emu1010_fpga_link_dst_src_write(struct snd_emu10k1 *emu, u32 dst, u32 src);
1851 u32 snd_emu1010_fpga_link_dst_src_read(struct snd_emu10k1 *emu, u32 dst);
1852 int snd_emu1010_get_raw_rate(struct snd_emu10k1 *emu, u8 src);
1853 void snd_emu1010_update_clock(struct snd_emu10k1 *emu);
1854 void snd_emu1010_load_firmware_entry(struct snd_emu10k1 *emu, int dock, const struct firmware *fw_entry);
1855 unsigned int snd_emu10k1_efx_read(struct snd_emu10k1 *emu, unsigned int pc);
1856 void snd_emu10k1_intr_enable(struct snd_emu10k1 *emu, unsigned int intrenb);
1857 void snd_emu10k1_intr_disable(struct snd_emu10k1 *emu, unsigned int intrenb);
1858 void snd_emu10k1_voice_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum);
1859 void snd_emu10k1_voice_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum);
1860 void snd_emu10k1_voice_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum);
1861 void snd_emu10k1_voice_half_loop_intr_enable(struct snd_emu10k1 *emu, unsigned int voicenum);
1862 void snd_emu10k1_voice_half_loop_intr_disable(struct snd_emu10k1 *emu, unsigned int voicenum);
1863 void snd_emu10k1_voice_half_loop_intr_ack(struct snd_emu10k1 *emu, unsigned int voicenum);
1865 void snd_emu10k1_voice_set_loop_stop(struct snd_emu10k1 *emu, unsigned int voicenum);
1866 void snd_emu10k1_voice_clear_loop_stop(struct snd_emu10k1 *emu, unsigned int voicenum);
1868 void snd_emu10k1_voice_set_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices);
1869 void snd_emu10k1_voice_clear_loop_stop_multiple(struct snd_emu10k1 *emu, u64 voices);
1870 int snd_emu10k1_voice_clear_loop_stop_multiple_atomic(struct snd_emu10k1 *emu, u64 voices);
1871 void snd_emu10k1_wait(struct snd_emu10k1 *emu, unsigned int wait);
1872 static inline unsigned int snd_emu10k1_wc(struct snd_emu10k1 *emu) { return (inl(emu->port + WC) >> 6) & 0xfffff; }
1877 void snd_emu10k1_suspend_regs(struct snd_emu10k1 *emu);
1878 void snd_emu10k1_resume_init(struct snd_emu10k1 *emu);
1879 void snd_emu10k1_resume_regs(struct snd_emu10k1 *emu);
1880 int snd_emu10k1_efx_alloc_pm_buffer(struct snd_emu10k1 *emu);
1881 void snd_emu10k1_efx_free_pm_buffer(struct snd_emu10k1 *emu);
1882 void snd_emu10k1_efx_suspend(struct snd_emu10k1 *emu);
1883 void snd_emu10k1_efx_resume(struct snd_emu10k1 *emu);
1884 int snd_p16v_alloc_pm_buffer(struct snd_emu10k1 *emu);
1885 void snd_p16v_free_pm_buffer(struct snd_emu10k1 *emu);
1886 void snd_p16v_suspend(struct snd_emu10k1 *emu);
1887 void snd_p16v_resume(struct snd_emu10k1 *emu);
1891 struct snd_util_memblk *snd_emu10k1_alloc_pages(struct snd_emu10k1 *emu, struct snd_pcm_substream *substream);
1892 int snd_emu10k1_free_pages(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
1893 int snd_emu10k1_alloc_pages_maybe_wider(struct snd_emu10k1 *emu, size_t size,
1895 struct snd_util_memblk *snd_emu10k1_synth_alloc(struct snd_emu10k1 *emu, unsigned int size);
1896 int snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *blk);
1897 int snd_emu10k1_synth_memset(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, int size, u8 value);
1898 int snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 *emu, struct snd_util_memblk *blk, int offset, const char __user *data, int size, u32 xor);
1899 int snd_emu10k1_memblk_map(struct snd_emu10k1 *emu, struct snd_emu10k1_memblk *blk);
1902 int snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int count, int channels,
1904 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1907 int snd_emu10k1_midi(struct snd_emu10k1 * emu);
1908 int snd_emu10k1_audigy_midi(struct snd_emu10k1 * emu);
1911 int snd_emu10k1_proc_init(struct snd_emu10k1 * emu);
1914 int snd_emu10k1_fx8010_register_irq_handler(struct snd_emu10k1 *emu,
1919 int snd_emu10k1_fx8010_unregister_irq_handler(struct snd_emu10k1 *emu,