Home
last modified time | relevance | path

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

/Linux-v5.10/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,
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 …]
Dtrident_memory.c22 #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 …]
Dtrident.c66 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 …]
Dtrident.h36 #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 …]
DMakefile7 snd-trident-objs := trident.o trident_main.o trident_memory.o
10 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
/Linux-v5.10/Documentation/sound/cards/
Djoystick.rst57 trident N/A N/A
78 These ALSA drivers (cs46xx, trident and au88x0) have the
/Linux-v5.10/Documentation/translations/zh_CN/process/
Dmagic-number.rst112 TRIDENT_CARD_MAGIC 0x5072696E trident_card ``sound/oss/trident.c``
122 TRIDENT_STATE_MAGIC 0x63657373 trient_state ``sound/oss/trident.c``
/Linux-v5.10/sound/pci/
DMakefile81 trident/ \
DKconfig850 will be called snd-trident.
/Linux-v5.10/Documentation/process/
Dmagic-number.rst123 TRIDENT_CARD_MAGIC 0x5072696E trident_card ``sound/oss/trident.c``
133 TRIDENT_STATE_MAGIC 0x63657373 trient_state ``sound/oss/trident.c``
/Linux-v5.10/Documentation/translations/it_IT/process/
Dmagic-number.rst129 TRIDENT_CARD_MAGIC 0x5072696E trident_card ``sound/oss/trident.c``
139 TRIDENT_STATE_MAGIC 0x63657373 trient_state ``sound/oss/trident.c``
/Linux-v5.10/Documentation/sound/
Dalsa-configuration.rst2176 Module snd-trident
/Linux-v5.10/
DCREDITS340 D: trident OSS sound driver, x86-64 dma-ops and Calgary IOMMU,