Searched refs:ad (Results 1 – 2 of 2) sorted by relevance
59 struct hdmi_audio_data *ad = dev_get_drvdata(dev); in hdmi_dai_abort() local61 mutex_lock(&ad->current_stream_lock); in hdmi_dai_abort()62 if (ad->current_stream && ad->current_stream->runtime && in hdmi_dai_abort()63 snd_pcm_running(ad->current_stream)) { in hdmi_dai_abort()65 snd_pcm_stream_lock_irq(ad->current_stream); in hdmi_dai_abort()66 snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED); in hdmi_dai_abort()67 snd_pcm_stream_unlock_irq(ad->current_stream); in hdmi_dai_abort()69 mutex_unlock(&ad->current_stream_lock); in hdmi_dai_abort()75 struct hdmi_audio_data *ad = card_drvdata_substream(substream); in hdmi_dai_startup() local96 snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); in hdmi_dai_startup()[all …]
910 unsigned int ad; in hdsp_write_gain() local945 ad = addr/2; in hdsp_write_gain()947 hdsp_write (hdsp, 4096 + (ad*4), in hdsp_write_gain()955 ad = (addr << 16) + data; in hdsp_write_gain()960 hdsp_write (hdsp, HDSP_fifoData, ad); in hdsp_write_gain()