Home
last modified time | relevance | path

Searched refs:spdif (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.6.39/sound/soc/samsung/
Dspdif.c108 static void spdif_snd_txctrl(struct samsung_spdif_info *spdif, int on) in spdif_snd_txctrl() argument
110 void __iomem *regs = spdif->regs; in spdif_snd_txctrl()
113 dev_dbg(spdif->dev, "Entered %s\n", __func__); in spdif_snd_txctrl()
125 struct samsung_spdif_info *spdif = to_info(cpu_dai); in spdif_set_sysclk() local
128 dev_dbg(spdif->dev, "Entered %s\n", __func__); in spdif_set_sysclk()
130 clkcon = readl(spdif->regs + CLKCON); in spdif_set_sysclk()
137 writel(clkcon, spdif->regs + CLKCON); in spdif_set_sysclk()
139 spdif->clk_rate = freq; in spdif_set_sysclk()
148 struct samsung_spdif_info *spdif = to_info(rtd->cpu_dai); in spdif_trigger() local
151 dev_dbg(spdif->dev, "Entered %s\n", __func__); in spdif_trigger()
[all …]
DMakefile7 snd-soc-samsung-spdif-objs := spdif.o
16 obj-$(CONFIG_SND_SAMSUNG_SPDIF) += snd-soc-samsung-spdif.o
36 snd-soc-smdk-spdif-objs := smdk_spdif.o
52 obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_SPDIF) += snd-soc-smdk-spdif.o
/linux-2.6.39/sound/pci/ice1712/
Ddelta.c214 snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in delta_spdif_default_get()
224 change = ice->spdif.cs8403_bits != val; in delta_spdif_default_put()
225 ice->spdif.cs8403_bits = val; in delta_spdif_default_put()
237 snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in delta_spdif_stream_get()
247 change = ice->spdif.cs8403_stream_bits != val; in delta_spdif_stream_put()
248 ice->spdif.cs8403_stream_bits = val; in delta_spdif_stream_put()
391 ice->spdif.cs8403_stream_bits = ice->spdif.cs8403_bits; in delta_open_spdif()
402 tmp = ice->spdif.cs8403_stream_bits; in delta_setup_spdif()
411 change = ice->spdif.cs8403_stream_bits != tmp; in delta_setup_spdif()
412 ice->spdif.cs8403_stream_bits = tmp; in delta_setup_spdif()
[all …]
Dews.c268 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in ews88_spdif_default_get()
278 change = ice->spdif.cs8403_bits != val; in ews88_spdif_default_put()
279 ice->spdif.cs8403_bits = val; in ews88_spdif_default_put()
291 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in ews88_spdif_stream_get()
301 change = ice->spdif.cs8403_stream_bits != val; in ews88_spdif_stream_put()
302 ice->spdif.cs8403_stream_bits = val; in ews88_spdif_stream_put()
316 ice->spdif.cs8403_stream_bits = ice->spdif.cs8403_bits; in ews88_open_spdif()
327 tmp = ice->spdif.cs8403_stream_bits; in ews88_setup_spdif()
336 change = ice->spdif.cs8403_stream_bits != tmp; in ews88_setup_spdif()
337 ice->spdif.cs8403_stream_bits = tmp; in ews88_setup_spdif()
[all …]
Dice1712.c401 ice->spdif.ops.open = open_cs8427; in snd_ice1712_init_cs8427()
402 ice->spdif.ops.close = close_cs8427; in snd_ice1712_init_cs8427()
403 ice->spdif.ops.setup_rate = setup_cs8427; in snd_ice1712_init_cs8427()
1060 if (ice->spdif.ops.setup_rate) in snd_ice1712_set_pro_rate()
1061 ice->spdif.ops.setup_rate(ice, rate); in snd_ice1712_set_pro_rate()
1188 if (ice->spdif.ops.open) in snd_ice1712_playback_pro_open()
1189 ice->spdif.ops.open(ice, substream); in snd_ice1712_playback_pro_open()
1219 if (ice->spdif.ops.close) in snd_ice1712_playback_pro_close()
1220 ice->spdif.ops.close(ice, substream); in snd_ice1712_playback_pro_close()
1665 if (ice->spdif.ops.default_get) in snd_ice1712_spdif_default_get()
[all …]
Dice1724.c713 if (ice->spdif.ops.setup_rate) in snd_vt1724_set_pro_rate()
714 ice->spdif.ops.setup_rate(ice, rate); in snd_vt1724_set_pro_rate()
1211 if (ice->spdif.ops.open) in snd_vt1724_playback_spdif_open()
1212 ice->spdif.ops.open(ice, substream); in snd_vt1724_playback_spdif_open()
1223 if (ice->spdif.ops.close) in snd_vt1724_playback_spdif_close()
1224 ice->spdif.ops.close(ice, substream); in snd_vt1724_playback_spdif_close()
1247 if (ice->spdif.ops.open) in snd_vt1724_capture_spdif_open()
1248 ice->spdif.ops.open(ice, substream); in snd_vt1724_capture_spdif_open()
1259 if (ice->spdif.ops.close) in snd_vt1724_capture_spdif_close()
1260 ice->spdif.ops.close(ice, substream); in snd_vt1724_capture_spdif_close()
[all …]
Dice1712.h349 struct snd_ice1712_spdif spdif; member
Djuli.c653 ice->spdif.ops.open = juli_spdif_in_open; in juli_init()
Dquartet.c1048 ice->spdif.ops.open = ice->pro_open = qtet_spdif_in_open; in qtet_init()
/linux-2.6.39/sound/pci/ac97/
Dac97_pcm.c165 if (pcm->spdif) in get_slot_reg()
487 rpcm->spdif = pcm->spdif; in snd_ac97_pcm_assign()
496 if (pcm->spdif && pcm->stream == 0) in snd_ac97_pcm_assign()
/linux-2.6.39/sound/soc/sh/
Dsiu_dai.c65 u32 spdif; member
81 .spdif = 0x80000000, /* not on all SIU versions */
87 .spdif = 0x08000000,
95 .spdif = 0, /* impossible - turn off */
101 .spdif = 0, /* impossible - turn off */
/linux-2.6.39/include/sound/
Dtrident.h317 spdif: 1, member
396 struct snd_pcm *spdif; /* SPDIF PCM */ member
Dac97_codec.h629 spdif: 1; /* spdif pcm */ member
/linux-2.6.39/sound/pci/trident/
Dtrident_main.c1591 if (voice->spdif) in snd_trident_trigger()
1913 voice->spdif = 1; in snd_trident_spdif_open()
2291 struct snd_pcm *spdif; in snd_trident_spdif_pcm() local
2296 if ((err = snd_pcm_new(trident->card, "trident_dx_nx IEC958", device, 1, 0, &spdif)) < 0) in snd_trident_spdif_pcm()
2299 spdif->private_data = trident; in snd_trident_spdif_pcm()
2301 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_ops); in snd_trident_spdif_pcm()
2303 snd_pcm_set_ops(spdif, SNDRV_PCM_STREAM_PLAYBACK, &snd_trident_spdif_7018_ops); in snd_trident_spdif_pcm()
2305 spdif->info_flags = 0; in snd_trident_spdif_pcm()
2306 strcpy(spdif->name, "Trident 4DWave IEC958"); in snd_trident_spdif_pcm()
2307 trident->spdif = spdif; in snd_trident_spdif_pcm()
[all …]
/linux-2.6.39/sound/soc/codecs/
DMakefile27 snd-soc-spdif-objs := spdif_transciever.o
115 obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif.o
/linux-2.6.39/sound/pci/
Dens1370.c95 static int spdif[SNDRV_CARDS]; variable
115 module_param_array(spdif, int, NULL, 0444);
116 MODULE_PARM_DESC(spdif, "S/PDIF output (-1 = none, 0 = auto, 1 = force).");
432 unsigned int spdif; member
1136 if (ensoniq->spdif && ensoniq->playback2_substream == NULL) in snd_ensoniq_playback1_open()
1159 if (ensoniq->spdif && ensoniq->playback1_substream == NULL) in snd_ensoniq_playback2_open()
2446 if ((err = snd_ensoniq_1371_mixer(ensoniq, spdif[dev], lineio[dev])) < 0) { in snd_audiopci_probe()
Drme32.c997 int spdif = 0; in snd_rme32_playback_close() local
1002 spdif = (rme32->wcreg & RME32_WCR_ADAT) == 0; in snd_rme32_playback_close()
1004 if (spdif) { in snd_rme32_playback_close()
Drme96.c1288 int spdif = 0; in snd_rme96_playback_close() local
1296 spdif = (rme96->wcreg & RME96_WCR_ADAT) == 0; in snd_rme96_playback_close()
1298 if (spdif) { in snd_rme96_playback_close()
Datiixp.c1213 .spdif = 1,
/linux-2.6.39/arch/arm/mach-tcc8k/
Dclock.c438 DEFINE_ACLOCK(spdif, BCLKCTR1, 2, ACLKSPDIF)
510 _REGISTER_CLOCK(NULL, "spdif", spdif)
/linux-2.6.39/sound/pci/ali5451/
Dali5451.c51 static int spdif; variable
59 module_param(spdif, bool, 0444);
60 MODULE_PARM_DESC(spdif, "Support SPDIF I/O");
2255 err = snd_ali_create(card, pci, pcm_channels, spdif, &codec); in snd_ali_probe()
/linux-2.6.39/firmware/
DMakefile108 emi62/spdif.fw emi62/midi.fw
DWHENCE228 File: emi62/spdif.fw
/linux-2.6.39/Documentation/sound/alsa/
DCMIPCI.txt111 (hw:0,2). Usually this is assigned to the PCM device "spdif".
/linux-2.6.39/sound/aoa/codecs/
Donyx.c433 SINGLE_BIT(spdif,

12