linux_dsm_epyc7002/sound/firewire/dice
Takashi Sakamoto 6eb6c81eee ALSA: dice: Split stream functionality into a file
This commit adds a file with some helper functions for streaming, and move some
codes into the file with some arrangements.

Well-known CMP is not used to start/stop streams for Dice chipset. It's
achieved by writing to specific address. We call this way as 'enable'.
When devices are 'enabled', streaming starts in registered isochronous channel.
Some helper functions are already implemented in previous commit.

Basically, the stream is compliant to IEC 61883-6, so-called as AMDTP. But Dice
has a specific quirk, so called-as 'Dual Wire'. This quirk is applied at
176.4/192.0kHz. In this mode, each packet includes double number of events than
number in the specification, and stream runs at a half of sampling rate.

There is another quirk at bus reset. Dice chipset handles drivers' request but
don't re-enable streaming. So stream should be stopped.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-11-29 20:07:33 +01:00
..
dice-interface.h ALSA: dice: Move file to its own directory 2014-11-29 20:03:45 +01:00
dice-stream.c ALSA: dice: Split stream functionality into a file 2014-11-29 20:07:33 +01:00
dice-transaction.c ALSA: dice: Split transaction functionality into a file 2014-11-29 20:04:15 +01:00
dice.c ALSA: dice: Split stream functionality into a file 2014-11-29 20:07:33 +01:00
dice.h ALSA: dice: Split stream functionality into a file 2014-11-29 20:07:33 +01:00
Makefile ALSA: dice: Split stream functionality into a file 2014-11-29 20:07:33 +01:00