Lines Matching +full:ls +full:- +full:audio +full:- +full:card
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
4 * Driver CA0106 chips. e.g. Sound Blaster Audigy LS and Live 24bit
15 * Use separate card based DMA buffer for periods table list.
33 * Set limits based on what the sound card hardware can do.
44 * Implement support for Line-in capture on SB Live 24bit.
79 { IEC958_AES1_CON_NON_IEC908_CD, "non-IEC908 CD" },
98 snd_iprintf(buffer, "audio\n"); in snd_ca0106_proc_dump_iec958()
100 snd_iprintf(buffer, "non-audio\n"); in snd_ca0106_proc_dump_iec958()
164 snd_iprintf(buffer, "audio\n"); in snd_ca0106_proc_dump_iec958()
166 snd_iprintf(buffer, "non-audio\n"); in snd_ca0106_proc_dump_iec958()
216 snd_iprintf(buffer, "user-defined\n"); in snd_ca0106_proc_dump_iec958()
261 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958()
268 (value & 0x400000) ? "Audio Valid" : "No valid audio" ); in snd_ca0106_proc_iec958()
283 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32()
291 spin_lock_irqsave(&emu->emu_lock, flags); in snd_ca0106_proc_reg_write32()
292 outl(val, emu->port + (reg & 0xfffffffc)); in snd_ca0106_proc_reg_write32()
293 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_ca0106_proc_reg_write32()
301 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32()
307 spin_lock_irqsave(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read32()
308 value = inl(emu->port + i); in snd_ca0106_proc_reg_read32()
309 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read32()
317 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16()
323 spin_lock_irqsave(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read16()
324 value = inw(emu->port + i); in snd_ca0106_proc_reg_read16()
325 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read16()
333 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8()
339 spin_lock_irqsave(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read8()
340 value = inb(emu->port + i); in snd_ca0106_proc_reg_read8()
341 spin_unlock_irqrestore(&emu->emu_lock, flags); in snd_ca0106_proc_reg_read8()
349 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read1()
367 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read2()
385 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write()
399 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_i2c_write()
413 snd_card_ro_proc_new(emu->card, "iec958", emu, snd_ca0106_proc_iec958); in snd_ca0106_proc_init()
414 snd_card_rw_proc_new(emu->card, "ca0106_reg32", emu, in snd_ca0106_proc_init()
417 snd_card_ro_proc_new(emu->card, "ca0106_reg16", emu, in snd_ca0106_proc_init()
419 snd_card_ro_proc_new(emu->card, "ca0106_reg8", emu, in snd_ca0106_proc_init()
421 snd_card_rw_proc_new(emu->card, "ca0106_regs1", emu, in snd_ca0106_proc_init()
424 snd_card_rw_proc_new(emu->card, "ca0106_i2c", emu, NULL, in snd_ca0106_proc_init()
426 snd_card_ro_proc_new(emu->card, "ca0106_regs2", emu, in snd_ca0106_proc_init()