Home
last modified time | relevance | path

Searched refs:trident (Results 1 – 7 of 7) sorted by relevance

/sound/pci/trident/
Dtrident_main.c34 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,
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);
61 val = inl(TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC));
[all …]
Dtrident_memory.c22 #define __set_tlb_bus(trident,page,addr) \ argument
23 (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1))
24 #define __tlb_to_addr(trident,page) \ argument
25 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument
34 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, trident->tlb.silent_page->addr) argument
40 #define page_to_addr(trident,page) __tlb_to_addr(trident, page) argument
48 #define page_to_addr(trident,page) __tlb_to_addr(trident, (page) << 1) argument
51 static inline void set_tlb_bus(struct snd_trident *trident, int page, in set_tlb_bus() argument
55 __set_tlb_bus(trident, page, addr); in set_tlb_bus()
[all …]
Dtrident.c54 struct snd_trident *trident; in snd_trident_probe() local
66 sizeof(*trident), &card); in snd_trident_probe()
69 trident = card->private_data; in snd_trident_probe()
78 switch (trident->device) { in snd_trident_probe()
92 if (trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
99 card->shortname, trident->port, trident->irq); in snd_trident_probe()
101 err = snd_trident_pcm(trident, pcm_dev++); in snd_trident_probe()
104 switch (trident->device) { in snd_trident_probe()
107 err = snd_trident_foldback_pcm(trident, pcm_dev++); in snd_trident_probe()
112 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
[all …]
Dtrident.h36 #define TRID_REG(trident, x) ((trident)->port + (x)) argument
240 struct snd_trident * trident; member
296 struct snd_trident *trident; member
404 int snd_trident_create_gameport(struct snd_trident *trident);
406 int snd_trident_pcm(struct snd_trident *trident, int device);
407 int snd_trident_foldback_pcm(struct snd_trident *trident, int device);
408 int snd_trident_spdif_pcm(struct snd_trident *trident, int device);
409 int snd_trident_attach_synthesizer(struct snd_trident * trident);
410 struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
412 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
[all …]
DMakefile7 snd-trident-objs := trident.o trident_main.o trident_memory.o
10 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
/sound/pci/
DMakefile81 trident/ \
DKconfig851 will be called snd-trident.