Home
last modified time | relevance | path

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

/drivers/staging/greybus/
Daudio_codec.c48 int module_state, ret = 0; in gbaudio_module_enable_tx() local
61 module_state = data->state[SNDRV_PCM_STREAM_PLAYBACK]; in gbaudio_module_enable_tx()
70 if (module_state < GBAUDIO_CODEC_STARTUP) { in gbaudio_module_enable_tx()
85 if (module_state < GBAUDIO_CODEC_HWPARAMS) { in gbaudio_module_enable_tx()
102 if (module_state < GBAUDIO_CODEC_PREPARE) { in gbaudio_module_enable_tx()
129 int module_state; in gbaudio_module_disable_tx() local
138 module_state = data->state[SNDRV_PCM_STREAM_PLAYBACK]; in gbaudio_module_disable_tx()
140 if (module_state > GBAUDIO_CODEC_HWPARAMS) { in gbaudio_module_disable_tx()
153 if (module_state > GBAUDIO_CODEC_SHUTDOWN) { in gbaudio_module_disable_tx()
174 int module_state, ret = 0; in gbaudio_module_enable_rx() local
[all …]