Lines Matching refs:adata

178 	struct pdm_dev_data *adata;  in acp62_pdm_dma_open()  local
183 adata = dev_get_drvdata(component->dev); in acp62_pdm_dma_open()
199 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_dma_open()
202 adata->capture_stream = substream; in acp62_pdm_dma_open()
204 pdm_data->acp62_base = adata->acp62_base; in acp62_pdm_dma_open()
272 struct pdm_dev_data *adata = dev_get_drvdata(component->dev); in acp62_pdm_dma_close() local
275 acp62_disable_pdm_interrupts(adata->acp62_base); in acp62_pdm_dma_close()
276 adata->capture_stream = NULL; in acp62_pdm_dma_close()
353 struct pdm_dev_data *adata; in acp62_pdm_audio_probe() local
362 adata = devm_kzalloc(&pdev->dev, sizeof(*adata), GFP_KERNEL); in acp62_pdm_audio_probe()
363 if (!adata) in acp62_pdm_audio_probe()
366 adata->acp62_base = devm_ioremap(&pdev->dev, res->start, resource_size(res)); in acp62_pdm_audio_probe()
367 if (!adata->acp62_base) in acp62_pdm_audio_probe()
370 adata->capture_stream = NULL; in acp62_pdm_audio_probe()
372 dev_set_drvdata(&pdev->dev, adata); in acp62_pdm_audio_probe()
396 struct pdm_dev_data *adata; in acp62_pdm_resume() local
401 adata = dev_get_drvdata(dev); in acp62_pdm_resume()
402 if (adata->capture_stream && adata->capture_stream->runtime) { in acp62_pdm_resume()
403 runtime = adata->capture_stream->runtime; in acp62_pdm_resume()
409 period_bytes, adata->acp62_base); in acp62_pdm_resume()
411 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_resume()
417 struct pdm_dev_data *adata; in acp62_pdm_suspend() local
419 adata = dev_get_drvdata(dev); in acp62_pdm_suspend()
420 acp62_disable_pdm_interrupts(adata->acp62_base); in acp62_pdm_suspend()
426 struct pdm_dev_data *adata; in acp62_pdm_runtime_resume() local
428 adata = dev_get_drvdata(dev); in acp62_pdm_runtime_resume()
429 acp62_enable_pdm_interrupts(adata->acp62_base); in acp62_pdm_runtime_resume()