Searched refs:snd_dev (Results 1 – 9 of 9) sorted by relevance
33 static struct sound_device snd_dev = {0}; variable115 rt_sem_release(snd_dev.semaphore); in audio_sem_post()270 snd_dev->volume = volume; in sound_configure()357 saia_volume_set(snd_dev->volume); in sound_init()466 if ((snd_dev.dma_to_aubuf == RT_FALSE) && (snd_dev.audio.replay->activated == RT_TRUE)) { in audio_thread_entry()486 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()495 snd_dev.rx_fifo = rx_fifo; in rt_hw_sound_init()498 if (snd_dev.semaphore == RT_NULL) in rt_hw_sound_init()512 if (snd_dev.thread != RT_NULL) in rt_hw_sound_init()526 snd_dev.audio.ops = &ops; in rt_hw_sound_init()[all …]
31 static struct sound_device snd_dev = {0}; variable44 struct sound_device *snd_dev; in sound_getcaps() local128 struct sound_device *snd_dev; in sound_configure() local144 snd_dev->volume = volume; in sound_configure()222 struct sound_device *snd_dev; in sound_init() local232 _cfg.vol = snd_dev->volume; in sound_init()275 struct sound_device *snd_dev; in sound_buffer_info() local318 if (snd_dev.tx_fifo) in rt_hw_audio_init()325 snd_dev.tx_fifo = tx_fifo; in rt_hw_audio_init()336 snd_dev.audio.ops = &snd_ops; in rt_hw_audio_init()[all …]
53 static struct sound_device snd_dev; variable61 rt_audio_tx_complete(&snd_dev->audio); in i2s_tx_transfer_callback()150 struct sound_device *snd_dev; in lpc_audio_getcaps() local245 snd_dev->volume = 0; in lpc_audio_configure()254 snd_dev->volume = volume; in lpc_audio_configure()321 info->buffer = snd_dev.tx_fifo; in lpc_audio_buffer_info()347 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()352 snd_dev.replay_config.channels = 2; in rt_hw_sound_init()353 snd_dev.replay_config.samplebits = 16; in rt_hw_sound_init()357 snd_dev.audio.ops = &audio_ops; in rt_hw_sound_init()[all …]
29 static struct sound_device snd_dev = {0}; variable236 struct sound_device *snd_dev; in sound_getcaps() local320 struct sound_device *snd_dev; in sound_configure() local336 snd_dev->volume = volume; in sound_configure()409 struct sound_device *snd_dev; in sound_init() local426 struct sound_device *snd_dev; in sound_start() local457 struct sound_device *snd_dev; in sound_buffer_info() local490 if (snd_dev.tx_fifo) in rt_hw_sound_init()497 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()508 snd_dev.audio.ops = &snd_ops; in rt_hw_sound_init()[all …]
277 struct sound_device *snd_dev; in sound_init() local280 snd_dev = (struct sound_device *)audio->parent.user_data; in sound_init()
46 static struct sound_device snd_dev = {0}; variable145 struct sound_device *snd_dev; in sound_getcaps() local229 struct sound_device *snd_dev; in sound_configure() local246 snd_dev->volume = volume; in sound_configure()320 struct sound_device *snd_dev; in sound_init() local336 rt_device_init(snd_dev->decoder); in sound_init()350 struct sound_device *snd_dev; in sound_start() local416 snd_dev.tx_fifo = AUDIO_TX_FIFO; in rt_hw_sound_init()426 if (snd_dev.decoder == RT_NULL) in rt_hw_sound_init()433 snd_dev.audio.ops = &snd_ops; in rt_hw_sound_init()[all …]
29 static struct sound_device snd_dev = {0}; variable180 struct sound_device *snd_dev; in sound_getcaps() local264 struct sound_device *snd_dev; in sound_configure() local280 snd_dev->volume = volume; in sound_configure()353 struct sound_device *snd_dev; in sound_init() local370 struct sound_device *snd_dev; in sound_start() local401 struct sound_device *snd_dev; in sound_buffer_info() local434 if (snd_dev.tx_fifo) in rt_hw_sound_init()441 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()452 snd_dev.audio.ops = &snd_ops; in rt_hw_sound_init()[all …]
42 static struct sound_device snd_dev = {0}; variable306 struct sound_device *snd_dev; in sound_getcaps() local390 struct sound_device *snd_dev; in sound_configure() local407 snd_dev->volume = volume; in sound_configure()481 struct sound_device *snd_dev; in sound_init() local505 struct sound_device *snd_dev; in sound_start() local544 struct sound_device *snd_dev; in sound_buffer_info() local556 info->buffer = snd_dev->tx_fifo; in sound_buffer_info()579 snd_dev.tx_fifo = AUDIO_TX_FIFO; in rt_hw_sound_init()588 snd_dev.audio.ops = &snd_ops; in rt_hw_sound_init()[all …]
22 static rt_device_t snd_dev; variable101 snd_dev = rt_device_find(SOUND_DEVICE_NAME); in wavplay_sample()103 rt_device_open(snd_dev, RT_DEVICE_OFLAG_WRONLY); in wavplay_sample()110 rt_device_control(snd_dev, AUDIO_CTL_CONFIGURE, &caps); in wavplay_sample()121 rt_device_write(snd_dev, 0, buffer, length); in wavplay_sample()124 rt_device_close(snd_dev); in wavplay_sample()
Completed in 22 milliseconds