Searched refs:trident (Results 1 – 7 of 7) sorted by relevance
/sound/pci/trident/ |
D | trident_main.c | 34 static int snd_trident_pcm_mixer_build(struct snd_trident *trident, 37 static int snd_trident_pcm_mixer_free(struct snd_trident *trident, 41 static int snd_trident_sis_reset(struct snd_trident *trident); 43 static void snd_trident_clear_voices(struct snd_trident * trident, 45 static int snd_trident_free(struct snd_trident *trident); 53 static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice) 57 dev_dbg(trident->card->dev, "Trident voice %i:\n", voice); 58 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR)); 59 val = inl(TRID_REG(trident, CH_LBA)); 60 dev_dbg(trident->card->dev, "LBA: 0x%x\n", val); [all …]
|
D | trident_memory.c | 22 #define __set_tlb_bus(trident,page,ptr,addr) \ argument 23 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \ 24 (trident)->tlb.shadow_entries[page] = (ptr); } while (0) 25 #define __tlb_to_ptr(trident,page) \ argument 26 (void*)((trident)->tlb.shadow_entries[page]) 27 #define __tlb_to_addr(trident,page) \ argument 28 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1)) 35 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument 37 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument 43 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, page) argument [all …]
|
D | trident.c | 66 struct snd_trident *trident; in snd_trident_probe() local 86 &trident)) < 0) { in snd_trident_probe() 90 card->private_data = trident; in snd_trident_probe() 92 switch (trident->device) { in snd_trident_probe() 106 if (trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe() 113 card->shortname, trident->port, trident->irq); in snd_trident_probe() 115 if ((err = snd_trident_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe() 119 switch (trident->device) { in snd_trident_probe() 122 if ((err = snd_trident_foldback_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe() 128 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe() [all …]
|
D | trident.h | 36 #define TRID_REG(trident, x) ((trident)->port + (x)) argument 240 struct snd_trident * trident; member 297 struct snd_trident *trident; member 406 int snd_trident_create_gameport(struct snd_trident *trident); 408 int snd_trident_pcm(struct snd_trident *trident, int device); 409 int snd_trident_foldback_pcm(struct snd_trident *trident, int device); 410 int snd_trident_spdif_pcm(struct snd_trident *trident, int device); 411 int snd_trident_attach_synthesizer(struct snd_trident * trident); 412 struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type, 414 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice); [all …]
|
D | Makefile | 7 snd-trident-objs := trident.o trident_main.o trident_memory.o 10 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
|
/sound/pci/ |
D | Makefile | 81 trident/ \
|
D | Kconfig | 851 will be called snd-trident.
|