Lines Matching refs:snd_dev
17 static struct sound_device snd_dev; variable
27 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
35 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
44 rt_audio_tx_complete(&snd_dev.audio); in thread_simulate_intr()
110 info->buffer = snd_dev.tx_fifo; in player_device_buffer_info()
136 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()
140 snd_dev.config.samplerate = PLAYER_SAMPLERATE; in rt_hw_sound_init()
141 snd_dev.config.channels = PLAYER_CHANNEL; in rt_hw_sound_init()
142 snd_dev.config.samplebits = PLAYER_SAMPLEBITS; in rt_hw_sound_init()
143 snd_dev.volume = PLAYER_VOLUME; in rt_hw_sound_init()
146 snd_dev.audio.ops = &audio_ops; in rt_hw_sound_init()
147 rt_audio_register(&snd_dev.audio, SOUND_PLAYER_DEVICE_NAME, RT_DEVICE_FLAG_WRONLY, &snd_dev); in rt_hw_sound_init()