Home
last modified time | relevance | path

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

/linux-4.4.14/sound/pci/trident/
Dtrident_main.c48 static int snd_trident_pcm_mixer_build(struct snd_trident *trident,
51 static int snd_trident_pcm_mixer_free(struct snd_trident *trident,
55 static int snd_trident_sis_reset(struct snd_trident *trident);
57 static void snd_trident_clear_voices(struct snd_trident * trident,
59 static int snd_trident_free(struct snd_trident *trident);
67 static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice)
71 dev_dbg(trident->card->dev, "Trident voice %i:\n", voice);
72 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
73 val = inl(TRID_REG(trident, CH_LBA));
74 dev_dbg(trident->card->dev, "LBA: 0x%x\n", val);
[all …]
Dtrident_memory.c37 #define __set_tlb_bus(trident,page,ptr,addr) \ argument
38 do { (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1)); \
39 (trident)->tlb.shadow_entries[page] = (ptr); } while (0)
40 #define __tlb_to_ptr(trident,page) \ argument
41 (void*)((trident)->tlb.shadow_entries[page])
42 #define __tlb_to_addr(trident,page) \ argument
43 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
50 #define set_tlb_bus(trident,page,ptr,addr) __set_tlb_bus(trident,page,ptr,addr) argument
52 #define set_silent_tlb(trident,page) __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silen… argument
58 #define page_to_ptr(trident,page) __tlb_to_ptr(trident, page) argument
[all …]
Dtrident.c81 struct snd_trident *trident; in snd_trident_probe() local
101 &trident)) < 0) { in snd_trident_probe()
105 card->private_data = trident; in snd_trident_probe()
107 switch (trident->device) { in snd_trident_probe()
121 if (trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
128 card->shortname, trident->port, trident->irq); in snd_trident_probe()
130 if ((err = snd_trident_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe()
134 switch (trident->device) { in snd_trident_probe()
137 if ((err = snd_trident_foldback_pcm(trident, pcm_dev++)) < 0) { in snd_trident_probe()
143 if (trident->device == TRIDENT_DEVICE_ID_NX || trident->device == TRIDENT_DEVICE_ID_SI7018) { in snd_trident_probe()
[all …]
Dtrident.h51 #define TRID_REG(trident, x) ((trident)->port + (x)) argument
255 struct snd_trident * trident; member
312 struct snd_trident *trident; member
421 int snd_trident_create_gameport(struct snd_trident *trident);
423 int snd_trident_pcm(struct snd_trident *trident, int device);
424 int snd_trident_foldback_pcm(struct snd_trident *trident, int device);
425 int snd_trident_spdif_pcm(struct snd_trident *trident, int device);
426 int snd_trident_attach_synthesizer(struct snd_trident * trident);
427 struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
429 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
[all …]
DMakefile6 snd-trident-objs := trident.o trident_main.o trident_memory.o
9 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
/linux-4.4.14/Documentation/sound/alsa/
DJoystick.txt53 trident N/A N/A
73 These ALSA drivers (cs46xx, trident and au88x0) have the
Dalsa-parameters.txt125 snd-trident= [HW,ALSA]
DALSA-Configuration.txt1871 Module snd-trident
/linux-4.4.14/sound/pci/
DMakefile80 trident/ \
DKconfig841 will be called snd-trident.
/linux-4.4.14/Documentation/zh_CN/
Dmagic-number.txt117 TRIDENT_CARD_MAGIC 0x5072696E trident_card sound/oss/trident.c
127 TRIDENT_STATE_MAGIC 0x63657373 trient_state sound/oss/trident.c
/linux-4.4.14/Documentation/
Dmagic-number.txt117 TRIDENT_CARD_MAGIC 0x5072696E trident_card sound/oss/trident.c
127 TRIDENT_STATE_MAGIC 0x63657373 trient_state sound/oss/trident.c
/linux-4.4.14/
DCREDITS336 D: trident OSS sound driver, x86-64 dma-ops and Calgary IOMMU,