Home
last modified time | relevance | path

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

/linux/sound/pci/trident/
H A Dtrident_main.c31 #include "trident.h"
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,
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
111 struct snd_trident *trident = ac97->private_data; snd_trident_codec_read() local
174 struct snd_trident *trident = ac97->private_data; snd_trident_codec_write() local
236 snd_trident_enable_eso(struct snd_trident * trident) snd_trident_enable_eso() argument
263 snd_trident_disable_eso(struct snd_trident * trident) snd_trident_disable_eso() argument
287 snd_trident_start_voice(struct snd_trident * trident,unsigned int voice) snd_trident_start_voice() argument
311 snd_trident_stop_voice(struct snd_trident * trident,unsigned int voice) snd_trident_stop_voice() argument
332 snd_trident_allocate_pcm_channel(struct snd_trident * trident) snd_trident_allocate_pcm_channel() argument
360 snd_trident_free_pcm_channel(struct snd_trident * trident,int channel) snd_trident_free_pcm_channel() argument
382 snd_trident_allocate_synth_channel(struct snd_trident * trident) snd_trident_allocate_synth_channel() argument
408 snd_trident_free_synth_channel(struct snd_trident * trident,int channel) snd_trident_free_synth_channel() argument
431 snd_trident_write_voice_regs(struct snd_trident * trident,struct snd_trident_voice * voice) snd_trident_write_voice_regs() argument
514 snd_trident_write_cso_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int CSO) snd_trident_write_cso_reg() argument
540 snd_trident_write_eso_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int ESO) snd_trident_write_eso_reg() argument
566 snd_trident_write_vol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int Vol) snd_trident_write_vol_reg() argument
597 snd_trident_write_pan_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int Pan) snd_trident_write_pan_reg() argument
619 snd_trident_write_rvol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int RVol) snd_trident_write_rvol_reg() argument
643 snd_trident_write_cvol_reg(struct snd_trident * trident,struct snd_trident_voice * voice,unsigned int CVol) snd_trident_write_cvol_reg() argument
785 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_allocate_pcm_mem() local
816 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_allocate_evoice() local
877 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_hw_free() local
908 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_playback_prepare() local
1011 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_capture_prepare() local
1120 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_si7018_capture_hw_free() local
1145 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_si7018_capture_prepare() local
1216 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_foldback_prepare() local
1295 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_spdif_hw_params() local
1359 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_spdif_prepare() local
1500 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_trigger() local
1597 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_playback_pointer() local
1636 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_capture_pointer() local
1666 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_spdif_pointer() local
1801 struct snd_trident *trident; snd_trident_pcm_free_substream() local
1811 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_playback_open() local
1839 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_playback_close() local
1860 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_spdif_open() local
1901 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_spdif_close() local
1939 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_capture_open() local
1983 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_foldback_open() local
2010 struct snd_trident *trident = snd_pcm_substream_chip(substream); snd_trident_foldback_close() local
2117 snd_trident_pcm(struct snd_trident * trident,int device) snd_trident_pcm() argument
2173 snd_trident_foldback_pcm(struct snd_trident * trident,int device) snd_trident_foldback_pcm() argument
2228 snd_trident_spdif_pcm(struct snd_trident * trident,int device) snd_trident_spdif_pcm() argument
2269 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_control_get() local
2282 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_control_put() local
2337 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_default_get() local
2351 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_default_put() local
2432 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_stream_get() local
2446 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_spdif_stream_put() local
2489 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_ac97_control_get() local
2502 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_ac97_control_put() local
2547 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_vol_control_get() local
2561 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_vol_control_put() local
2607 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_vol_control_info() local
2621 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_vol_control_get() local
2635 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_vol_control_put() local
2685 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_pan_control_get() local
2700 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_pan_control_put() local
2748 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_rvol_control_get() local
2758 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_rvol_control_put() local
2806 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_cvol_control_get() local
2816 struct snd_trident *trident = snd_kcontrol_chip(kcontrol); snd_trident_pcm_cvol_control_put() local
2860 snd_trident_notify_pcm_change(struct snd_trident * trident,struct snd_trident_pcm_mixer * tmix,int num,int activate) snd_trident_notify_pcm_change() argument
2870 snd_trident_pcm_mixer_build(struct snd_trident * trident,struct snd_trident_voice * voice,struct snd_pcm_substream * substream) snd_trident_pcm_mixer_build() argument
2888 snd_trident_pcm_mixer_free(struct snd_trident * trident,struct snd_trident_voice * voice,struct snd_pcm_substream * substream) snd_trident_pcm_mixer_free() argument
2911 snd_trident_mixer(struct snd_trident * trident,int pcm_spdif_device) snd_trident_mixer() argument
3204 snd_trident_sis_reset(struct snd_trident * trident) snd_trident_sis_reset() argument
3261 struct snd_trident *trident = entry->private_data; snd_trident_proc_read() local
3293 snd_trident_proc_init(struct snd_trident * trident) snd_trident_proc_init() argument
3314 snd_trident_tlb_alloc(struct snd_trident * trident) snd_trident_tlb_alloc() argument
3356 snd_trident_stop_all_voices(struct snd_trident * trident) snd_trident_stop_all_voices() argument
3364 snd_trident_4d_dx_init(struct snd_trident * trident) snd_trident_4d_dx_init() argument
3404 snd_trident_4d_nx_init(struct snd_trident * trident) snd_trident_4d_nx_init() argument
3462 snd_trident_sis_init(struct snd_trident * trident) snd_trident_sis_init() argument
3500 struct snd_trident *trident = card->private_data; snd_trident_create() local
3616 struct snd_trident *trident = card->private_data; snd_trident_free() local
3652 struct snd_trident *trident = dev_id; snd_trident_interrupt() local
3747 snd_trident_alloc_voice(struct snd_trident * trident,int type,int client,int port) snd_trident_alloc_voice() argument
3793 snd_trident_free_voice(struct snd_trident * trident,struct snd_trident_voice * voice) snd_trident_free_voice() argument
3821 snd_trident_clear_voices(struct snd_trident * trident,unsigned short v_min,unsigned short v_max) snd_trident_clear_voices() argument
3845 struct snd_trident *trident = card->private_data; snd_trident_suspend() local
3857 struct snd_trident *trident = card->private_data; snd_trident_resume() local
[all...]
H A 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 …]
H A 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 …]
H A 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 struct snd_trident_voice *snd_trident_alloc_voice(struct snd_trident * trident, int type,
411 void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
412 void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice);
[all …]
H A DMakefile7 snd-trident-y := trident.o trident_main.o trident_memory.o
10 obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
/linux/Documentation/sound/cards/
H A Djoystick.rst57 trident N/A N/A
78 These ALSA drivers (cs46xx, trident and au88x0) have the
/linux/sound/pci/
H A DMakefile81 trident/ \
H A DKconfig869 will be called snd-trident.
/linux/Documentation/sound/
H A Dalsa-configuration.rst2208 Module snd-trident
/linux/
H A DCREDITS363 D: trident OSS sound driver, x86-64 dma-ops and Calgary IOMMU,