Lines Matching refs:adata

178 	struct pdm_dev_data *adata;  in acp6x_pdm_dma_open()  local
183 adata = dev_get_drvdata(component->dev); in acp6x_pdm_dma_open()
199 acp6x_enable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_open()
202 adata->capture_stream = substream; in acp6x_pdm_dma_open()
204 pdm_data->acp6x_base = adata->acp6x_base; in acp6x_pdm_dma_open()
271 struct pdm_dev_data *adata = dev_get_drvdata(component->dev); in acp6x_pdm_dma_close() local
273 acp6x_disable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_dma_close()
274 adata->capture_stream = NULL; in acp6x_pdm_dma_close()
350 struct pdm_dev_data *adata; in acp6x_pdm_audio_probe() local
359 adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL); in acp6x_pdm_audio_probe()
360 if (!adata) in acp6x_pdm_audio_probe()
363 adata->acp6x_base = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in acp6x_pdm_audio_probe()
364 if (!adata->acp6x_base) in acp6x_pdm_audio_probe()
367 adata->capture_stream = NULL; in acp6x_pdm_audio_probe()
369 dev_set_drvdata(&pdev->dev, adata); in acp6x_pdm_audio_probe()
393 struct pdm_dev_data *adata; in acp6x_pdm_resume() local
398 adata = dev_get_drvdata(dev); in acp6x_pdm_resume()
399 if (adata->capture_stream && adata->capture_stream->runtime) { in acp6x_pdm_resume()
400 runtime = adata->capture_stream->runtime; in acp6x_pdm_resume()
406 period_bytes, adata->acp6x_base); in acp6x_pdm_resume()
408 acp6x_enable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_resume()
414 struct pdm_dev_data *adata; in acp6x_pdm_suspend() local
416 adata = dev_get_drvdata(dev); in acp6x_pdm_suspend()
417 acp6x_disable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_suspend()
423 struct pdm_dev_data *adata; in acp6x_pdm_runtime_resume() local
425 adata = dev_get_drvdata(dev); in acp6x_pdm_runtime_resume()
426 acp6x_enable_pdm_interrupts(adata->acp6x_base); in acp6x_pdm_runtime_resume()